タグ

DOMに関するyaoki_dokidokiのブックマーク (2)

  • Master the DOM

    IntroductionMany web developers think the DOM is really difficult (or slow) and you need a huge framework to tame it. Then they invest a lot of their time to learn the framework. A year or two passes, another framework becomes popular and you need to learn everything from scratch. Repeat this a couple more times and JavaScript fatigue is born. Not to mention a huge pile of dependencies. What if I

    Master the DOM
  • オブジェクトモデルの構築  |  Articles  |  web.dev

    オブジェクトモデルの構築 コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。 公開日: 2014 年 3 月 31 日 ブラウザがページをレンダリングするには、DOM ツリーと CSSOM ツリーを構築する必要があります。そのため、HTMLCSS の両方をできるだけ早くブラウザに配信する必要があります。 概要 バイト → 文字 → トークン → ノード → オブジェクトモデル。 HTML マークアップはドキュメント オブジェクト モデル(DOM)に変換され、CSS マークアップは CSS オブジェクト モデル(CSSOM)に変換されます。 DOM と CSSOM は独立したデータ構造です。 Chrome DevTools の [パフォーマンス] パネルでは、DOM と CSSOM の作成と処理のコストをキャプチャして検査できます。 ドキュメント オブジェ

  • 1