Code Monkey home page Code Monkey logo

frontend-expert's People

Contributors

b4h0-c4t avatar bookman0001 avatar dependabot[bot] avatar mugi-uno avatar nakajmg avatar nus3 avatar sajikix avatar sakit0 avatar shisama avatar smorimoto avatar sosukesuzuki avatar yukukotani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

frontend-expert's Issues

[Suggestion]HTMLへのlang属性追加

Suggestion

  • lang属性を追加することで属性に応じて読み上げ言語を切り替えてくれるスクリーンリーダーに対応できます。
  • Lighthouseからのアクセシビリティでの警告が消えます。

Chrome 96リリースノートまとめ: Support calc(`<number>`) where only accepts `<integer>`の例が例になっていない

https://cybozu.github.io/frontend-expert/posts/release-chrome-96

このエントリの一部なのですが、

### Support calc(`<number>`) where only accepts `<integer>`
cssの`calc()`関数でintegerしか受け取らないような場所でもnumberを指定できるようになりました。
もっとも近い整数に丸められます。
例えば、下記はいずれも`width: 0px`と同義です。
```css
.example {
width: calc(5px - 10px);
width: calc(-5px);
width: 0px;
}
```

cssのcalc()関数でintegerしか受け取らないような場所でもnumberを指定できるようになりました。
もっとも近い整数に丸められます。

この説明はあっているのですが

例えば、下記はいずれもwidth: 0pxと同義です。

.example {
    width: calc(5px - 10px);
    width: calc(-5px);
    width: 0px;
}

この例はそれを説明していません(width<length-percentage>系の値をとって<length>に解決するので、<integer><number>はとらない)。
たぶん仕様書からひっぱってきたものと思うんですが、これはnumberをintegerにまるめる仕様の例ではないんですよね。

ブログページを作る

  • ページをつくる
  • 記事の見た目
    • 文書スタイル
    • シンタックスハイライト
  • 記事ごとにURL生成される
  • 記事の情報を取得
  • OGP対応

RSSフィードの&がエスケープされていない

はじめまして、こちらのサイトのRSSフィードを購読しようとしたところエラーが発生しました。
https://cybozu.github.io/frontend-expert/feeds/atom.xml のURLをChromeで直接開いたところ、

error on line 1 at column 2412: EntityRef: expecting ';'

と表示されましたのでおそらくこちらの記事タイトルに含まれる&がエスケープされておらずエラーになっていると考えられます。
https://github.com/cybozu/frontend-expert/blob/main/data/posts/frontendWeekly-And-Monthly.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.