author violet <>
Thu, 16 May 2019 13:21:21 +0000
changeset 474705 94c0cc0049815467d23d4a778b68438607dc0c98
parent 442545 480b34db3172d2456b619681d4a05216221066f0
permissions -rw-r--r--
Bug 1383650 - Optimize attribute mapping by not parsing same thing twice r=longsonr Geometry properties are the most used SVG attributes. When authors specify them as attributes, we have to parse them in SVG side. So we don't want to parse them in CSS side again, otherwise the introduced performance loss is relatively high. With this optimization, this feature implementation doesn't slow down overall performace even if there are thousands of geometry elements. Differential Revision:

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

For information on how to build Mozilla from the source code, see:

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla ( Instructions are at:

If you have a question about developing Mozilla, and can't find the solution
on, you can try asking your question in a
mozilla.* Usenet group, or on IRC at [The Mozilla news groups
are accessible on Google Groups, or with a NNTP reader.]

Nightly development builds can be downloaded from:
            - or -

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.