OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 /* | 5 /* |
6 * To fill missing UA styles which appears in the expected.html through the "li
ul" selector in html.css. | 6 * To fill missing UA styles which appears in the expected.html through the "li
ul" selector in html.css. |
7 * Following <ul> crosses shadow boundary and doesn't match it. | 7 * Following <ul> crosses shadow boundary and doesn't match it. |
8 * https://bugs.webkit.org/show_bug.cgi?id=92192 | 8 * https://bugs.webkit.org/show_bug.cgi?id=92192 |
9 */ | 9 */ |
10 * /deep/ ul { | 10 * /deep/ ul { |
(...skipping 11 matching lines...) Expand all Loading... |
22 </ol> | 22 </ol> |
23 </div> | 23 </div> |
24 <script> | 24 <script> |
25 // The tree to be created: | 25 // The tree to be created: |
26 // | 26 // |
27 // <ol> | 27 // <ol> |
28 // <li>A</li> | 28 // <li>A</li> |
29 // <li>B | 29 // <li>B |
30 // #document-fragment | 30 // #document-fragment |
31 // <li>X</li> | 31 // <li>X</li> |
32 // <ul><shadow><content></content></shadow></ul> | 32 // <ul><shadow></shadow></ul> |
33 // <li>Y</li> | 33 // <li>Y</li> |
34 // </li> | 34 // </li> |
35 // <li>C</li> | 35 // <li>C</li> |
36 // </ol> | 36 // </ol> |
37 var host = document.getElementById("host"); | 37 var host = document.getElementById("host"); |
38 var shadow = host.createShadowRoot(); | 38 var shadow = host.createShadowRoot(); |
39 shadow.innerHTML = "<li>X</li><ul><shadow><content></content></shadow></ul><li>Y
</li>"; | 39 shadow.innerHTML = "<li>X</li><ul><shadow></shadow></ul><li>Y</li>"; |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |