зеркало из https://github.com/mozilla/pjs.git
Tests for bug 263359
This commit is contained in:
Родитель
57a88642a9
Коммит
00285bd72c
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>preformatted-paragraph-break-as-bidi-paragraph-break</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<pre>א -->‎
|
||||
--> ב</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>preformatted-paragraph-break-as-bidi-paragraph-break</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<pre>א -->
|
||||
--> ב</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>preformatted-paragraph-break-as-bidi-paragraph-break</title>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("w").style.whiteSpace="pre";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<pre id="w" style="white-space: normal">א -->
|
||||
--> ב</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>preformatted-paragraph-break-as-bidi-paragraph-break</title>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("w").style.whiteSpace="normal";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<pre id="w">א -->
|
||||
--> ב</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
<DOCTYPE html>
|
||||
<html DIR=RTL>
|
||||
<head>
|
||||
<meta charset=UTF-8>
|
||||
<title>BIDI Layout Testing</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="white-space: pre">
|
||||
<b>Test1: No space</b>
|
||||
This is a testing for BiDi layout issues. ‏
|
||||
<span>This is a testing for BiDi layout issues.‏
|
||||
</span>
|
||||
<p>This is a testing for BiDi layout issues.‏
|
||||
</p>
|
||||
<div>This is a testing for BiDi layout issues.‏
|
||||
</div>
|
||||
|
||||
<b>Test2: 3 spaces at the end</b>
|
||||
This is a testing for BiDi layout issues.‏
|
||||
<span>This is a testing for BiDi layout issues.‏
|
||||
</span>
|
||||
|
||||
<p>This is a testing for BiDi layout issues.‏
|
||||
</p>
|
||||
<div>This is a testing for BiDi layout issues.‏
|
||||
</div>
|
||||
|
||||
<b>Test3: 3 spaces at the beginning</b>
|
||||
This is a testing for BiDi layout issues.‏
|
||||
<span> This is a testing for BiDi layout issues.‏
|
||||
</span>
|
||||
<p> This is a testing for BiDi layout issues.‏
|
||||
</p>
|
||||
<div> This is a testing for BiDi layout issues.‏
|
||||
</div>
|
||||
|
||||
<b>Test4: 3 spaces at the end and the beginning</b>
|
||||
This is a testing for BiDi layout issues.‏
|
||||
<span> This is a testing for BiDi layout issues.‏
|
||||
</span>
|
||||
<p> This is a testing for BiDi layout issues.‏
|
||||
</p>
|
||||
<div> This is a testing for BiDi layout issues.‏
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,46 @@
|
|||
<DOCTYPE html>
|
||||
<html DIR=RTL>
|
||||
<head>
|
||||
<meta charset=UTF-8>
|
||||
<title>BIDI Layout Testing</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="white-space: pre">
|
||||
<b>Test1: No space</b>
|
||||
This is a testing for BiDi layout issues.
|
||||
<span>This is a testing for BiDi layout issues.
|
||||
</span>
|
||||
<p>This is a testing for BiDi layout issues.
|
||||
</p>
|
||||
<div>This is a testing for BiDi layout issues.</div>
|
||||
|
||||
<b>Test2: 3 spaces at the end</b>
|
||||
This is a testing for BiDi layout issues.
|
||||
<span>This is a testing for BiDi layout issues.
|
||||
</span>
|
||||
|
||||
<p>This is a testing for BiDi layout issues.
|
||||
</p>
|
||||
<div>This is a testing for BiDi layout issues.
|
||||
</div>
|
||||
|
||||
<b>Test3: 3 spaces at the beginning</b>
|
||||
This is a testing for BiDi layout issues.
|
||||
<span> This is a testing for BiDi layout issues.
|
||||
</span>
|
||||
<p> This is a testing for BiDi layout issues.
|
||||
</p>
|
||||
<div> This is a testing for BiDi layout issues.
|
||||
</div>
|
||||
|
||||
<b>Test4: 3 spaces at the end and the beginning</b>
|
||||
This is a testing for BiDi layout issues.
|
||||
<span> This is a testing for BiDi layout issues.
|
||||
</span>
|
||||
<p> This is a testing for BiDi layout issues.
|
||||
</p>
|
||||
<div> This is a testing for BiDi layout issues.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,35 @@
|
|||
<DOCTYPE html>
|
||||
<!-- This tests that embeddings and overrides are preserved after <br> -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=UTF-8>
|
||||
<title>Bug 263359</title>
|
||||
<style type="text/css">
|
||||
p { margin: 0; text-align: left; white-space: pre }
|
||||
p.er { 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>
|
|
@ -0,0 +1,36 @@
|
|||
<DOCTYPE html>
|
||||
<!-- This tests that embeddings and overrides are preserved in <pre> -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=UTF-8>
|
||||
<title>Bug 263359</title>
|
||||
<style type="text/css">
|
||||
p {
|
||||
white-space: pre;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="">במה מדליקין,
|
||||
ובמה אין מדליקין?
|
||||
<span dir="rtl">אין מדליקין לא בלכש,
|
||||
ולא בחוסן,
|
||||
ולא בכלך,
|
||||
ולא בפתילת האידן,
|
||||
<span style="unicode-bidi: bidi-override; direction: ltr">ולא בפתילת המדבר,
|
||||
ולא בירוקה שעל פני המים.
|
||||
לא בזפת,
|
||||
<span style="unicode-bidi: bidi-override; direction: rtl">ולא בשעווה,
|
||||
ולא בשמן קיק,
|
||||
ולא בשמן שריפה,
|
||||
ולא באליה, </span>
|
||||
ולא בחלב.
|
||||
נחום המדי אומר, </span>
|
||||
מדליקין בחלב מבושל;
|
||||
וחכמים אומרים, </span>
|
||||
אחד מבושל ואחד שאינו מבושל,
|
||||
אין מדליקין בו.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>change direction of pre with bidi text</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<pre dir="rtl"> can_be_executable=TRUE
|
||||
[he]description=סוג לא ידוע
|
||||
description=Unknown type
|
||||
[ar]description=نوع غير معروف
|
||||
[az]description=Namə'lum növ
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>change direction of pre with bidi text</title>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("w").style.direction="rtl";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<pre id="w"> can_be_executable=TRUE
|
||||
[he]description=סוג לא ידוע
|
||||
description=Unknown type
|
||||
[ar]description=نوع غير معروف
|
||||
[az]description=Namə'lum növ
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -39,6 +39,12 @@ random-if(cocoaWidget) == mirroring-02.html mirroring-02-ref.html
|
|||
== 229367-2.html 229367-2-ref.html
|
||||
== 229367-3.html 229367-3-ref.html
|
||||
== 258928-1.html 258928-1-ref.html
|
||||
== 263359-1.html 263359-1-ref.html
|
||||
== 263359-1a.html 263359-1-ref.html
|
||||
!= 263359-1b.html 263359-1-ref.html
|
||||
== 263359-2.html 263359-2-ref.html
|
||||
== 263359-3.html 263359-3-ref.html
|
||||
== 263359-4.html 263359-4-ref.html
|
||||
random-if(winWidget) == 267459-1.html 267459-1-ref.html # depends on windows version, see bug 590101
|
||||
== 267459-2.html 267459-2-ref.html
|
||||
== 299065-1.html 299065-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче