[Webkit-unassigned] [Bug 219005] New: Implement ResizeObserver's devicePixelContentBox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 16 14:39:26 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219005
Bug ID: 219005
Summary: Implement ResizeObserver's devicePixelContentBox
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kbr at google.com
ResizeObserver has gained the ability to observe the number of device pixels that a given element covers in the "device-pixel-content-box" observation:
https://www.w3.org/TR/resize-observer/#dom-resizeobserverboxoptions-device-pixel-content-box
This feature was discussed and specified in the CSS working group. Some concerns were raised by WebKit engineers at the time that WebKit can only provide an accurate answer for this observation after, and not before, the paint cycle runs. Even with this concern, this feature is important for web applications that expect to be able to do pixel-accurate rendering.
Now that WebKit has ResizeObserver support (thanks to Igalia folks for implementing it!), would it be possible to do at least a first-cut implementation of this new observation? It should make the example in the article https://web.dev/device-pixel-content-box/ render more stably. Currently it shows bad moiré effects in Safari Technology Preview on Retina display MacBook Pros.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201116/6929fa87/attachment.htm>
More information about the webkit-unassigned
mailing list