| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <script src="../../../resources/testharness.js"></script> | 3 <script src="../../../resources/testharness.js"></script> |
| 4 <script src="../../../resources/testharnessreport.js"></script> | 4 <script src="../../../resources/testharnessreport.js"></script> |
| 5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 6 <div id="container"> | 6 <div id="container"> |
| 7 <h2>dir=rtl inherits into shadow trees</h2> | 7 <h2>dir=rtl inherits into shadow trees</h2> |
| 8 <div id="dir-rtl-inherits" dir="rtl" data-dir-expected="rtl"> | 8 <div id="dir-rtl-inherits" dir="rtl" data-dir-expected="rtl"> |
| 9 <template> | 9 <template> |
| 10 <div id="target">The dir=rtl of host should inherit to shadow trees<
/div> | 10 <div id="target">The dir=rtl of host should inherit to shadow trees<
/div> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 <div> | 47 <div> |
| 48 <div id="dir-rtl-redistributed" data-dir-expected="rtl">Re-distributed</
div> | 48 <div id="dir-rtl-redistributed" data-dir-expected="rtl">Re-distributed</
div> |
| 49 <template> | 49 <template> |
| 50 <content></content> | 50 <content></content> |
| 51 </template> | 51 </template> |
| 52 <template> | 52 <template> |
| 53 <div dir="rtl"><shadow></shadow></div> | 53 <div dir="rtl"><shadow></shadow></div> |
| 54 </template> | 54 </template> |
| 55 </div> | 55 </div> |
| 56 | 56 |
| 57 <h2>dir=auto determines the first character in the composed tree</h2> | 57 <h2>dir=auto determines the first character in the flat tree</h2> |
| 58 <div id="dir-auto-english" dir="auto" data-dir-expected="ltr"> | 58 <div id="dir-auto-english" dir="auto" data-dir-expected="ltr"> |
| 59 <template>English text</template> | 59 <template>English text</template> |
| 60 </div> | 60 </div> |
| 61 <div id="dir-auto-hebrew" dir="auto" data-dir-expected="rtl"> | 61 <div id="dir-auto-hebrew" dir="auto" data-dir-expected="rtl"> |
| 62 <template>מקור השם עברית</template> | 62 <template>מקור השם עברית</template> |
| 63 </div> | 63 </div> |
| 64 <div id="dir-auto-hebrew-span" dir="auto" data-dir-expected="rtl"> | 64 <div id="dir-auto-hebrew-span" dir="auto" data-dir-expected="rtl"> |
| 65 <template><span>מקור השם עברית</span></template> | 65 <template><span>מקור השם עברית</span></template> |
| 66 </div> | 66 </div> |
| 67 <div id="dir-auto-distributed-english" dir="auto" data-dir-expected="ltr"> | 67 <div id="dir-auto-distributed-english" dir="auto" data-dir-expected="ltr"> |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 assert_equals(actualColor, "rgb(0, 128, 0)", description + " should
be right-to-left"); | 237 assert_equals(actualColor, "rgb(0, 128, 0)", description + " should
be right-to-left"); |
| 238 break; | 238 break; |
| 239 default: | 239 default: |
| 240 break; | 240 break; |
| 241 } | 241 } |
| 242 } | 242 } |
| 243 | 243 |
| 244 if (window.testRunner) | 244 if (window.testRunner) |
| 245 container.style.display = "none"; | 245 container.style.display = "none"; |
| 246 </script> | 246 </script> |
| OLD | NEW |