Text in SVG shifts up-and-down when mouse is hovered over the interactive part of the SVG
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: thomas.smailus, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
51.92 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
Open the SVG graphic in the browser, the mouse over the region indicated (in MouseZone-Example.PNG) - it is a js driven 'hotspot', which changes the visibility of an orange rectangle behind the part. Moving off and on that 'hotspot' will turn on and off the highlighted orange rectangle - which is done by changing the 'visibility' attribute of the group the rectangle is in. (section illustrated in MouseZone-ObjectWithVisabilityChanging.PNG )
Actual results:
As you move on/off the region and the highlighting turns on/off, the mere changing of the visibility of a rectangle, causes all of the text on the SVG to move slightly up and down, even though nothing in the text is modified.
The recomputation/rendering seems to be shifting/rounding error? the text - and only the text. Lines are not affected.
Expected results:
The text should NOT move at all; only the orange highlight should come on and off - nothing more. Chrome/Edge do not have this issue - only Firefox.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Can repro.
Regression Range:
Bug 1686654 - Track CompositorHitTestInfo accross blob groups. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D145358
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1686654
:nical, since you are the author of the regressor, bug 1686654, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
This is caused by rendering differences when layerization of the blobs plays out differently because something in the middle is turned into an WR display item. Could be a snapping issue or some precision loss on some transform somewhere. The regressing patch made it so some images in SVGs are rendered with WR display items instead of blobs.
I won't have time to investigate this for a long while. In case anyone was waiting on me it's up for grabs.
Description
•