~/talk

Future CSS in Web Components

Talkat CSSConf EU 2013 · on Friday, 2013-09-13· [css, web-platform]
slides:none on file

Web Components promise real encapsulation: create a shadow root with createShadowRoot and inject markup that the browser hides today (video controls are an example), use <template> inert and HTML imports to share fragments, register custom elements (vunda-bar style) with a required hyphen, and expose styling via var(--name) custom properties plus the part attribute for selective styling. Chrome Canary, Opera, Safari flags and Firefox nightly already implement pieces, and the Polymer polyfill both ships working widgets and shapes the standard.

AI-written summary · about

  1. 0:00Start
  2. 1:41Before we start
  3. 6:01Shadow root
  4. 6:35Shadow DOM
  5. 7:30The problem
  6. 9:19Encapsulation in HTML
  7. 9:39Better encapsulation
  8. 10:06Web Components the biggest change to web
  9. 10:49Mustache & Handlebars
  10. 12:12The template element
  11. 12:30The content object
  12. 14:06Templates
  13. 15:21Custom Elements
  14. 18:29Scoped styles
  15. 19:42Shadow scope
  16. 20:02The shadow boundary
  17. 20:51applyAuthor Styles
  18. 21:51Pseudo-elements
  19. 22:32The part attribute
  20. 23:52Custom properties
  21. 27:15The decorator element
  22. 28:00Decorators
  23. 28:40Browser support
  24. 31:19Useful links
~/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.