Bug 104692
| Summary: | Incorrect position of fixed position element relative to bottom and/or right of viewport when page is scaled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xianzhu Wang <wangxianzhu> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | aelias, chchkchk236, kenneth, klobag, simon.fraser, skyostil, trchen |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Xianzhu Wang
Sami reported this in https://bugs.webkit.org/show_bug.cgi?id=104303#c4. Maybe Chromium only.
Steps to reproduce:
1. Open http://css.flepstudio.org/en/css-properties/position-static-absolute-relative-static.html in chromium-android
2. Zoom in the page
Actual result:
The bottom right fixed div isn't always at the bottom right corner of the viewport.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Xianzhu Wang
For crbug.com/160223.
Simon Fraser (smfr)
This behavior was a deliberate choice to avoid fixed elements crowding the center of the page when zoomed.
Grace Kloba
Should we have an option to have a different behavior?
Simon Fraser (smfr)
If you want different behavior on your platform, sure.