Changeset 167620 in webkit
- Timestamp:
- Apr 21, 2014 1:44:01 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167619 r167620 1 2014-04-21 Rik Cabanier <cabanier@adobe.com> 2 3 [CSS Blending] Remove support for non-separable blend modes from mix-blend-mode 4 https://bugs.webkit.org/show_bug.cgi?id=131824 5 6 Reviewed by Dean Jackson. 7 8 Removed or updated tests that used non-separable blend modes in combination 9 with mix-blend-mode. 10 11 * css3/compositing/blend-mode-property-expected.txt: 12 * css3/compositing/blend-mode-property-parsing-expected.txt: 13 * css3/compositing/blend-mode-simple-composited.html: 14 * css3/compositing/blend-mode-simple.html: 15 * css3/compositing/script-tests/blend-mode-property-parsing.js: 16 * css3/compositing/script-tests/blend-mode-property.js: 17 * css3/compositing/svg-blend-color.html: Removed. 18 * css3/compositing/svg-blend-hue.html: Removed. 19 * css3/compositing/svg-blend-luminosity.html: Removed. 20 * css3/compositing/svg-blend-saturation.html: Removed. 21 * platform/mac/css3/compositing/blend-mode-simple-composited-expected.txt: 22 * platform/mac/css3/compositing/blend-mode-simple-expected.txt: 23 1 24 2014-04-21 David Hyatt <hyatt@apple.com> 2 25 -
trunk/LayoutTests/css3/compositing/blend-mode-property-expected.txt
r167448 r167620 40 40 PASS declaration.length is 1 41 41 PASS declaration.getPropertyValue('mix-blend-mode') is 'exclusion' 42 PASS cssRule.type is 143 PASS declaration.length is 144 PASS declaration.getPropertyValue('mix-blend-mode') is 'hue'45 PASS cssRule.type is 146 PASS declaration.length is 147 PASS declaration.getPropertyValue('mix-blend-mode') is 'saturation'48 PASS cssRule.type is 149 PASS declaration.length is 150 PASS declaration.getPropertyValue('mix-blend-mode') is 'color'51 PASS cssRule.type is 152 PASS declaration.length is 153 PASS declaration.getPropertyValue('mix-blend-mode') is 'luminosity'54 42 PASS successfullyParsed is true 55 43 -
trunk/LayoutTests/css3/compositing/blend-mode-property-parsing-expected.txt
r167448 r167620 100 100 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' 101 101 PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor' 102 103 Basic reference : hue104 PASS cssRule.type is 1105 PASS declaration.length is 1106 PASS declaration.getPropertyValue('mix-blend-mode') is 'hue'107 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'108 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'109 PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'110 111 Basic reference : saturation112 PASS cssRule.type is 1113 PASS declaration.length is 1114 PASS declaration.getPropertyValue('mix-blend-mode') is 'saturation'115 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'116 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'117 PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'118 119 Basic reference : color120 PASS cssRule.type is 1121 PASS declaration.length is 1122 PASS declaration.getPropertyValue('mix-blend-mode') is 'color'123 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'124 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'125 PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'126 127 Basic reference : luminosity128 PASS cssRule.type is 1129 PASS declaration.length is 1130 PASS declaration.getPropertyValue('mix-blend-mode') is 'luminosity'131 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'132 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'133 PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'134 102 PASS successfullyParsed is true 135 103 -
trunk/LayoutTests/css3/compositing/blend-mode-simple-composited.html
r167448 r167620 40 40 <li><img style="mix-blend-mode: difference" src="resources/ducky.png"></li> 41 41 <li><img style="mix-blend-mode: exclusion" src="resources/ducky.png"></li> 42 <!-- Non separable blend modes -->43 <li><img style="mix-blend-mode: hue" src="resources/ducky.png"></li>44 <li><img style="mix-blend-mode: saturation" src="resources/ducky.png"></li>45 <li><img style="mix-blend-mode: color" src="resources/ducky.png"></li>46 <li><img style="mix-blend-mode: luminosity" src="resources/ducky.png"></li>47 42 </ul> 48 43 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-simple.html
r167539 r167620 39 39 <li><img style="mix-blend-mode: difference" src="resources/ducky.png"></li> 40 40 <li><img style="mix-blend-mode: exclusion" src="resources/ducky.png"></li> 41 <!-- Non separable blend modes -->42 <li><img style="mix-blend-mode: hue" src="resources/ducky.png"></li>43 <li><img style="mix-blend-mode: saturation" src="resources/ducky.png"></li>44 <li><img style="mix-blend-mode: color" src="resources/ducky.png"></li>45 <li><img style="mix-blend-mode: luminosity" src="resources/ducky.png"></li>46 41 </ul> 47 42 </body> -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property-parsing.js
r167448 r167620 44 44 } 45 45 46 var blendmodes = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion" , "hue", "saturation", "color", "luminosity"];46 var blendmodes = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion"]; 47 47 48 48 for(x in blendmodes) -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property.js
r167448 r167620 21 21 } 22 22 23 var blendmodes = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion" , "hue", "saturation", "color", "luminosity"];23 var blendmodes = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion"]; 24 24 25 25 for(x in blendmodes) -
trunk/LayoutTests/platform/mac/css3/compositing/blend-mode-simple-composited-expected.txt
r167424 r167620 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x 576 isolatesBlending4 RenderBlock {HTML} at (0,0) size 800x 5763 layer at (0,0) size 800x436 isolatesBlending 4 RenderBlock {HTML} at (0,0) size 800x436 5 5 RenderBody {BODY} at (8,16) size 784x0 6 6 RenderBlock {UL} at (0,0) size 784x0 … … 17 17 RenderBlock (floating) {LI} at (45,285) size 130x130 18 18 RenderBlock (floating) {LI} at (185,285) size 130x130 19 RenderBlock (floating) {LI} at (325,285) size 130x13020 RenderBlock (floating) {LI} at (465,285) size 130x13021 RenderBlock (floating) {LI} at (605,285) size 130x13022 RenderBlock (floating) {LI} at (45,425) size 130x13023 19 layer at (53,21) size 130x130 24 20 RenderImage {IMG} at (0,0) size 130x130 … … 45 41 layer at (193,301) size 130x130 blendMode: exclusion 46 42 RenderImage {IMG} at (0,0) size 130x130 47 layer at (333,301) size 130x130 blendMode: hue48 RenderImage {IMG} at (0,0) size 130x13049 layer at (473,301) size 130x130 blendMode: saturation50 RenderImage {IMG} at (0,0) size 130x13051 layer at (613,301) size 130x130 blendMode: color52 RenderImage {IMG} at (0,0) size 130x13053 layer at (53,441) size 130x130 blendMode: luminosity54 RenderImage {IMG} at (0,0) size 130x130 -
trunk/LayoutTests/platform/mac/css3/compositing/blend-mode-simple-expected.txt
r167424 r167620 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x 576 isolatesBlending4 RenderBlock {HTML} at (0,0) size 800x 5763 layer at (0,0) size 800x436 isolatesBlending 4 RenderBlock {HTML} at (0,0) size 800x436 5 5 RenderBody {BODY} at (8,16) size 784x0 6 6 RenderBlock {UL} at (0,0) size 784x0 … … 18 18 RenderBlock (floating) {LI} at (45,285) size 130x130 19 19 RenderBlock (floating) {LI} at (185,285) size 130x130 20 RenderBlock (floating) {LI} at (325,285) size 130x13021 RenderBlock (floating) {LI} at (465,285) size 130x13022 RenderBlock (floating) {LI} at (605,285) size 130x13023 RenderBlock (floating) {LI} at (45,425) size 130x13024 20 layer at (193,21) size 130x130 blendMode: overlay 25 21 RenderImage {IMG} at (0,0) size 130x130 … … 44 40 layer at (193,301) size 130x130 blendMode: exclusion 45 41 RenderImage {IMG} at (0,0) size 130x130 46 layer at (333,301) size 130x130 blendMode: hue47 RenderImage {IMG} at (0,0) size 130x13048 layer at (473,301) size 130x130 blendMode: saturation49 RenderImage {IMG} at (0,0) size 130x13050 layer at (613,301) size 130x130 blendMode: color51 RenderImage {IMG} at (0,0) size 130x13052 layer at (53,441) size 130x130 blendMode: luminosity53 RenderImage {IMG} at (0,0) size 130x130 -
trunk/Source/WebCore/ChangeLog
r167617 r167620 1 2014-04-21 Rik Cabanier <cabanier@adobe.com> 2 3 [CSS Blending] Remove support for non-separable blend modes from mix-blend-mode 4 https://bugs.webkit.org/show_bug.cgi?id=131824 5 6 Reviewed by Dean Jackson. 7 8 Removed support for non-separable blend modes from the CSS parser. 9 10 Covered by existing tests 11 12 * css/CSSParser.cpp: 13 (WebCore::isValidKeywordPropertyAndValue): 14 * platform/graphics/ca/mac/PlatformCAFiltersMac.mm: 15 (PlatformCAFilters::setBlendingFiltersOnLayer): 16 1 17 2014-04-21 David Hyatt <hyatt@apple.com> 2 18 -
trunk/Source/WebCore/css/CSSParser.cpp
r167448 r167620 817 817 || valueID == CSSValueOverlay || valueID == CSSValueDarken || valueID == CSSValueLighten || valueID == CSSValueColorDodge 818 818 || valueID == CSSValueColorBurn || valueID == CSSValueHardLight || valueID == CSSValueSoftLight || valueID == CSSValueDifference 819 || valueID == CSSValueExclusion || valueID == CSSValueHue || valueID == CSSValueSaturation || valueID == CSSValueColor 820 || valueID == CSSValueLuminosity)) 819 || valueID == CSSValueExclusion)) 821 820 return true; 822 821 break; -
trunk/Source/WebCore/platform/graphics/ca/mac/PlatformCAFiltersMac.mm
r167553 r167620 582 582 filter = [CAFilter filterWithType:kCAFilterScreenBlendMode]; 583 583 break; 584 case BlendModeHue: 585 case BlendModeSaturation: 586 case BlendModeColor: 587 case BlendModeLuminosity: 588 // Non-separable blend modes are not supported. 589 break; 584 default: 585 ASSERT_NOT_REACHED(); 590 586 } 591 587
Note: See TracChangeset
for help on using the changeset viewer.