Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / harness / check-layout-error-no-attributes.html
blob938a9b046d9cd322a1dcd3b32c4719f7934ee26d
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/check-layout.js"></script>
5 <p> webkit.org/b/114900: checkLayout() should error out if the layout wasn't checked. </p>
6 <span style="background-color: green;">xxx <span style="background-color:blue;" data-total-invalid-attribute=0>yyy</span></span>
7 <script>
8 checkLayout('span > span');
9 var lastChild = document.body.lastChild;
10 if (lastChild.textContent.indexOf("No valid data-* attributes") != -1)
11 document.body.replaceChild(document.createTextNode("PASS: The check for valid data-* attributes worked as expected."), lastChild);
12 </script>
13 </body>
14 </html>