Testcases from bug 1671784 will still produce dotted lines if parts of the CSS are outside the visible part of the window (either by resizing the Browser window, or pinch-zooming)
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: mayankleoboy1, Assigned: gw)
References
Details
Attachments
(3 files)
Open the two testcases from bug 1671784 ( https://bug1671784.bmoattachments.org/attachment.cgi?id=9182191 , https://bug1671784.bmoattachments.org/attachment.cgi?id=9337734 )
Pinch-zoom on them
Pan the zoomed-in page such that part of the css thingy is outside of the viewable portion of the tab
AR: Dotted lines can still be seen
ER: Not so
https://bugzilla.mozilla.org/show_bug.cgi?id=1671784#c42
:gw - Yes, let's track that in a separate bug - I know what the cause is, and it's a different issue than what was resolved in this bug.
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
Loading clip-path element that extends outside of the body (grey area is document only no body) with normal zoom also produces the artefacts. But kept inside the body it looks fine.
Nightly 119.0a1
Comment 3•1 year ago
|
||
Add to previous, normal zoom level = without zooming :)
Reporter | ||
Comment 4•1 year ago
|
||
Ah yes. To get the dotted lines, open the testcase and just resize the browser windows horizontally or vertically till parts of the css are outside the visible area. Zooming of any kind is not needed.
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
I can reproduce this, and can see what's happening. When the primitive ends up intersecting with the viewport clip, there are now clips in a different coordinate system to the mask. For this case, we currently fall back to the old picture mask code, which has the existing issue. The best fix for this will be to handle these scenarios under the new clip-mask code paths, so that we don't need to fall back in this case.
Assignee | ||
Comment 6•1 year ago
|
||
Rather than selecting all clips to be drawn in the source or target space,
allow them to be separate masks when required. In the common case, the spaces
match and so all masks get drawn on to the picture surface. In the rare case
of a mask that requires drawing in source surface space, and a mask in a
parent non-aligned space, support rendering and applying them as separate masks.
Comment 8•1 year ago
|
||
bugherder |
Reporter | ||
Comment 9•1 year ago
|
||
this is fixed on the latest nightly. Thanks!
Reporter | ||
Updated•1 year ago
|
Description
•