[csswg-drafts] [mediaqueries] Account for minimum font size in relative length media queries (#5858)

leefloyd has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries] Account for minimum font size in relative length media queries ==
When a browser has a minimum font-size that is larger than the default font-size, the initial font-size used in media queries is relative to the smaller value. For a site that has been coded to scale with relative lengths, this can cause many layout issues as breakpoints no longer align with what has effectively become relative size of the content. Relative units in declarations _are_ affected by minimum font-size, but media queries are not affected.

In the context of this following statement, I think the initial value of the font size should be defined as the greater of the user-specified sizes—either default or minimum font-size.
"Relative length units in media queries are based on the initial value, which means that units are never based on results of declarations."

https://www.w3.org/TR/mediaqueries-5/#units

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5858 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 11 January 2021 23:49:34 UTC