mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
c13c8d4e5e
When nsSVGUtils::getBBox is called on <use> element: 1. Call from SVGGraphicsElement::getBBox(WebAPI): According to the spec, getBBox should return the bbox as the union box of children in user space. 2. Call from mask/ clip-path or filter painting: Since we want to paint those elements in the coordinate space formed by <use>(bug 537623), getBBox should return the bbox as the union box of children in coordinate system of <use>. Depend on the use case, we return the bbox of an <use> element on different coordinate system. In this patch, I bring in a new flag(eInUserSpaceOfUseElement) so that nsSVGUtils::getBBox can return bbox on different coordinate system accordingly. MozReview-Commit-ID: FfZalTI8J0y --HG-- extra : rebase_source : c33e980c00c450792b30f60f6aa01b53e1c5595c |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |