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>
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
);