~/talk

3.14 Things I Didn't Know About CSS

Talkat CSSconf EU 2014 · on Friday, 2014-09-12· [css, security]
slides:none on file

Shows concrete surprises and working demos: replicating !important by repeating a class, faking single-line comments by sending invalid property names, and building a CSS-only mini game that uses the Link HTTP header and the content property to render with almost no HTML; provides a utility and mentions the css.escape polyfill for selecting weird IDs; demonstrates data exfiltration by brute‑forcing attributes with attribute selectors and warns that CSS expressions re-enabled via IE document mode and iframe hosting let JavaScript run from CSS, and that Firefox can execute javascript: backgrounds causing crashes.

AI-written summary · about

  1. 0:00Intro
  2. 2:25New !important best practice
  3. 2:57CSS comments
  4. 5:34Valid HTML
  5. 8:25CSS without HTML
  6. 10:11Classes and IDs in HTML
  7. 11:32Escaping CSS selectors
  8. 15:15Injection contexts
  9. 19:51Stealing data from the DOM
  10. 22:21IE's legacy document modes
  11. 22:59CSS Expressions in IE s 10
  12. 24:24How to avoid CSS expression vulnerabilities?
  13. 25:45Freezing Firefox
  14. 27:14What band is this?
  15. 27:29What song is this?
~/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.