mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157752 - Reftest for vertical mode with upright orientation overriding bidi directionality. r=smontagu
This commit is contained in:
parent
8d949af0be
commit
b0560324d2
43
layout/reftests/writing-mode/1157752-upright-bidi-ref.html
Normal file
43
layout/reftests/writing-mode/1157752-upright-bidi-ref.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
-webkit-writing-mode: vertical-rl;
|
||||
writing-mode: vertical-rl;
|
||||
font: 16px/24px sans-serif;
|
||||
padding: 20px;
|
||||
width: 300px;
|
||||
height: 400px;
|
||||
}
|
||||
.sideways {
|
||||
-webkit-text-orientation: sideways-right;
|
||||
text-orientation: sideways-right;
|
||||
}
|
||||
.upright {
|
||||
-webkit-text-orientation: upright;
|
||||
text-orientation: upright;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class=sideways>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
<div dir=rtl class=sideways>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
<div class=upright>
|
||||
<bdo dir=ltr>Bidi עברית text</bdo>
|
||||
</div>
|
||||
|
||||
<div dir=rtl class=upright>
|
||||
<bdo dir=ltr>Bidi עברית text</bdo>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
43
layout/reftests/writing-mode/1157752-upright-bidi.html
Normal file
43
layout/reftests/writing-mode/1157752-upright-bidi.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
-webkit-writing-mode: vertical-rl;
|
||||
writing-mode: vertical-rl;
|
||||
font: 16px/24px sans-serif;
|
||||
padding: 20px;
|
||||
width: 300px;
|
||||
height: 400px;
|
||||
}
|
||||
.sideways {
|
||||
-webkit-text-orientation: sideways-right;
|
||||
text-orientation: sideways-right;
|
||||
}
|
||||
.upright {
|
||||
-webkit-text-orientation: upright;
|
||||
text-orientation: upright;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class=sideways>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
<div dir=rtl class=sideways>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
<div class=upright>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
<div dir=rtl class=upright>
|
||||
Bidi עברית text
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -129,4 +129,5 @@ test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLin
|
||||
== 1144501-1b-block-end-margin-orthogonal-size.html 1144501-1-block-end-margin-orthogonal-size-ref.html
|
||||
== 1151993-1-orthogonal-block-size.html 1151993-1-orthogonal-block-size-ref.html
|
||||
== 1156021-text-indent-percent.html 1156021-text-indent-percent-ref.html
|
||||
== 1157752-upright-bidi.html 1157752-upright-bidi-ref.html
|
||||
== 1158549-1-vertical-block-size-constraints.html 1158549-1-vertical-block-size-constraints-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user