| Summary: | [css-values-4] Dynamic `dv*` viewport units should not respect the page scale | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||||||||
| Component: | CSS | Assignee: | Devin Rousso <hi> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | hi, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Bug Depends on: | 219287 | ||||||||||||||
| Bug Blocks: | 238673 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Devin Rousso
2021-11-17 16:21:51 PST
Created attachment 444599 [details]
Patch
Comment on attachment 444599 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444599&action=review > Source/WebCore/page/FrameView.cpp:5680 > + return layoutViewportRect().size(); Have you tested the behavior in MobileSafari/SFSafariViewController/Web.app? Comment on attachment 444599 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444599&action=review >> Source/WebCore/page/FrameView.cpp:5680 >> + return layoutViewportRect().size(); > > Have you tested the behavior in MobileSafari/SFSafariViewController/Web.app? I tested MobileSafari and `SFSafariViewController`. I forgot about Web.app, but I just tested it there as well. All misbehave before this patch (`dv*` changes with scale) and correctly work (`dv*` is constant through scaling) after this patch :) Created attachment 444644 [details]
Patch
Created attachment 444736 [details]
Patch
Created attachment 444738 [details]
Patch
Created attachment 445455 [details]
Patch
Committed r286350 (244709@main): <https://commits.webkit.org/244709@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445455 [details]. |