mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 875629 - reftest for SVG glyph encoded using a supplementary-plane variation sequence. r=roc
This commit is contained in:
parent
58ae63e6b4
commit
309b7477e9
@ -21,3 +21,5 @@ pref(gfx.font_rendering.opentype_svg.enabled,true) fails == svg-glyph-mask.sv
|
||||
# test for a non-BMP character in the glyphchar attribute (bug 875629)
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) != cat_face-bmp.html cat_face-notref.html
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == cat_face.html cat_face-bmp.html
|
||||
# test for a variation sequence involving a Plane-1 char and Plane-14 variation selector (bug 875629)
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == two_cats-var.html two_cats-ref.html
|
||||
|
BIN
layout/reftests/text-svgglyphs/resources/two_cats.ttf
Normal file
BIN
layout/reftests/text-svgglyphs/resources/two_cats.ttf
Normal file
Binary file not shown.
17
layout/reftests/text-svgglyphs/two_cats-ref.html
Normal file
17
layout/reftests/text-svgglyphs/two_cats-ref.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style type="text/css">
|
||||
@font-face { font-family: foo; src: url("resources/two_cats.ttf"); }
|
||||
body { font-family: foo, sans-serif; font-size: 24px; }
|
||||
td { padding: 2px 10px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr><td>🐱</td><td>ネコ</td><td>cat face</td></tr>
|
||||
<tr><td>😻</td><td>目がハート(ネコ)</td><td>smiling cat face with heart shaped eyes</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
18
layout/reftests/text-svgglyphs/two_cats-var.html
Normal file
18
layout/reftests/text-svgglyphs/two_cats-var.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style type="text/css">
|
||||
@font-face { font-family: foo; src: url("resources/two_cats.ttf"); }
|
||||
body { font-family: foo, sans-serif; font-size: 24px; }
|
||||
td { padding: 2px 10px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<!-- the Plane-14 variation selector U+E0100 should change U+1F431 to the "heart shaped eyes" cat face -->
|
||||
<tr><td>🐱</td><td>ネコ</td><td>cat face</td></tr>
|
||||
<tr><td>🐱󠄀</td><td>目がハート(ネコ)</td><td>smiling cat face with heart shaped eyes</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user