Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / invalid / test-case-tr-th-td-should-not-close-dl-list.html
blobc1d466d6baa80a9f0aed29a06adedf6183550dc1
1 <!doctype html>
2 <html>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <style type="text/css">
8 dt > p, dl > p { background-color: lime; outline: 1px solid lime; }
9 </style>
10 <body>
11 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=16913">bug 16913</a>:
12 TR, TH, TD elements incorrectly closes DL list</p>
13 <p>There should be two green bars below.</p>
15 <dt><tr><p>test
16 <dl><tr><p>test
17 <script>
18 for (var i = 2; i <= 3; i++) {
19 var x = document.getElementsByTagName("p")[i];
21 if (document.defaultView.getComputedStyle(x, null).getPropertyValue("outline-style") == "solid")
22 document.write("<div>PASSED.</div>");
23 else
24 document.write("<div>FAILED.</div>");
26 </script>
27 </html>