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 * /shadow-deep/ ul { | 10 * /deep/ ul { |
11 -webkit-margin-before: 0px; | 11 -webkit-margin-before: 0px; |
12 -webkit-margin-after: 0px; | 12 -webkit-margin-after: 0px; |
13 } | 13 } |
14 </style> | 14 </style> |
15 </head> | 15 </head> |
16 <body> | 16 <body> |
17 <div> | 17 <div> |
18 <ol> | 18 <ol> |
19 <li>A</li> | 19 <li>A</li> |
20 <li id="host">B</li> | 20 <li id="host">B</li> |
(...skipping 12 matching lines...) Expand all Loading... |
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><content></content></shadow></ul><li>Y
</li>"; |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |