foreignobject overflow
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: naraku7686, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
https://jsfiddle.net/Naraku/4m3v0gb9/
inserted an overflowing html element at runtime inside a <foreignObject>
Actual results:
the dynamical element was not overflowing correcly and not triggering :hover selector properly
Expected results:
an identical "static" (pre-existent) element is rendering and hovering.
If there are "static" element pre-existent, the dynamic element is working too, up to the size of the overflow boundary defined by the pre-existent "static" elements and broken if it overflows past that point.
more details and live example inside the fiddle.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
I was able to reproduce this locally and reduce a WR capture.
From what I can see, it looks like the clip_rect
supplied in the display item for those text runs is incorrect (extending the clip rect in the WR capture scene.ron
file makes it draw correctly).
So it seems like a bug in the display list creation or conversion code that gets sent to WR.
Miko, is this something you would be able to investigate? Or is there someone else who might be better to look at it?
Updated•2 years ago
|
Description
•