Open Bug 270255 Opened 20 years ago Updated 2 years ago

Don't parse SVG attributes a second time when mapping them into style

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

(Keywords: perf)

nsSVGLength::SetValueAsString seems to be pretty expensive... if nothing else,
it parses the value, then we parse it _again_ when we map it into CSS.

There's got to be a better way of setting this stuff up, I hope.
Keywords: perf
Assignee: general → nobody
QA Contact: ian → general
Blocks: 554004
Blocks: 609527
OS: Linux → All
Hardware: x86 → All
Summary: Setting length value attrs is pretty expensive → Don't parse SVG attributes a second time when mapping them into style
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.