~/talk

Inspector Web and the Mystery of the Shadow DOM

Talkat JSConf EU 2012 · 2012-10-06..10-07· [web-platform, javascript]
slides:none on file

Claims that Shadow DOM gives true encapsulation for reusable widgets and demonstrates it practically: use Chrome Canary with the Dimitri Glazkov polyfill, manipulate shadowRoot, content and shadow tags, and the template/is pattern to declaratively mount components. Built a news component that remixes a messy UL into separated breaking and other lists; native elements (video, input range) already use nested shadow DOMs. Works as a live prototype but creation is experimental in browsers and needs polyfills for production use.

AI-written summary · about

  1. 0:00Start
  2. 1:01How Do We Currently Build Websites and Web Applications
  3. 3:28Shadow Dom
  4. 4:10The Web Inspector
  5. 5:34Nested Shadow Dom
  6. 6:19Create Minimal Shadow
  7. 9:18Content Tag
  8. 12:00Tags Template and Elements
  9. 12:52Comment Template
  10. 14:38Custom Html Element
  11. 15:50Custom Element
  12. 16:35Extending the Unordered List
  13. 17:40How Does the Browser Know Which Elements To Put In in each Div and each Unordered List
  14. 18:14The Select Attribute
  15. 20:58Css Selectors and Specificity
  16. 21:25Apply Author Styles
  17. 21:56Reset Style Inheritance
  18. 24:51Webkit Prefix Tiles
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.