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

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

Issue 2583063002: Add common test configs for properties that take lengths (Closed)
Patch Set: Remove extra whitespace Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/width.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/width.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/width.html
new file mode 100644
index 0000000000000000000000000000000000000000..95e0b2a2d43539ffbf520fd77020e429db3729c4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/width.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src='../../../resources/testharness.js'></script>
+<script src='../../../resources/testharnessreport.js'></script>
+<script src='property-suite.js'></script>
+<script src='config-templates.js'></script>
+<script>
+let config = config_templates.lengthPercentConfig();
+config['property'] = 'width';
+config['validKeywords'] = [
+ // 'available', Not yet supported in Chrome
+ 'max-content',
+ 'min-content',
+ 'fit-content',
+ 'auto'
+];
+runInlineStylePropertyMapTests(config);
+</script>

Powered by Google App Engine
This is Rietveld 408576698