OLD | NEW |
---|---|
(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> | |
OLD | NEW |