7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chromeでブラウザが定義している要素のShadow DOMを表示する

Posted at

最近のChromeだとvideo要素のコントローラーとかprogress要素なんかはShadow DOMで実装されているらしく、Dev Toolsの設定で「Show user agent shadow DOM」にチェックを入れるとその内部構造を見ることができる。

例えばvideo要素だとこんな感じ。

shadow.png

バージョン: 36.0.1927.2 canary

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?