зеркало из https://github.com/mozilla/gecko-dev.git
13e131d652
The only different part is to resolve intrinsic image size. This patch implements explicit requirements of the spec, but an edge case is tricky. It's not clear per spec what the intrinsic image size is for an SVG without explicit width/height, something like: <svg> <image href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect width='40' height='90' fill='red' /></svg>"/> </svg> Chrome treats the intrinsic size of the href svg as the default size of a replaced element (300x150), our image/VectorImage.cpp doesn't resolve size in this case. We can handle this particular case in some seperate bug if necessary, I think. Differential Revision: https://phabricator.services.mozilla.com/D32415 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |