[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 May 15 12:26:24 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=159635
Joe Pea <joe at trusktr.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joe at trusktr.io
--- Comment #6 from Joe Pea <joe at trusktr.io> ---
Besides the discrepancy Jan pointed out, maybe this is actually a question of what the desired behavior is.
It would seem that for consistency, media query em values should be relative to the root font-size if it exists, otherwise not, just like `em` or `rem` values anywhere else. This would make the development experience consistent and easy to reason about.
It would also give us the power to choose: we want media query em/rem values to be relative to the browser's initial value (and therefore the browser user's specified font size)? Then we can simply not place font-size declaration on `html`. We want to have our own base value, we can put font-size on `html`. This flexibility would be ideal.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180515/b3dc2d9a/attachment.html>
More information about the webkit-unassigned
mailing list