[Webkit-unassigned] [Bug 159635] em-based media queries in <source> are relative to <html> instead of browser default font
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 7 14:10:58 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=159635
Myles C. Maxfield <mmaxfield at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Myles C. Maxfield <mmaxfield at apple.com> ---
The spec says[1] "Other units must be interpreted the same as in Media Queries." The Media Queries spec says[2] "Relative units in media queries are based on the initial value, which means that units are never based on results of declarations. For example, in HTML, the âemâ unit is relative to the initial value of âfont-sizeâ."
Therefore, we are following the spec.
[1] http://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset
[2] https://www.w3.org/TR/css3-mediaqueries/#units
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170207/1426a19e/attachment.html>
More information about the webkit-unassigned
mailing list