OLD | NEW |
| (Empty) |
1 description('Test parsing of the CSS wrap-through property.'); | |
2 | |
3 if (window.internals) | |
4 window.internals.settings.setCSSExclusionsEnabled(true); | |
5 | |
6 // The test functions and globals used here are defined parsing-test-utils.js. | |
7 | |
8 applyToEachArglist( | |
9 testExclusionSpecifiedProperty, | |
10 [// [property, value, expectedValue] | |
11 ["-webkit-wrap-through", "wrap", "wrap"], | |
12 ["-webkit-wrap-through", "none", "none"], | |
13 ["-webkit-wrap-through", ";", ""], | |
14 ["-webkit-wrap-through", "5", ""], | |
15 ["-webkit-wrap-through", "-1.2", ""], | |
16 ["-webkit-wrap-through", "\'string\'", ""]] | |
17 ); | |
18 | |
19 applyToEachArglist( | |
20 testExclusionComputedProperty, | |
21 [// [property, value, expectedValue] | |
22 ["-webkit-wrap-through", "wrap", "wrap"], | |
23 ["-webkit-wrap-through", "5", "wrap"], | |
24 ["-webkit-wrap-through", "\'string\'", "wrap"]] | |
25 ); | |
26 | |
27 applyToEachArglist( | |
28 testNotInheritedExclusionChildProperty, | |
29 [// [property, parentValue, childValue, expectedChildValue] | |
30 ["-webkit-wrap-through", "wrap", "none", "none"], | |
31 ["-webkit-wrap-through", "none", "wrap", "wrap"]] | |
32 ); | |
OLD | NEW |