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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssURLImageValue.html

Issue 2208283002: [Typed-OM] Add CSSURLImageValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CSSProperties_Image
Patch Set: Add unit test with CSSImageValue Created 4 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
Index: third_party/WebKit/LayoutTests/typedcssom/cssURLImageValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssURLImageValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssURLImageValue.html
new file mode 100644
index 0000000000000000000000000000000000000000..78ade9865527ba86b52ba56918c79e10b8915398
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssURLImageValue.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+
+<script>
+
+test(function() {
+ var bg = new CSSURLImageValue("https://s-media-cache-ak0.pinimg.com/736x/b7/49/fa/b749fa790b531d4fb8f2007bf74859f0.jpg");
meade_UTC10 2016/08/12 05:35:32 Don't use this URL. Anything else will do since it
anthonyhkf 2016/08/12 07:36:06 Done.
+ assert_equals(bg.state, "unloaded");
+}, "Can construct a new CSSURLImageValue object with url");
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698