mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1395926 - Reftest for GPOS glyph positioning adjustments in vertical-upright mode. r=jrmuizel
This commit is contained in:
parent
840ac6d981
commit
b7659a220a
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<style>
|
||||
@font-face { font-family: Charis; src: url(../fonts/sil/CharisSIL-R.ttf); }
|
||||
div { writing-mode: vertical-rl; text-orientation: upright; }
|
||||
p { position: absolute; top: 50px; }
|
||||
.times { font: 36px Times New Roman, DejaVu Serif, serif; letter-spacing: .25em; left: 50px; }
|
||||
.arial { font: 36px Arial, DejaVu Sans, sans-serif; letter-spacing: .25em; left: 150px; }
|
||||
.charis { font: 36px Charis, serif; letter-spacing: .25em; left: 250px; }
|
||||
.overlay { color: transparent; background: green; }
|
||||
</style>
|
||||
|
||||
Red diacritics should <i>not</i> extend beyond the green boxes:
|
||||
|
||||
<div>
|
||||
<p class="times overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="arial overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="charis overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
</div>
|
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<style>
|
||||
@font-face { font-family: Charis; src: url(../fonts/sil/CharisSIL-R.ttf); }
|
||||
div { writing-mode: vertical-rl; text-orientation: upright; }
|
||||
p { position: absolute; top: 50px; color: red; }
|
||||
.times { font: 36px Times New Roman, DejaVu Serif, serif; letter-spacing: .25em; left: 50px; }
|
||||
.arial { font: 36px Arial, DejaVu Sans, sans-serif; letter-spacing: .25em; left: 150px; }
|
||||
.charis { font: 36px Charis, serif; letter-spacing: .25em; left: 250px; }
|
||||
.overlay { color: transparent; background: green; }
|
||||
</style>
|
||||
|
||||
Red diacritics should <i>not</i> extend beyond the green boxes:
|
||||
|
||||
<div>
|
||||
<p class="times"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="times overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="arial"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="arial overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="charis"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
<p class="charis overlay"> A̕ḅ̩c̭d̅ẻ̆̈
|
||||
</div>
|
@ -179,6 +179,7 @@ fuzzy-if(gtkWidget,1,25) fuzzy-if(cocoaWidget,1,2) == 1302389-scrolled-rect-2b.h
|
||||
fuzzy-if(Android,54,852) == 1302389-scrolled-rect-2d.html 1302389-scrolled-rect-2-ref.html
|
||||
|
||||
== 1361631-mongolian-upright-1.html 1361631-mongolian-upright-1-ref.html
|
||||
fails == 1395926-vertical-upright-gpos-1.html 1395926-vertical-upright-gpos-1-ref.html
|
||||
|
||||
# Suite of tests from Gérard Talbot in bug 1079151
|
||||
# Frequent Windows 7 load failed: timed out waiting for test to complete (waiting for onload scripts to complete), bug 1167155 and friends
|
||||
|
Loading…
x
Reference in New Issue
Block a user