[Webkit-unassigned] [Bug 87846] vw/vh units don't scale as viewport does for some items

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 06:28:50 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87846





--- Comment #1 from Sam <snugug at gmail.com>  2012-05-30 06:28:50 PST ---
(In reply to comment #0)
> While experimenting with vh/vw units in Chrome/Canary, I tried assigning line-height a vw unit side, which worked successfully, but the size didn't increase/decrease as the viewport did, unlike padding which increased/decreased as expected. Font size doesn't scale either. Padding and widths do. I believe the expected behavior is for anything sized using vh/vw units to scale with viewport, not just width/margin/padding.

Upon more experimenting, it seems as if only padding/margin scale as viewport does; height and width do not.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list