SVG circle objects not printed anymore when r is given as CSS property
Categories
(Core :: Printing: Output, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox-esr115 | --- | unaffected |
firefox117 | --- | wontfix |
firefox118 | --- | verified |
firefox119 | --- | verified |
People
(Reporter: social-s, Assigned: longsonr)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
112.80 KB,
image/png
|
Details | |
403 bytes,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
Steps to reproduce:
<html>
<head>
<style>
circle {fill:white; stroke:black; stroke-width:1;}
circle.bug {r:100px}
</style>
</head>
<body>
<h3>firefox 117.0 svg circle print bug</h3>
<svg id="svgcircleprintbug" viewBox="-100 -100 400 400">
<circle class="bug" cx="0" cy="0" />
<circle cx="0" cy="0" style="r:70px" />
<circle cx="0" cy="0" r="40px" />
<text x="0" y="0">3 CIRCLES</text>
</svg>
</body>
</html>
Actual results:
When trying to print this page, only the inner circle, which has the r attribute explicitely given, is printed. The middle and outer circles, which have r defines as CSS properties, are not. This was still working in 116.0.2 and broke in 117.0
Expected results:
Middle and outer circles should be printed as well.
Comment 1•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•11 months ago
|
Comment 2•11 months ago
|
||
Set release status flags based on info from the regressing bug 1843883
:longsonr, since you are the author of the regressor, bug 1843883, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 3•11 months ago
|
||
Updated•11 months ago
|
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 4•11 months ago
|
||
Assignee | ||
Comment 5•11 months ago
|
||
Assignee | ||
Comment 6•11 months ago
|
||
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d60042e856fe elements that map to style and are not animated do not print correctly r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42080 for changes under testing/web-platform/tests
Comment 9•11 months ago
|
||
bugherder |
Assignee | ||
Comment 10•11 months ago
|
||
Comment on attachment 9354085 [details]
Bug 1853727 - elements that map to style and are not animated do not print correctly r=emilio
Beta/Release Uplift Approval Request
- User impact if declined: Some SVG won't print correctly.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce: There's a testcase in the bug. Print Preview is enough to see that it doesn't render correctly when printing.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only affects SVG printing code.
- String changes made/needed:
- Is Android affected?: Yes
Upstream PR merged by moz-wptsync-bot
Comment 12•11 months ago
|
||
Comment on attachment 9354085 [details]
Bug 1853727 - elements that map to style and are not animated do not print correctly r=emilio
Fx118 is now in release, changing uplift request to approval-mozilla-release
Comment 13•11 months ago
|
||
The patch landed in nightly and beta is affected.
:longsonr, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Comment 14•11 months ago
|
||
Reproduced with Fx 119.0a1 (2023-09-12) on Windows 10.
Verified fixed with Fx 120.0a1(2023-10-01) and Fx 119.0b3 on Windows 10, Ubuntu22 and macOS 13.
Comment 15•11 months ago
|
||
Comment on attachment 9354085 [details]
Bug 1853727 - elements that map to style and are not animated do not print correctly r=emilio
Approved for our next 118 dot release, thanks.
Comment 16•11 months ago
|
||
uplift |
https://hg.mozilla.org/releases/mozilla-release/rev/52b975a11bbc
Comment 17•11 months ago
|
||
bugherder uplift |
Updated•11 months ago
|
Comment 18•11 months ago
|
||
Verified fixed with Fx 118.0.2 on Windows 10 macOS 13 and Ubuntu 22.
Description
•