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•2 years 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•2 years ago
|
Comment 2•2 years 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•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
Comment 9•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 10•2 years 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
Comment 12•2 years 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•2 years 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-firefox118towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 14•2 years 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•2 years 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•2 years ago
|
||
| uplift | ||
Comment 17•2 years ago
|
||
| bugherder uplift | ||
Updated•2 years ago
|
Comment 18•2 years ago
|
||
Verified fixed with Fx 118.0.2 on Windows 10 macOS 13 and Ubuntu 22.
Description
•