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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html

Issue 2529043002: [CSS Typed OM] Add a property test generator for testing the inline StylePropertyMap (Closed)
Patch Set: Fix typo Created 4 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/typedcssom/inlinestyle/properties/bottom.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html
new file mode 100644
index 0000000000000000000000000000000000000000..b6886b1aad6e0403938958193359b60cf5774982
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<script src='../../../resources/testharness.js'></script>
+<script src='../../../resources/testharnessreport.js'></script>
+<script src='property-suite.js'></script>
+
+<div id="testElement"></div>
+
+<script>
+
+runInlineStylePropertyMapTests({
+ property: 'bottom',
+ validKeywords: [
+ 'auto'
+ ],
+ validObjects: [
+ new CSSSimpleLength(1, 'px'),
+ new CSSSimpleLength(2, 'percent'),
+ new CSSSimpleLength(3, 'em'),
+ new CSSCalcLength({px: 1, percent: 10}),
+ ],
+ supportsMultiple: false,
+ invalidObjects: [new CSSNumberValue(1)]
+});
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698