OLD | NEW |
| (Empty) |
1 This layout test used to test that correct shorthand name is returned for backgr
ound-repeat-x, background-repeat-y, background-position-x, background-position-y
, -webkit-mask-repeat-x,-webkit-mask-repeat-y, -webkit-mask-position-x, -webkit-
mask-position-y when corresponding shorthand is used in the style declaration. I
t tests regression described in this bug. Now that access to non author styleshe
et is blocked, we should instead get null when accessing the css rules on that o
bject. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS getShorthand("background-repeat-x", "icon1") is "null" | |
7 PASS getShorthand("background-repeat-y", "icon1") is "null" | |
8 PASS getShorthand("background-repeat", "icon1") is "null" | |
9 PASS getShorthand("background-position-x", "icon1") is "null" | |
10 PASS getShorthand("background-position-y", "icon1") is "null" | |
11 PASS getShorthand("background-position", "icon1") is "null" | |
12 PASS getShorthand("-webkit-mask-repeat-x", "icon1") is "null" | |
13 PASS getShorthand("-webkit-mask-repeat-y", "icon1") is "null" | |
14 PASS getShorthand("-webkit-mask-repeat", "icon1") is "null" | |
15 PASS getShorthand("-webkit-mask-position-x", "icon1") is "null" | |
16 PASS getShorthand("-webkit-mask-position-y", "icon1") is "null" | |
17 PASS getShorthand("-webkit-mask-repeat", "icon1") is "null" | |
18 PASS getShorthand("background-repeat-x", "icon2") is "null" | |
19 PASS getShorthand("background-repeat-y", "icon2") is "null" | |
20 PASS getShorthand("background-repeat", "icon2") is "null" | |
21 PASS getShorthand("background-position-x", "icon2") is "null" | |
22 PASS getShorthand("background-position-y", "icon2") is "null" | |
23 PASS getShorthand("background-position", "icon2") is "null" | |
24 PASS getShorthand("-webkit-mask-repeat-x", "icon2") is "null" | |
25 PASS getShorthand("-webkit-mask-repeat-y", "icon2") is "null" | |
26 PASS getShorthand("-webkit-mask-repeat", "icon2") is "null" | |
27 PASS getShorthand("-webkit-mask-position-x", "icon2") is "null" | |
28 PASS getShorthand("-webkit-mask-position-y", "icon2") is "null" | |
29 PASS getShorthand("-webkit-mask-repeat", "icon2") is "null" | |
30 PASS successfullyParsed is true | |
31 | |
32 TEST COMPLETE | |
33 | |
OLD | NEW |