~/talk

The Mobile Viewports

Talkat CSS Day 2014 · on Wednesday, 2014-06-04· [web-platform, css]
slides:none on file

Argues there are three concrete mobile viewports — layout, visual, and ideal — and the key claim is that responsive design works because setting the layout viewport to the ideal viewport (meta viewport width=device-width or width=XYZ) aligns CSS math with what media queries report. Demonstrates quirks: initial-scale=1 maps to the ideal viewport, devicePixelRatio = device pixels ÷ ideal viewport, and many inconsistencies (Android WebKit, UC, IE10) crop up; solutions include using width not device-width and min/max breakpoints, and notes this was tested on 50 browsers.

AI-written summary · about

  1. 0:00Intro
  2. 1:37A pixel is not a pixel
  3. 3:58Device pixels
  4. 6:41What kind of pixels?
  5. 15:07JavaScript - layout viewport
  6. 15:44JavaScript - visual viewport
  7. 20:22Ideal viewport: 320px
  8. 22:42JavaScript - ideal viewport
  9. 29:08Min-width viewport
  10. 30:40Safari workaround
  11. 32:15Perfect meta viewport
  12. 32:27@viewport
  13. 34:35Even perfecter viewport
  14. 36:05Media queries -device-width
  15. 37:34Responsive design
  16. 39:28CSS units
  17. 42:32Resolution
  18. 43:22iPhone 3G
  19. 43:44Samsung Galaxy Pocket
  20. 44:24BlackBerry ZIO
~/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.