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

Unified Diff: third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html

Issue 1541443002: Fix small bugs in new CSS Property parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V4 Created 5 years 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
Index: third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html
diff --git a/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html b/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html
new file mode 100644
index 0000000000000000000000000000000000000000..588680aa138e84509eec9d786c412f34424a105b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../resources/js-test.js"></script>
+<script src="../fast/css/getComputedStyle/resources/computed-style-listing.js"></script>
+<div id="target"></div>
+<script>
Timothy Loh 2016/01/06 00:14:52 Can we use testharness instead of js-test? Otherwi
rwlbuis 2016/01/06 08:11:03 Done.
+description("This test documents all computed styles on a div element.");
+ var style = getComputedStyle(target);
+ for (var i = 0; i < style.length; i++) {
+ var property = style.item(i);
+ shouldBeFalse("CSS.supports('" + property + "', '')");
+ shouldBeFalse("CSS.supports('" + property + "', ' ')");
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698