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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html

Issue 2714663002: Make background-image and border-*-style accept CSSKeywordValue('none') as an acceptable value (Closed)
Patch Set: Addressing comments Created 3 years, 10 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 | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-bottom-style.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html
new file mode 100644
index 0000000000000000000000000000000000000000..9d3c3f7860b7e637100cb9055138392a7aeb7a50
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html
@@ -0,0 +1,20 @@
+<!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>
+runInlineStylePropertyMapTests( {
+ property: 'background-image',
+ validKeywords: [
+ 'none',
+ ],
+ validObjects: [
+ new CSSURLImageValue(window.location.href + 'resources/1x1-green.jpg'),
+ // new CSSURLImageValue('') - This will be introduced in a later patch and crashes for now.
+ ],
+ supportsMultiple: false,
+ invalidObjects: [new CSSSimpleLength(4, 'px')]
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-bottom-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698