WPT test translate-and-transform-css-property-in-svg.html fails in Firefox
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
STR:
ACTUAL RESULTS:
Green rect is small; red is visible.
EXPECTED RESULTS:
Green rect should be large enough to cover red rect.
Reporter | ||
Comment 1•3 years ago
|
||
Here's a testcase to dig into this a bit more.
It looks like we specifically fail to honor the SVG transform attribute when a CSS transform subproperty has been specified (first section of this testcase).
But we do honor the transform property in combination with a subproperty (the second section of this testcase), and we do honor the transform attribute when it's specified by itself (third section of this testcase).
Reporter | ||
Comment 2•3 years ago
|
||
Chromium and WebKit both pass this WPT test, and give expected results on my attached 'testcase 1'.
(Though in Chromium, you have to toggle chrome://flags/#enable-experimental-web-platform-features
to Enabled
in order for the individual transform properties to be enabled.)
Comment 3•3 years ago
|
||
Obviously we didn’t handle the individual transforms well with SVG transform attribute. I will check this later.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
OK. I think we should fix bug 878346 first to make sure transform
attribute maps to the CSS transform
property first.
Description
•