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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html

Issue 1676513003: Move background/webkit-mask shorthands into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..8f5284f0dc5dc15aaf1e10b1ca8b922f1419a3cf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<script src="../../resources/js-test.js"></script>
+<div id="test"> </div>
+<script>
+description("Tests that background shorthand property parsing will deal correctly with clip values in multiple layers.");
+
+var e = document.getElementById('test');
+
+e.style.background = "url('a') content-box padding-box, url('b') border-box";
+shouldBeEqualToString("e.style.backgroundOrigin", 'content-box, border-box');
+shouldBeEqualToString("e.style.backgroundClip", 'padding-box, border-box');
+
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698