Closed Bug 1554568 Opened 1 year ago Closed 1 year ago

font-size resolved incorrectly for things inside inner <svg>

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: violet.bugreport, Assigned: violet.bugreport)

References

Details

Attachments

(2 files)

Attached file wrong-font-size.html
No description provided.
Assignee: nobody → violet.bugreport
Status: NEW → ASSIGNED

Resolving length for inner <svg> is exactly the same as other ordinary
element. We should not pass the context to GetAnimValue(), otherwise
font-size will be obtained from the enclosing viewport of the inner
<svg> rather than the inner <svg> itself.

Pushed by violet.bugreport@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0922f98398e2
Should resolve font-size of inner svg from itself r=longsonr
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Regressions: 1555795
You need to log in before you can comment on or make changes to this bug.