Index: LayoutTests/fast/check-layout-error-no-attributes.html |
diff --git a/LayoutTests/fast/check-layout-error-no-attributes.html b/LayoutTests/fast/check-layout-error-no-attributes.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..912b133a305cd4c62da5831274687c33531ca906 |
--- /dev/null |
+++ b/LayoutTests/fast/check-layout-error-no-attributes.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+ <script src="../resources/check-layout.js"></script> |
+ <p> webkit.org/b/114900: checkLayout() should error out if the layout wasn't checked. </p> |
+ <span style="background-color: green;">xxx <span style="background-color:blue;" data-total-invalid-attribute=0>yyy</span></span> |
+ <script> |
+ checkLayout('span > span'); |
+ </script> |
+</body> |
+</html> |