| OLD | NEW |
| (Empty) |
| 1 description('Test parsing of the CSS wrap-flow 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-flow", "auto", "auto"], | |
| 12 ["-webkit-wrap-flow", "both", "both"], | |
| 13 ["-webkit-wrap-flow", "start", "start"], | |
| 14 ["-webkit-wrap-flow", "end", "end"], | |
| 15 ["-webkit-wrap-flow", "maximum", "maximum"], | |
| 16 ["-webkit-wrap-flow", "clear", "clear"], | |
| 17 ["-webkit-wrap-flow", ";", ""], | |
| 18 ["-webkit-wrap-flow", "5", ""], | |
| 19 ["-webkit-wrap-flow", "-1.2", ""], | |
| 20 ["-webkit-wrap-flow", "\'string\'", ""]] | |
| 21 ); | |
| 22 | |
| 23 applyToEachArglist( | |
| 24 testExclusionComputedProperty, | |
| 25 [// [property, value, expectedValue] | |
| 26 ["-webkit-wrap-flow", "auto", "auto"], | |
| 27 ["-webkit-wrap-flow", "5", "auto"], | |
| 28 ["-webkit-wrap-flow", "\'string\'", "auto"]] | |
| 29 ); | |
| 30 | |
| 31 applyToEachArglist( | |
| 32 testNotInheritedExclusionChildProperty, | |
| 33 [// [property, parentValue, childValue, expectedChildValue] | |
| 34 ["-webkit-wrap-flow", "auto", "start", "start"], | |
| 35 ["-webkit-wrap-flow", "end", "auto", "auto"], | |
| 36 ["-webkit-wrap-flow", "both", "clear", "clear"]] | |
| 37 ); | |
| OLD | NEW |