| Summary: | 'Play' button on NASA+ Service is too large | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | NEW --- | ||||||||||||
| Severity: | Normal | CC: | bfulgham, fantasai.bugs, karlcow, simon.fraser, vitor.roriz, webkit-bug-importer, zalan | ||||||||||
| Priority: | P2 | Keywords: | InRadar, NeedsReduction | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Ahmad Saleem
2023-11-09 04:27:09 PST
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. |