mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr
This commit is contained in:
parent
0e87380e32
commit
5b745dcbdb
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…
Reference in New Issue
Block a user