Mozilla Home
Privacy
Cookies
Legal
Bugzilla
Browse
Advanced Search
New Bug
Reports
Documentation
Log In
Log In with GitHub
or
Remember me
Browse
Advanced Search
New Bug
Reports
Documentation
Attachment 498349 Details for
Bug 263359
[patch]
Tests for bug 229367 and bug 613157
607541.tests.1.diff (text/plain), 10.26 KB, created by
Simon Montagu :smontagu
(
hide
)
Description:
Tests for bug 229367 and bug 613157
Filename:
MIME Type:
Creator:
Simon Montagu :smontagu
Size:
10.26 KB
patch
obsolete
>diff --git a/layout/reftests/bidi/229367-1-ref.html b/layout/reftests/bidi/229367-1-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-1-ref.html >@@ -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> >diff --git a/layout/reftests/bidi/229367-1.html b/layout/reftests/bidi/229367-1.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-1.html >@@ -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> >diff --git a/layout/reftests/bidi/229367-2-ref.html b/layout/reftests/bidi/229367-2-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-2-ref.html >@@ -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> >\ No newline at end of file >diff --git a/layout/reftests/bidi/229367-2.html b/layout/reftests/bidi/229367-2.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-2.html >@@ -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> >\ No newline at end of file >diff --git a/layout/reftests/bidi/229367-3-ref.html b/layout/reftests/bidi/229367-3-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-3-ref.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 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> >diff --git a/layout/reftests/bidi/229367-3.html b/layout/reftests/bidi/229367-3.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/229367-3.html >@@ -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> >diff --git a/layout/reftests/bidi/613157-1-ref.html b/layout/reftests/bidi/613157-1-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/613157-1-ref.html >@@ -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> >diff --git a/layout/reftests/bidi/613157-1.html b/layout/reftests/bidi/613157-1.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/613157-1.html >@@ -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> >diff --git a/layout/reftests/bidi/613157-2-ref.html b/layout/reftests/bidi/613157-2-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/613157-2-ref.html >@@ -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> >diff --git a/layout/reftests/bidi/613157-2.html b/layout/reftests/bidi/613157-2.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bidi/613157-2.html >@@ -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> >diff --git a/layout/reftests/bidi/reftest.list b/layout/reftests/bidi/reftest.list >--- a/layout/reftests/bidi/reftest.list >+++ b/layout/reftests/bidi/reftest.list >@@ -31,16 +31,19 @@ random-if(cocoaWidget) == mirroring-02.h > == 83958-1a.html 83958-1-ref.html > == 83958-1b.html 83958-1-ref.html > == 83958-1c.html 83958-1-ref.html > == 83958-2a.html 83958-2-ref.html > == 83958-2b.html 83958-2-ref.html > == 83958-2c.html 83958-2-ref.html > == 115921-1.html 115921-1-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 > 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 > random-if(winWidget) == 305643-1.html 305643-1-ref.html # depends on windows version, see bug 590101 > == 332655-1.html 332655-1-ref.html > == 332655-2.html 332655-2-ref.html > == 381279-1.html 381279-1-ref.html >@@ -59,8 +62,10 @@ random-if(winWidget) == 305643-1.html 30 > == 503269-1.html 503269-1-ref.html > == 503957-1.html 503957-1-ref.html > == 525740-1.html 525740-1-ref.html > == 536963-1.html 536963-1-ref.html > == 588739-1.html 588739-ref.html > == 588739-2.html 588739-ref.html > == 588739-3.html 588739-ref.html > == 612843-1.html 612843-1-ref.html >+== 613157-1.html 613157-1-ref.html >+== 613157-2.html 613157-2-ref.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
|
Review
Attachments on
bug 263359
:
161392
|
161393
|
161394
|
161455
|
493937
|
493938
|
493939
|
493940
|
495867
|
495868
|
495869
|
495870
|
495873
|
495874
|
498344
|
498345
|
498346
|
498347
| 498349 |
498351
|
498356
|
498455
|
521980
|
522787
|
522788
|
537515