mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr
This commit is contained in:
parent
f964672f41
commit
204d7f3da9
5
layout/svg/crashtests/842009-1.svg
Normal file
5
layout/svg/crashtests/842009-1.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title id="hello">hello</title>
|
||||
<text x="100" y="100"> <tref xlink:href="#hello"/></text>
|
||||
</svg>
|
After Width: | Height: | Size: 190 B |
@ -153,3 +153,4 @@ load 808318-1.svg
|
||||
load 813420-1.svg
|
||||
load 841163-1.svg
|
||||
load 841812-1.svg
|
||||
load 842009-1.svg
|
||||
|
@ -253,7 +253,6 @@ IsTextContentElement(nsIContent* aContent)
|
||||
|
||||
if (aContent->Tag() == nsGkAtoms::a ||
|
||||
aContent->Tag() == nsGkAtoms::tspan ||
|
||||
aContent->Tag() == nsGkAtoms::tref ||
|
||||
aContent->Tag() == nsGkAtoms::altGlyph) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user