OLD | NEW |
1 <style> | 1 <style> |
2 .c6:first-letter { visibility: hidden; } | 2 .c6:first-letter { visibility: hidden; } |
3 .c6:nth-last-child(2n+10000000000000000) { text-align: -webkit-center; width: 10
px; } | 3 .c6:nth-last-child(2n+10000000000000000) { text-align: -webkit-center; width: 10
px; } |
4 .c26:first-letter { visibility: inherit; overflow: scroll; float: left;</style> | 4 .c26:first-letter { visibility: inherit; overflow: scroll; float: left;</style> |
5 <script> | 5 <script> |
6 if (window.layoutTestController) | 6 if (window.layoutTestController) |
7 layoutTestController.dumpAsText(); | 7 layoutTestController.dumpAsText(); |
8 | 8 |
9 function runTest() { | 9 function runTest() { |
10 var button = document.createElement('button'); | 10 var button = document.createElement('button'); |
11 button.setAttribute('class', 'c6'); | 11 button.setAttribute('class', 'c6'); |
12 document.documentElement.appendChild(button); | 12 document.documentElement.appendChild(button); |
13 document.documentElement.appendChild(document.createElement('dfn')); | 13 document.documentElement.appendChild(document.createElement('dfn')); |
14 var figCaption = document.createElement('figcaption'); | 14 var figCaption = document.createElement('figcaption'); |
15 figCaption.setAttribute('class', 'c26'); | 15 figCaption.setAttribute('class', 'c26'); |
16 document.documentElement.appendChild(document.createElement('var')); | 16 document.documentElement.appendChild(document.createElement('var')); |
17 document.documentElement.appendChild(document.createElement('summary')); | 17 document.documentElement.appendChild(document.createElement('summary')); |
18 var text = document.createTextNode("bug 70183: Crash in RenderDeprecatedFlex
ibleBox::layoutHorizontalBox"); | 18 var text = document.createTextNode("bug 70183: Crash in RenderDeprecatedFlex
ibleBox::layoutHorizontalBox"); |
19 figCaption.appendChild(text); | 19 figCaption.appendChild(text); |
20 button.appendChild(figCaption); | 20 button.appendChild(figCaption); |
21 document.body.offsetTop; | 21 document.body.offsetTop; |
22 document.documentElement.appendChild(document.createTextNode("If this test d
id not CRASH or show errors in valgrind, it has PASSED.")); | 22 document.documentElement.appendChild(document.createTextNode("If this test d
id not CRASH or show errors in valgrind, it has PASSED.")); |
23 } | 23 } |
24 window.onload = runTest; | 24 window.onload = runTest; |
25 </script> | 25 </script> |
OLD | NEW |