зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1260825 - Reftest for highlighting of text involving surrogate pairs with graphite shaping. r=jrmuizel
This commit is contained in:
Родитель
67ee2ed03b
Коммит
e08d24f30d
Двоичный файл не отображается.
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1260825 reference</title>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
@font-face { font-family: test; src: url(../fonts/MiaoUnicode-Regular.ttf); }
|
||||
#test { font-family: test, serif; font-size: 60px; }
|
||||
.sel { background: cyan; }
|
||||
.inv { color: transparent; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
All lines should show the same single glyph & background area:
|
||||
<div id="test">
|
||||
<span class="sel">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><br>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1260825 testcase</title>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
@font-face { font-family: test; src: url(../fonts/MiaoUnicode-Regular.ttf); }
|
||||
#test { font-family: test, serif; font-size: 60px; }
|
||||
.sel { background: cyan; }
|
||||
.inv { color: transparent; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
All lines should show the same single glyph & background area:
|
||||
<div id="test">
|
||||
<span class="sel">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><span class="inv">𖽐</span><br>
|
||||
<span class="sel">𖽐</span><span class="inv">𖽐𖽐</span><br>
|
||||
<span class="sel">𖽐</span><span class="inv">𖼊</span><br>
|
||||
<span class="sel">𖽐</span><span class="inv">𖼊𖽪</span><br>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -228,6 +228,8 @@ pref(gfx.font_rendering.graphite.enabled,true) HTTP(..) == glyph-decomposition-g
|
|||
# test for bidi bug in graphite 1.3.2, fixed in 1.3.3 (bug 1207061)
|
||||
HTTP(..) == graphite-bidi-1.html graphite-bidi-1-ref.html
|
||||
|
||||
HTTP(..) == graphite-surrogate-selection.html graphite-surrogate-selection-ref.html
|
||||
|
||||
# Tests for hyphenation with hyphens property
|
||||
== auto-hyphenation-1.html auto-hyphenation-1-ref.html
|
||||
!= auto-hyphenation-1.html auto-hyphenation-1-notref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче