Changeset 175631 in webkit
- Timestamp:
- Nov 5, 2014 12:10:56 PM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r175622 r175631 1 2014-11-05 Bem Jones-Bey <bjonesbe@adobe.com> 2 3 [CSS Shapes] shape-image-threshold parsing tests have a few failures 4 https://bugs.webkit.org/show_bug.cgi?id=138060 5 6 Reviewed by Dirk Schulze. 7 8 Remove testing for inline style from the CSSWG test because it isn't 9 specified and isn't consistent across browsers. This has been updated 10 upstream as well. 11 12 Add inline style tests to the WebKit test suite to make sure that 13 WebKIt doesn't lose coverage with this change. 14 15 * TestExpectations: 16 * css3/shapes/shape-outside/values/shape-image-threshold-001-expected.txt: 17 * css3/shapes/shape-outside/values/shape-image-threshold-001.html: 18 * fast/shapes/parsing/parsing-shape-image-threshold-expected.txt: 19 * fast/shapes/parsing/parsing-shape-image-threshold.html: 20 1 21 2014-11-05 Chris Dumez <cdumez@apple.com> 2 22 -
trunk/LayoutTests/TestExpectations
r175550 r175631 158 158 webkit.org/b/137788 css3/shapes/shape-outside/shape-image/shape-image-010.html [ ImageOnlyFailure ] 159 159 webkit.org/b/137788 css3/shapes/shape-outside/shape-image/shape-image-024.html [ ImageOnlyFailure ] 160 161 webkit.org/b/138060 css3/shapes/shape-outside/values/shape-image-threshold-001.html [ Failure ]162 160 163 161 # border painting diff (Path vs. drawLine) -
trunk/LayoutTests/css3/shapes/shape-outside/values/shape-image-threshold-001-expected.txt
r172757 r175631 1 1 2 PASS calc(10/100) - inline3 PASS calc(10/100 + 30/100) - inline4 PASS calc(150/100) - inline5 PASS calc(150/100 - 2) - inline6 2 PASS calc(10/100) - computed 7 3 PASS calc(10/100 + 30/100) - computed -
trunk/LayoutTests/css3/shapes/shape-outside/values/shape-image-threshold-001.html
r175255 r175631 19 19 { 20 20 "actual": "calc(10/100)", 21 "expected_inline": "calc(0.1)",22 21 "expected_computed": "0.1" 23 22 }, 24 23 { 25 24 "actual": "calc(10/100 + 30/100)", 26 "expected_inline": "calc(0.1 + 0.3)",27 25 "expected_computed": "0.4" 28 26 }, 29 27 { 30 28 "actual": "calc(150/100)", 31 "expected_inline": "calc(1.5)",32 29 "expected_computed": "1" 33 30 }, 34 31 { 35 32 "actual": "calc(150/100 - 2)", 36 "expected_inline": "calc(-0.5)",37 33 "expected_computed": "0" 38 34 } 39 35 ]; 40 generate_tests( ParsingUtils.testShapeThresholdInlineStyle,41 ParsingUtils.buildTestCases(shape_image_threshold_valid_tests, 'inline') );42 36 generate_tests( ParsingUtils.testShapeThresholdComputedStyle, 43 37 ParsingUtils.buildTestCases(shape_image_threshold_valid_tests, 'computed') ); -
trunk/LayoutTests/fast/shapes/parsing/parsing-shape-image-threshold-expected.txt
r156814 r175631 4 4 5 5 6 PASS getCSSText("-webkit-shape-image-threshold", "0") is "0" 7 PASS getCSSText("-webkit-shape-image-threshold", "0.5") is "0.5" 8 PASS getCSSText("-webkit-shape-image-threshold", "1") is "1" 9 PASS getCSSText("-webkit-shape-image-threshold", "-0.1") is "-0.1" 10 PASS getCSSText("-webkit-shape-image-threshold", "1.1") is "1.1" 11 PASS getCSSText("-webkit-shape-image-threshold", "identifier") is "" 12 PASS getCSSText("-webkit-shape-image-threshold", "'string'") is "" 13 PASS getCSSText("-webkit-shape-image-threshold", "calc(0.1 + 0.4)") is "calc(0.5)" 6 14 PASS getComputedStyleValue("-webkit-shape-image-threshold", "0") is "0" 7 15 PASS getComputedStyleValue("-webkit-shape-image-threshold", "0.5") is "0.5" … … 11 19 PASS getComputedStyleValue("-webkit-shape-image-threshold", "identifier") is "0" 12 20 PASS getComputedStyleValue("-webkit-shape-image-threshold", "'string'") is "0" 21 PASS getComputedStyleValue("-webkit-shape-image-threshold", "calc(0.1 + 0.4)") is "0.5" 13 22 PASS getChildComputedStyle("-webkit-shape-image-threshold", "0", "0") is "0" 14 23 PASS getChildComputedStyle("-webkit-shape-image-threshold", "0", "1") is "1" -
trunk/LayoutTests/fast/shapes/parsing/parsing-shape-image-threshold.html
r156851 r175631 12 12 13 13 applyToEachArglist( 14 testShapeSpecifiedProperty, 15 [// [property, value, expectedValue] 16 ["-webkit-shape-image-threshold", "0", "0"], 17 ["-webkit-shape-image-threshold", "0.5", "0.5"], 18 ["-webkit-shape-image-threshold", "1", "1"], 19 ["-webkit-shape-image-threshold", "-0.1", "-0.1"], 20 ["-webkit-shape-image-threshold", "1.1", "1.1"], 21 ["-webkit-shape-image-threshold", "identifier", ""], 22 ["-webkit-shape-image-threshold", "\'string\'", ""], 23 ["-webkit-shape-image-threshold", "calc(0.1 + 0.4)", "calc(0.5)"] 24 ] 25 ); 26 27 applyToEachArglist( 14 28 testShapeComputedProperty, 15 29 [// [property, value, expectedValue] … … 20 34 ["-webkit-shape-image-threshold", "1.1", "1"], 21 35 ["-webkit-shape-image-threshold", "identifier", "0"], 22 ["-webkit-shape-image-threshold", "\'string\'", "0"] 36 ["-webkit-shape-image-threshold", "\'string\'", "0"], 37 ["-webkit-shape-image-threshold", "calc(0.1 + 0.4)", "0.5"] 23 38 ] 24 39
Note: See TracChangeset
for help on using the changeset viewer.