Permalink
Browse files

Adding Mati's new tests.

  • Loading branch information...
1 parent 1a7e926 commit 78ee87b33845f6e11054c5b930390e20b5687530 @amire80 committed Jan 23, 2012
Showing with 2,014 additions and 0 deletions.
  1. +40 −0 html5/dir-auto/dir_auto-EN-L-ref.html
  2. +40 −0 html5/dir-auto/dir_auto-EN-L.html
  3. +40 −0 html5/dir-auto/dir_auto-EN-R-ref.html
  4. +40 −0 html5/dir-auto/dir_auto-EN-R.html
  5. +40 −0 html5/dir-auto/dir_auto-L-ref.html
  6. +40 −0 html5/dir-auto/dir_auto-L.html
  7. +40 −0 html5/dir-auto/dir_auto-N-EN-L-ref.html
  8. +40 −0 html5/dir-auto/dir_auto-N-EN-L.html
  9. +40 −0 html5/dir-auto/dir_auto-N-EN-R-ref.html
  10. +40 −0 html5/dir-auto/dir_auto-N-EN-R.html
  11. +35 −0 html5/dir-auto/dir_auto-N-EN-ref.html
  12. +35 −0 html5/dir-auto/dir_auto-N-EN.html
  13. +40 −0 html5/dir-auto/dir_auto-N-L-ref.html
  14. +40 −0 html5/dir-auto/dir_auto-N-L.html
  15. +40 −0 html5/dir-auto/dir_auto-N-R-ref.html
  16. +40 −0 html5/dir-auto/dir_auto-N-R.html
  17. +40 −0 html5/dir-auto/dir_auto-R-ref.html
  18. +40 −0 html5/dir-auto/dir_auto-R.html
  19. +44 −0 html5/dir-auto/dir_auto-contained-L-ref.html
  20. +44 −0 html5/dir-auto/dir_auto-contained-L.html
  21. +40 −0 html5/dir-auto/dir_auto-contained-R-ref.html
  22. +40 −0 html5/dir-auto/dir_auto-contained-R.html
  23. +43 −0 html5/dir-auto/dir_auto-contained-bdi-L-ref.html
  24. +43 −0 html5/dir-auto/dir_auto-contained-bdi-L.html
  25. +40 −0 html5/dir-auto/dir_auto-contained-bdi-R-ref.html
  26. +40 −0 html5/dir-auto/dir_auto-contained-bdi-R.html
  27. +43 −0 html5/dir-auto/dir_auto-contained-dir-L-ref.html
  28. +43 −0 html5/dir-auto/dir_auto-contained-dir-L.html
  29. +40 −0 html5/dir-auto/dir_auto-contained-dir-R-ref.html
  30. +40 −0 html5/dir-auto/dir_auto-contained-dir-R.html
  31. +43 −0 html5/dir-auto/dir_auto-contained-dir_auto-L-ref.html
  32. +43 −0 html5/dir-auto/dir_auto-contained-dir_auto-L.html
  33. +40 −0 html5/dir-auto/dir_auto-contained-dir_auto-R-ref.html
  34. +40 −0 html5/dir-auto/dir_auto-contained-dir_auto-R.html
  35. +40 −0 html5/dir-auto/dir_auto-contained-script-L-ref.html
  36. +40 −0 html5/dir-auto/dir_auto-contained-script-L.html
  37. +40 −0 html5/dir-auto/dir_auto-contained-script-R-ref.html
  38. +40 −0 html5/dir-auto/dir_auto-contained-script-R.html
  39. +40 −0 html5/dir-auto/dir_auto-contained-style-L-ref.html
  40. +40 −0 html5/dir-auto/dir_auto-contained-style-L.html
  41. +40 −0 html5/dir-auto/dir_auto-contained-style-R-ref.html
  42. +40 −0 html5/dir-auto/dir_auto-contained-style-R.html
  43. +43 −0 html5/dir-auto/dir_auto-contained-textarea-L-ref.html
  44. +43 −0 html5/dir-auto/dir_auto-contained-textarea-L.html
  45. +40 −0 html5/dir-auto/dir_auto-contained-textarea-R-ref.html
  46. +40 −0 html5/dir-auto/dir_auto-contained-textarea-R.html
  47. +38 −0 html5/dir-auto/dir_auto-isolate_L-ref.html
  48. +38 −0 html5/dir-auto/dir_auto-isolate_L.html
  49. +38 −0 html5/dir-auto/dir_auto-isolate_R-ref.html
  50. +38 −0 html5/dir-auto/dir_auto-isolate_R.html
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with EN, then L</title>
+ <link rel="reference" href="dir_auto-EN-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A since digits are not strongly
+ directional, thus the direction must be resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="ltr">123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with EN, then L</title>
+ <link rel="reference" href="dir_auto-EN-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A since digits are not strongly
+ directional, thus the direction must be resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="auto">123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with EN, then R</title>
+ <link rel="reference" href="dir_auto-EN-R-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Hebrew letter Alef since digits are not strongly
+ directional, thus the direction must be resolved as RTL.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="rtl">123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ <div class="box">
+ <p dir="rtl">123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with EN, then R</title>
+ <link rel="reference" href="dir_auto-EN-R-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Hebrew letter Alef since digits are not strongly
+ directional, thus the direction must be resolved as RTL.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="auto">123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ <div class="box">
+ <p dir="rtl">123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with L</title>
+ <link rel="reference" href="dir_auto-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A, thus the direction must be
+ resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="ltr">ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with L</title>
+ <link rel="reference" href="dir_auto-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A, thus the direction must be
+ resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="auto">ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with N, then EN, then L</title>
+ <link rel="reference" href="dir_auto-N-EN-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A since neutrals and digits are not
+ strongly directional, thus the direction must be resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="ltr">.-=123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">.-=123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with N, then EN, then L</title>
+ <link rel="reference" href="dir_auto-N-EN-L-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Latin letter A since neutrals and digits are not
+ strongly directional, thus the direction must be resolved as LTR.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="auto">.-=123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ <div class="box">
+ <p dir="ltr">.-=123ABC&#x05d0;&#x05d1;&#x05d2;.</p>
+ </div>
+ </body>
+</html>
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>HTML Test: dir=auto, start with N, then EN, then R</title>
+ <link rel="reference" href="dir_auto-N-EN-R-ref.html">
+ <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouche@google.com">
+ <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com">
+ <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
+ <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute">
+ <meta name="assert" content="
+ When dir='auto', the direction is set according to the first strong character
+ of the text.
+ In this test, it is the Hebrew letter Alef since neutrals and digits are not
+ strongly directional, thus the direction must be resolved as RTL.">
+ <style>
+ body{
+ font-size:2em;
+ }
+ .box {
+ border: medium solid gray;
+ width: 400px;
+ margin: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ The two boxes below should look exactly the same.
+ <!-- Key to entities used below:
+ &#x05D0; - The Hebrew letter Alef (strongly RTL).
+ &#x05D1; - The Hebrew letter Bet (strongly RTL).
+ &#x05D2; - The Hebrew letter Gimel (strongly RTL). -->
+ <div class="box">
+ <p dir="rtl">.-=123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ <div class="box">
+ <p dir="rtl">.-=123&#x05d0;&#x05d1;&#x05d2;ABC.</p>
+ </div>
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit 78ee87b

Please sign in to comment.