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

Side by Side 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 background-size logic 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script src="../../resources/js-test.js"></script>
4 <div id="test"> </div>
5 <script>
6 description("Tests a flag to make background shorthand property not override bac kground-size when it's already set.");
Timothy Loh 2016/03/07 03:55:07 needs update
rwlbuis 2016/03/08 02:51:49 Done.
rwlbuis 2016/03/08 02:51:49 Done.
7
8 var e = document.getElementById('test');
9
10 e.style.background = "url('a') content-box padding-box, url('b') border-box";
11 //e.style.background = "url('a') border-box";
Timothy Loh 2016/03/07 03:55:07 remove this?
rwlbuis 2016/03/08 02:51:49 Done.
12 shouldBeEqualToString("e.style.backgroundOrigin", 'content-box, border-box');
13 shouldBeEqualToString("e.style.backgroundClip", 'padding-box, border-box');
14 debug("")
Timothy Loh 2016/03/07 03:55:07 does this do anything?
rwlbuis 2016/03/08 02:51:49 Just adds a newline to expected result, removed.
15
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698