mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Tests for bug 229367 and bug 613157
This commit is contained in:
parent
850bca2f79
commit
47bf01b687
10
layout/reftests/bidi/229367-1-ref.html
Normal file
10
layout/reftests/bidi/229367-1-ref.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>br-as-bidi-paragraph-break</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>א -->‎<br>--> ב</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
layout/reftests/bidi/229367-1.html
Normal file
10
layout/reftests/bidi/229367-1.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>br-as-bidi-paragraph-break</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>א --><br>--> ב</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
43
layout/reftests/bidi/229367-2-ref.html
Normal file
43
layout/reftests/bidi/229367-2-ref.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<DOCTYPE html>
|
||||||
|
<html DIR=RTL>
|
||||||
|
<head>
|
||||||
|
<meta charset=UTF-8>
|
||||||
|
<title>BIDI Layout Testing</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>This is a testing for BiDi layout issues.</h2>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
1 - No tag<br>
|
||||||
|
2 - SPAN<br>
|
||||||
|
3 - P<br>
|
||||||
|
4 - DIV<br>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<b>Test1: No space</b><br>
|
||||||
|
This is a testing for BiDi layout issues.‏<br>
|
||||||
|
<span>This is a testing for BiDi layout issues.‏<br></span>
|
||||||
|
<p>This is a testing for BiDi layout issues.‏<br></p>
|
||||||
|
<div>This is a testing for BiDi layout issues.‏<br></div>
|
||||||
|
<br><br>
|
||||||
|
<b>Test2: 3 spaces at the end</b><br>
|
||||||
|
This is a testing for BiDi layout issues.‏ <br>
|
||||||
|
<span>This is a testing for BiDi layout issues.‏ <br></span>
|
||||||
|
|
||||||
|
<p>This is a testing for BiDi layout issues.‏ <br></p>
|
||||||
|
<div>This is a testing for BiDi layout issues.‏ <br></div>
|
||||||
|
<br><br>
|
||||||
|
<b>Test3: 3 spaces at the beginning</b><br>
|
||||||
|
This is a testing for BiDi layout issues.‏<br>
|
||||||
|
<span> This is a testing for BiDi layout issues.‏<br></span>
|
||||||
|
<p> This is a testing for BiDi layout issues.‏<br></p>
|
||||||
|
<div> This is a testing for BiDi layout issues.‏<br></div>
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<b>Test4: 3 spaces at the end and the beginning</b><br>
|
||||||
|
This is a testing for BiDi layout issues.‏ <br>
|
||||||
|
<span> This is a testing for BiDi layout issues.‏ <br></span>
|
||||||
|
<p> This is a testing for BiDi layout issues.‏ <br></p>
|
||||||
|
<div> This is a testing for BiDi layout issues.‏ <br></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
43
layout/reftests/bidi/229367-2.html
Normal file
43
layout/reftests/bidi/229367-2.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<DOCTYPE html>
|
||||||
|
<html DIR=RTL>
|
||||||
|
<head>
|
||||||
|
<meta charset=UTF-8>
|
||||||
|
<title>BIDI Layout Testing</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>This is a testing for BiDi layout issues.</h2>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
1 - No tag<br>
|
||||||
|
2 - SPAN<br>
|
||||||
|
3 - P<br>
|
||||||
|
4 - DIV<br>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<b>Test1: No space</b><br>
|
||||||
|
This is a testing for BiDi layout issues.<br>
|
||||||
|
<span>This is a testing for BiDi layout issues.<br></span>
|
||||||
|
<p>This is a testing for BiDi layout issues.<br></p>
|
||||||
|
<div>This is a testing for BiDi layout issues.<br></div>
|
||||||
|
<br><br>
|
||||||
|
<b>Test2: 3 spaces at the end</b><br>
|
||||||
|
This is a testing for BiDi layout issues. <br>
|
||||||
|
<span>This is a testing for BiDi layout issues. <br></span>
|
||||||
|
|
||||||
|
<p>This is a testing for BiDi layout issues. <br></p>
|
||||||
|
<div>This is a testing for BiDi layout issues. <br></div>
|
||||||
|
<br><br>
|
||||||
|
<b>Test3: 3 spaces at the beginning</b><br>
|
||||||
|
This is a testing for BiDi layout issues.<br>
|
||||||
|
<span> This is a testing for BiDi layout issues.<br></span>
|
||||||
|
<p> This is a testing for BiDi layout issues.<br></p>
|
||||||
|
<div> This is a testing for BiDi layout issues.<br></div>
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<b>Test4: 3 spaces at the end and the beginning</b><br>
|
||||||
|
This is a testing for BiDi layout issues. <br>
|
||||||
|
<span> This is a testing for BiDi layout issues. <br></span>
|
||||||
|
<p> This is a testing for BiDi layout issues. <br></p>
|
||||||
|
<div> This is a testing for BiDi layout issues. <br></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
35
layout/reftests/bidi/229367-3-ref.html
Normal file
35
layout/reftests/bidi/229367-3-ref.html
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<DOCTYPE html>
|
||||||
|
<!-- This tests that embeddings and overrides are preserved after <br> -->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=UTF-8>
|
||||||
|
<title>Bug 229367</title>
|
||||||
|
<style type="text/css">
|
||||||
|
p { margin: 0; text-align: left; }
|
||||||
|
p.er { unicode-bidi: embed; direction: rtl; }
|
||||||
|
p.ol { unicode-bidi: bidi-override; direction: ltr; }
|
||||||
|
p.or { unicode-bidi: bidi-override; direction: rtl; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>במה מדליקין,</p>
|
||||||
|
<p>ובמה אין מדליקין?</p>
|
||||||
|
<p class="er">אין מדליקין לא בלכש, </p>
|
||||||
|
<p class="er">ולא בחוסן, </p>
|
||||||
|
<p class="er">ולא בכלך, </p>
|
||||||
|
<p class="er">ולא בפתילת האידן, </p>
|
||||||
|
<p class="ol">ולא בפתילת המדבר, </p>
|
||||||
|
<p class="ol">ולא בירוקה שעל פני המים. </p>
|
||||||
|
<p class="ol">לא בזפת, </p>
|
||||||
|
<p class="or">ולא בשעווה, </p>
|
||||||
|
<p class="or">ולא בשמן קיק, </p>
|
||||||
|
<p class="or">ולא בשמן שריפה, </p>
|
||||||
|
<p class="or">ולא באליה, </p>
|
||||||
|
<p class="ol">ולא בחלב. </p>
|
||||||
|
<p class="ol">נחום המדי אומר, </p>
|
||||||
|
<p class="er">מדליקין בחלב מבושל;</p>
|
||||||
|
<p class="er">וחכמים אומרים, </p>
|
||||||
|
<p>אחד מבושל ואחד שאינו מבושל,</p>
|
||||||
|
<p>אין מדליקין בו.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
30
layout/reftests/bidi/229367-3.html
Normal file
30
layout/reftests/bidi/229367-3.html
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<DOCTYPE html>
|
||||||
|
<!-- This tests that embeddings and overrides are preserved after <br> -->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=UTF-8>
|
||||||
|
<title>Bug 229367</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>במה מדליקין,<br>
|
||||||
|
ובמה אין מדליקין?<br>
|
||||||
|
<span style="unicode-bidi: embed; direction: rtl">אין מדליקין לא בלכש, <br>
|
||||||
|
ולא בחוסן, <br>
|
||||||
|
ולא בכלך, <br>
|
||||||
|
ולא בפתילת האידן, <br>
|
||||||
|
<span style="unicode-bidi: bidi-override; direction: ltr">ולא בפתילת המדבר, <br>
|
||||||
|
ולא בירוקה שעל פני המים. <br>
|
||||||
|
לא בזפת, <br>
|
||||||
|
<span style="unicode-bidi: bidi-override; direction: rtl">ולא בשעווה, <br>
|
||||||
|
ולא בשמן קיק, <br>
|
||||||
|
ולא בשמן שריפה, <br>
|
||||||
|
ולא באליה, <br></span>
|
||||||
|
ולא בחלב. <br>
|
||||||
|
נחום המדי אומר, <br></span>
|
||||||
|
מדליקין בחלב מבושל; <br>
|
||||||
|
וחכמים אומרים, <br></span>
|
||||||
|
אחד מבושל ואחד שאינו מבושל,<br>
|
||||||
|
אין מדליקין בו.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
layout/reftests/bidi/613157-1-ref.html
Normal file
10
layout/reftests/bidi/613157-1-ref.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>block-element-as-bidi-paragraph-break</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>א -->‎<hr>--> ב</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
layout/reftests/bidi/613157-1.html
Normal file
10
layout/reftests/bidi/613157-1.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>block-element-as-bidi-paragraph-break</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>א --><hr>--> ב</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
layout/reftests/bidi/613157-2-ref.html
Normal file
10
layout/reftests/bidi/613157-2-ref.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Inline blocks shouldn't end the paragraph</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>‮אני אוהב--> 4 xoferiF-->8 ימים בשבוע</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
layout/reftests/bidi/613157-2.html
Normal file
11
layout/reftests/bidi/613157-2.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Inline blocks shouldn't end the paragraph</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p><span dir="rtl">אני אוהב</span>--><span style="display: inline-block">Firefox 4 </span>-->8 ימים בשבוע
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -43,6 +43,9 @@ random-if(cocoaWidget) == mirroring-02.html mirroring-02-ref.html
|
|||||||
== 83958-2c.html 83958-2-ref.html
|
== 83958-2c.html 83958-2-ref.html
|
||||||
== 115921-1.html 115921-1-ref.html
|
== 115921-1.html 115921-1-ref.html
|
||||||
== 115921-2.html 115921-2-ref.html
|
== 115921-2.html 115921-2-ref.html
|
||||||
|
== 229367-1.html 229367-1-ref.html
|
||||||
|
== 229367-2.html 229367-2-ref.html
|
||||||
|
== 229367-3.html 229367-3-ref.html
|
||||||
== 258928-1.html 258928-1-ref.html
|
== 258928-1.html 258928-1-ref.html
|
||||||
random-if(winWidget) == 267459-1.html 267459-1-ref.html # depends on windows version, see bug 590101
|
random-if(winWidget) == 267459-1.html 267459-1-ref.html # depends on windows version, see bug 590101
|
||||||
fails-if(Android) == 267459-2.html 267459-2-ref.html # bug 650567
|
fails-if(Android) == 267459-2.html 267459-2-ref.html # bug 650567
|
||||||
@ -71,3 +74,5 @@ fails-if(Android) == 386339.html 386339-ref.html
|
|||||||
== 588739-2.html 588739-ref.html
|
== 588739-2.html 588739-ref.html
|
||||||
== 588739-3.html 588739-ref.html
|
== 588739-3.html 588739-ref.html
|
||||||
== 612843-1.html 612843-1-ref.html
|
== 612843-1.html 612843-1-ref.html
|
||||||
|
== 613157-1.html 613157-1-ref.html
|
||||||
|
== 613157-2.html 613157-2-ref.html
|
||||||
|
Loading…
Reference in New Issue
Block a user