Created attachment 468532 [details] Broken 'red' play button Hi Team, While trying to explore new Nasa+ service, while trying to check whether the service work properly or not, I noticed a bug. URL: https://plus.nasa.gov/video/we-make-history-here/ ^ Please refer to attach screenshot and it is broken on Firefox Nightly 121 as well. (So it indicates more of lack of testing done on other browsers from website developer side). Just wanted to raise so we can fix it. Thanks!
<rdar://problem/118177925>
Created attachment 468597 [details] test reduction
This is caused by an intentional webkit specific behavior of not letting the computed font size go below 9px (after applying the zoom value), which means that em values are resolved against this capped font-size value resulting inflated height/width values (thus the "large" play button)
(In reply to zalan from comment #3) > This is caused by an intentional webkit specific behavior of not letting the > computed font size go below 9px (after applying the zoom value), which means > that em values are resolved against this capped font-size value resulting > inflated height/width values (thus the "large" play button) It looks like this should be driven by Safari's setting [Advanced -> "Never use font sizes smaller than], but even when that option is unchecked (default behavior) we apply 9px as the lowest allowed size value for fonts. Maybe we are missing an "is this enabled" preference key?
Created attachment 468700 [details] rendering in safari, firefox, chrome Really broken in Firefox.
Created attachment 468701 [details] testcase rendering in safari, firefox, chrome
To better understand the test changing the font-size on body to 100px makes the test work for both Safari and Chrome. Firefox (recent) implementation of zoom is not working at all.