Open
Bug 416437
Opened 16 years ago
Updated 2 years ago
style attributes in SVG are parsed twice in the normal case
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
Details
(Keywords: perf)
As described in bug 414550, style attributes in SVG are parsed, serialized, and reparsed in the normal static case. This is a performance hit, and can turn minor serialization bugs into more serious correctness bugs. The SVG code seems to be doing this to re-resolve relative URIs in the style attribute. We could actually probably do that in the style system much faster, without serialization and reparsing (and I think some other code could benefit as well). Alternatively, SVG could store the style attribute as a string until BindToTree is called.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•