[Webkit-unassigned] [Bug 87846] vw/vh units used as font/line-height values don't scale with the viewport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 17:54:38 PDT 2013


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





--- Comment #9 from Eric Seidel (vacation until 4/3) <eric at webkit.org>  2013-03-27 17:52:47 PST ---
(From update of attachment 194379)
View in context: https://bugs.webkit.org/attachment.cgi?id=194379&action=review

>> Source/WebCore/css/CSSGrammar.y.in:1761
>> +          parser->m_styleSheet->parserSetUsesViewportUnits(true);
> 
> It's not clear to me that this should be a side-effect of parsing.  This is a side-effect of parsing that we only sometimes want, right?

For example, getComputedStyle presumably calls into the CSS parser but wouldn't want side-effects like this to occur.  I guess it wouldn't have an m_styleSheet set at the time?

-- 
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