~/talk

Ten things I didn't know about HTML

Talkat ArrrrCamp 2013 · 2013-10-03..10-04· [web-platform, javascript, css]
slides:none on file

Browsers parse legacy color strings per the HTML5 spec so weird inputs like names or omitted # yield deterministic hex colors; semicolons in entities are sometimes optional but can change parsing in attributes; html and head end tags are optional and the browser will auto‑create them; an entirely empty response can still render styled content via the Link header plus CSS content on a pseudo element; JavaScript strings use surrogate pairs so length can be >1 for a single symbol; document.all is intentionally falsy; use benchmark.js and jsperf for robust timing and cross‑browser comparison.

AI-written summary · about

  1. 0:00Start
  2. 1:16Background colors
  3. 6:09DTD fail
  4. 7:15Take-away
  5. 9:41Character references
  6. 11:49Valid HTML
  7. 15:06CSS
  8. 16:45Attribute values
  9. 18:03JavaScript string length
  10. 18:18String length char count
  11. 18:45Surrogate pairs
  12. 19:02JS string character count
  13. 19:42Which is invalid?
  14. 20:40JS variable names
  15. 21:49"All objects are truthy" except in the DOM...
  16. 22:13But... Why?
  17. 25:12Benchmark.js
~/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.