summaryrefslogtreecommitdiffstats
path: root/cc/resources
diff options
context:
space:
mode:
authorfs <fs@opera.com>2016-03-07 02:21:55 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-07 10:23:05 +0000
commit908f01e663ef0073b3ef667258432e78add83a7b (patch)
tree331118cf134e3ecfff1d8fd1ee7e2f3aaaeae585 /cc/resources
parentc3d1650c1e7512e3e7ba70c8eda1dfa88ffc4c2c (diff)
downloadchromium_src-908f01e663ef0073b3ef667258432e78add83a7b.zip
chromium_src-908f01e663ef0073b3ef667258432e78add83a7b.tar.gz
chromium_src-908f01e663ef0073b3ef667258432e78add83a7b.tar.bz2
Don't expand <symbol> elements in <use> that are not targets
When a <use> was referencing a subtree which contained a <symbol> element, the <symbol> would get replaced by the "replace <symbol>" part of the <use> expansion. This would result in content being rendered that should not (since only <symbol>s that are directly referenced by <use> should render.) Instead of blindly expanding <symbol> elements, replace them directly when producing the instance clone. Replace the old faulty test svg/custom/use-on-g-containing-symbol.svg with a new test. Test from: https://bugs.webkit.org/show_bug.cgi?id=154576 BUG=589682 Review URL: https://codereview.chromium.org/1736283003 Cr-Commit-Position: refs/heads/master@{#379532}
Diffstat (limited to 'cc/resources')
0 files changed, 0 insertions, 0 deletions