Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: LayoutTests/fast/check-layout-error-no-attributes.html

Issue 22918026: Porting WebKit 114900 to blink: checkLayout() should error out if no data-expected* attributes were… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/check-layout-error-no-attributes-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/check-layout-error-no-attributes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698