Changeset 167448 in webkit
- Timestamp:
- Apr 17, 2014, 1:24:43 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167441 r167448 1 2014-04-17 Rik Cabanier <cabanier@adobe.com> 2 3 [CSS Blending] Remove the -webkit- prefix for mix-blend-mode and isolation CSS properties 4 https://bugs.webkit.org/show_bug.cgi?id=131355 5 6 Reviewed by Dean Jackson. 7 8 Removed prefix from mix-blend-mode and isolation in layout tests. 9 10 * css3/compositing/blend-mode-accelerated-with-multiple-stacking-contexts.html: 11 * css3/compositing/blend-mode-ancestor-clipping-layer.html: 12 * css3/compositing/blend-mode-background.html: 13 * css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer.html: 14 * css3/compositing/blend-mode-isolated-group-1.html: 15 * css3/compositing/blend-mode-isolated-group-2.html: 16 * css3/compositing/blend-mode-isolated-group-3.html: 17 * css3/compositing/blend-mode-layers.html: 18 * css3/compositing/blend-mode-parent-of-composited-blended-has-layer.html: 19 * css3/compositing/blend-mode-property-expected.txt: 20 * css3/compositing/blend-mode-property-parsing-expected.txt: 21 * css3/compositing/blend-mode-property-parsing-invalid-expected.txt: 22 * css3/compositing/blend-mode-reflection.html: 23 * css3/compositing/blend-mode-simple-composited.html: 24 * css3/compositing/blend-mode-simple.html: 25 * css3/compositing/blend-mode-transform-style-expected.txt: 26 * css3/compositing/blend-mode-transform-style.html: 27 * css3/compositing/blend-mode-with-accelerated-sibling.html: 28 * css3/compositing/blend-mode-with-composited-descendant-should-have-layer.html: 29 * css3/compositing/isolation-isolate-blended-child-expected.html: 30 * css3/compositing/isolation-isolate-blended-child.html: 31 * css3/compositing/isolation-parsing.html: 32 * css3/compositing/script-tests/blend-mode-property-parsing-invalid.js: 33 (testInvalidFilterRule): 34 * css3/compositing/script-tests/blend-mode-property-parsing.js: 35 (testBlendModeRule): 36 * css3/compositing/script-tests/blend-mode-property.js: 37 (testblendmode): 38 * css3/compositing/svg-blend-color-dodge.html: 39 * css3/compositing/svg-blend-color.html: 40 * css3/compositing/svg-blend-hard-light.html: 41 * css3/compositing/svg-blend-hue.html: 42 * css3/compositing/svg-blend-layer-blend.html: 43 * css3/compositing/svg-blend-layer-clip-path.html: 44 * css3/compositing/svg-blend-layer-filter.html: 45 * css3/compositing/svg-blend-layer-opacity.html: 46 * css3/compositing/svg-blend-layer-shadow.html: 47 * css3/compositing/svg-blend-luminosity.html: 48 * css3/compositing/svg-blend-multiply-alpha.html: 49 * css3/compositing/svg-blend-multiply.html: 50 * css3/compositing/svg-blend-saturation.html: 51 * css3/compositing/svg-blend-screen.html: 52 * css3/compositing/svg-blend-soft-light.html: 53 * css3/compositing/svg-isolation-default-expected.html: 54 * css3/compositing/svg-isolation-default.html: 55 * css3/compositing/svg-isolation-isolated-group-expected.html: 56 * css3/compositing/svg-isolation-isolated-group.html: 57 * fast/repaint/blend-mode-isolate-stacking-context.html: 58 * inspector-protocol/layers/layers-blending-compositing-reasons.html: 59 * transitions/blendmode-transitions-expected.txt: 60 * transitions/blendmode-transitions.html: 61 1 62 2014-04-16 Jer Noble <jer.noble@apple.com> 2 63 -
trunk/LayoutTests/css3/compositing/blend-mode-accelerated-with-multiple-stacking-contexts.html
r166634 r167448 6 6 } 7 7 .blended { 8 -webkit-mix-blend-mode: multiply;8 mix-blend-mode: multiply; 9 9 } 10 10 .child { … … 14 14 } 15 15 .parent { 16 -webkit-isolation: isolate;16 isolation: isolate; 17 17 } 18 18 </style> -
trunk/LayoutTests/css3/compositing/blend-mode-ancestor-clipping-layer.html
r166526 r167448 15 15 background: red; 16 16 -webkit-transform:translateZ(0px); 17 -webkit-mix-blend-mode: difference;17 mix-blend-mode: difference; 18 18 } 19 19 </style> -
trunk/LayoutTests/css3/compositing/blend-mode-background.html
r165970 r167448 7 7 width: 60px; 8 8 height: 60px; 9 -webkit-mix-blend-mode: difference;9 mix-blend-mode: difference; 10 10 background: red; 11 11 } -
trunk/LayoutTests/css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer.html
r164480 r167448 13 13 .blender { 14 14 margin-top: -30px; 15 -webkit-mix-blend-mode: difference;15 mix-blend-mode: difference; 16 16 } 17 17 </style> -
trunk/LayoutTests/css3/compositing/blend-mode-isolated-group-1.html
r164579 r167448 1 1 <!DOCTYPE HTML> 2 <!-- Test that an element having -webkit-mix-blend-mode applied blends only with the contents of the parent stacking context.-->2 <!-- Test that an element having mix-blend-mode applied blends only with the contents of the parent stacking context.--> 3 3 <style> 4 4 body { … … 20 20 .child { 21 21 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; 22 -webkit-mix-blend-mode: multiply;22 mix-blend-mode: multiply; 23 23 } 24 24 -
trunk/LayoutTests/css3/compositing/blend-mode-isolated-group-2.html
r164579 r167448 1 1 <!DOCTYPE HTML> 2 <!-- Test that an element having -webkit-mix-blend-mode applied blends only with the contents of the parent stacking context.-->2 <!-- Test that an element having mix-blend-mode applied blends only with the contents of the parent stacking context.--> 3 3 <style> 4 4 body { … … 21 21 .child { 22 22 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; 23 -webkit-mix-blend-mode: multiply;23 mix-blend-mode: multiply; 24 24 } 25 25 -
trunk/LayoutTests/css3/compositing/blend-mode-isolated-group-3.html
r164579 r167448 1 1 <!DOCTYPE HTML> 2 <!-- Test that an element having -webkit-mix-blend-mode applied blends only with the contents of the parent stacking context.2 <!-- Test that an element having mix-blend-mode applied blends only with the contents of the parent stacking context. 3 3 Test that the contents of a blended element blend as a whole with the parent stacking context.--> 4 4 <style> … … 22 22 .blender { 23 23 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; 24 -webkit-mix-blend-mode: multiply;24 mix-blend-mode: multiply; 25 25 } 26 26 -
trunk/LayoutTests/css3/compositing/blend-mode-layers.html
r164480 r167448 61 61 62 62 <!-- setting the blendmode will create a new stacking context which causes z-index to change --> 63 <li><div class="div1"><div class="div2" style=" -webkit-mix-blend-mode: multiply"><div class="div3"></div></div></div></li>64 <li><div class="div1"><div class="div2 composited" style=" -webkit-mix-blend-mode: multiply"><div class="div3"></div></div></div></li>63 <li><div class="div1"><div class="div2" style="mix-blend-mode: multiply"><div class="div3"></div></div></div></li> 64 <li><div class="div1"><div class="div2 composited" style="mix-blend-mode: multiply"><div class="div3"></div></div></div></li> 65 65 66 66 <!-- just setting slight opacity which causes a stacking context. This also causes z-index to be resolved to the stacking context --> … … 68 68 69 69 <!-- blending will now only happen upto the stacking context generated by opacity. Z-index is resolved against the stacking context of the div with the blendmode --> 70 <li><div class="div1" style="opacity:.99"><div class="div2" style=" -webkit-mix-blend-mode: multiply"><div class="div3"></div></div></div></li>71 <li><div class="div1" style="opacity:.99"><div class="div2 composited" style=" -webkit-mix-blend-mode: multiply"><div class="div3"></div></div></div></li>70 <li><div class="div1" style="opacity:.99"><div class="div2" style="mix-blend-mode: multiply"><div class="div3"></div></div></div></li> 71 <li><div class="div1" style="opacity:.99"><div class="div2 composited" style="mix-blend-mode: multiply"><div class="div3"></div></div></div></li> 72 72 </ul> 73 73 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-parent-of-composited-blended-has-layer.html
r164480 r167448 8 8 } 9 9 .blender { 10 -webkit-mix-blend-mode: difference;10 mix-blend-mode: difference; 11 11 -webkit-transform: translateZ(0); 12 12 margin: 10px; -
trunk/LayoutTests/css3/compositing/blend-mode-property-expected.txt
r164480 r167448 1 Test the parsing of the -webkit-mix-blend-mode property.1 Test the parsing of the mix-blend-mode property. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 6 6 PASS cssRule.type is 1 7 7 PASS declaration.length is 1 8 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'normal'8 PASS declaration.getPropertyValue('mix-blend-mode') is 'normal' 9 9 PASS cssRule.type is 1 10 10 PASS declaration.length is 1 11 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'multiply'11 PASS declaration.getPropertyValue('mix-blend-mode') is 'multiply' 12 12 PASS cssRule.type is 1 13 13 PASS declaration.length is 1 14 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'screen'14 PASS declaration.getPropertyValue('mix-blend-mode') is 'screen' 15 15 PASS cssRule.type is 1 16 16 PASS declaration.length is 1 17 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'overlay'17 PASS declaration.getPropertyValue('mix-blend-mode') is 'overlay' 18 18 PASS cssRule.type is 1 19 19 PASS declaration.length is 1 20 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'darken'20 PASS declaration.getPropertyValue('mix-blend-mode') is 'darken' 21 21 PASS cssRule.type is 1 22 22 PASS declaration.length is 1 23 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'lighten'23 PASS declaration.getPropertyValue('mix-blend-mode') is 'lighten' 24 24 PASS cssRule.type is 1 25 25 PASS declaration.length is 1 26 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color-dodge'26 PASS declaration.getPropertyValue('mix-blend-mode') is 'color-dodge' 27 27 PASS cssRule.type is 1 28 28 PASS declaration.length is 1 29 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color-burn'29 PASS declaration.getPropertyValue('mix-blend-mode') is 'color-burn' 30 30 PASS cssRule.type is 1 31 31 PASS declaration.length is 1 32 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'hard-light'32 PASS declaration.getPropertyValue('mix-blend-mode') is 'hard-light' 33 33 PASS cssRule.type is 1 34 34 PASS declaration.length is 1 35 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'soft-light'35 PASS declaration.getPropertyValue('mix-blend-mode') is 'soft-light' 36 36 PASS cssRule.type is 1 37 37 PASS declaration.length is 1 38 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'difference'38 PASS declaration.getPropertyValue('mix-blend-mode') is 'difference' 39 39 PASS cssRule.type is 1 40 40 PASS declaration.length is 1 41 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'exclusion'41 PASS declaration.getPropertyValue('mix-blend-mode') is 'exclusion' 42 42 PASS cssRule.type is 1 43 43 PASS declaration.length is 1 44 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'hue'44 PASS declaration.getPropertyValue('mix-blend-mode') is 'hue' 45 45 PASS cssRule.type is 1 46 46 PASS declaration.length is 1 47 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'saturation'47 PASS declaration.getPropertyValue('mix-blend-mode') is 'saturation' 48 48 PASS cssRule.type is 1 49 49 PASS declaration.length is 1 50 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color'50 PASS declaration.getPropertyValue('mix-blend-mode') is 'color' 51 51 PASS cssRule.type is 1 52 52 PASS declaration.length is 1 53 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'luminosity'53 PASS declaration.getPropertyValue('mix-blend-mode') is 'luminosity' 54 54 PASS successfullyParsed is true 55 55 -
trunk/LayoutTests/css3/compositing/blend-mode-property-parsing-expected.txt
r164480 r167448 1 Test the parsing of the -webkit-mix-blend-mode property.1 Test the parsing of the mix-blend-mode property. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 8 8 PASS cssRule.type is 1 9 9 PASS declaration.length is 1 10 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'normal'10 PASS declaration.getPropertyValue('mix-blend-mode') is 'normal' 11 11 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 12 12 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 16 16 PASS cssRule.type is 1 17 17 PASS declaration.length is 1 18 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'multiply'18 PASS declaration.getPropertyValue('mix-blend-mode') is 'multiply' 19 19 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 20 20 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 24 24 PASS cssRule.type is 1 25 25 PASS declaration.length is 1 26 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'screen'26 PASS declaration.getPropertyValue('mix-blend-mode') is 'screen' 27 27 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 28 28 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 32 32 PASS cssRule.type is 1 33 33 PASS declaration.length is 1 34 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'overlay'34 PASS declaration.getPropertyValue('mix-blend-mode') is 'overlay' 35 35 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 36 36 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 40 40 PASS cssRule.type is 1 41 41 PASS declaration.length is 1 42 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'darken'42 PASS declaration.getPropertyValue('mix-blend-mode') is 'darken' 43 43 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 44 44 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 48 48 PASS cssRule.type is 1 49 49 PASS declaration.length is 1 50 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'lighten'50 PASS declaration.getPropertyValue('mix-blend-mode') is 'lighten' 51 51 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 52 52 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 56 56 PASS cssRule.type is 1 57 57 PASS declaration.length is 1 58 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color-dodge'58 PASS declaration.getPropertyValue('mix-blend-mode') is 'color-dodge' 59 59 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 60 60 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 64 64 PASS cssRule.type is 1 65 65 PASS declaration.length is 1 66 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color-burn'66 PASS declaration.getPropertyValue('mix-blend-mode') is 'color-burn' 67 67 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 68 68 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 72 72 PASS cssRule.type is 1 73 73 PASS declaration.length is 1 74 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'hard-light'74 PASS declaration.getPropertyValue('mix-blend-mode') is 'hard-light' 75 75 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 76 76 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 80 80 PASS cssRule.type is 1 81 81 PASS declaration.length is 1 82 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'soft-light'82 PASS declaration.getPropertyValue('mix-blend-mode') is 'soft-light' 83 83 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 84 84 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 88 88 PASS cssRule.type is 1 89 89 PASS declaration.length is 1 90 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'difference'90 PASS declaration.getPropertyValue('mix-blend-mode') is 'difference' 91 91 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 92 92 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 96 96 PASS cssRule.type is 1 97 97 PASS declaration.length is 1 98 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'exclusion'98 PASS declaration.getPropertyValue('mix-blend-mode') is 'exclusion' 99 99 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 100 100 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 104 104 PASS cssRule.type is 1 105 105 PASS declaration.length is 1 106 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'hue'106 PASS declaration.getPropertyValue('mix-blend-mode') is 'hue' 107 107 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 108 108 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 112 112 PASS cssRule.type is 1 113 113 PASS declaration.length is 1 114 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'saturation'114 PASS declaration.getPropertyValue('mix-blend-mode') is 'saturation' 115 115 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 116 116 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 120 120 PASS cssRule.type is 1 121 121 PASS declaration.length is 1 122 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'color'122 PASS declaration.getPropertyValue('mix-blend-mode') is 'color' 123 123 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 124 124 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' … … 128 128 PASS cssRule.type is 1 129 129 PASS declaration.length is 1 130 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is 'luminosity'130 PASS declaration.getPropertyValue('mix-blend-mode') is 'luminosity' 131 131 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue' 132 132 PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype' -
trunk/LayoutTests/css3/compositing/blend-mode-property-parsing-invalid-expected.txt
r164480 r167448 1 Test the parsing of the -webkit-mix-blend-mode property.1 Test the parsing of the mix-blend-mode property. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 8 8 PASS cssRule.type is 1 9 9 PASS declaration.length is 0 10 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is null10 PASS declaration.getPropertyValue('mix-blend-mode') is null 11 11 12 12 Wrong type : "5px" 13 13 PASS cssRule.type is 1 14 14 PASS declaration.length is 0 15 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is null15 PASS declaration.getPropertyValue('mix-blend-mode') is null 16 16 17 17 Trailing comma : overlay, 18 18 PASS cssRule.type is 1 19 19 PASS declaration.length is 0 20 PASS declaration.getPropertyValue(' -webkit-mix-blend-mode') is null20 PASS declaration.getPropertyValue('mix-blend-mode') is null 21 21 PASS successfullyParsed is true 22 22 -
trunk/LayoutTests/css3/compositing/blend-mode-reflection.html
r164480 r167448 31 31 Both the duck and the reflection should blend. --> 32 32 <body> 33 <ul><li><img style=" -webkit-mix-blend-mode: multiply" src="resources/ducky.png"></li></ul>34 <ul><li><img class="composited" style=" -webkit-mix-blend-mode: multiply" src="resources/ducky.png"></li></ul>33 <ul><li><img style="mix-blend-mode: multiply" src="resources/ducky.png"></li></ul> 34 <ul><li><img class="composited" style="mix-blend-mode: multiply" src="resources/ducky.png"></li></ul> 35 35 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-simple-composited.html
r164480 r167448 28 28 <ul> 29 29 <!-- Separable blend modes --> 30 <li><img style=" -webkit-mix-blend-mode: normal" src="resources/ducky.png"></li>31 <li><img style=" -webkit-mix-blend-mode: overlay" src="resources/ducky.png"></li>32 <li><img style=" -webkit-mix-blend-mode: screen" src="resources/ducky.png"></li>33 <li><img style=" -webkit-mix-blend-mode: overlay" src="resources/ducky.png"></li>34 <li><img style=" -webkit-mix-blend-mode: darken" src="resources/ducky.png"></li>35 <li><img style=" -webkit-mix-blend-mode: lighten" src="resources/ducky.png"></li>36 <li><img style=" -webkit-mix-blend-mode: color-dodge" src="resources/ducky.png"></li>37 <li><img style=" -webkit-mix-blend-mode: color-burn" src="resources/ducky.png"></li>38 <li><img style=" -webkit-mix-blend-mode: hard-light" src="resources/ducky.png"></li>39 <li><img style=" -webkit-mix-blend-mode: soft-light" src="resources/ducky.png"></li>40 <li><img style=" -webkit-mix-blend-mode: difference" src="resources/ducky.png"></li>41 <li><img style=" -webkit-mix-blend-mode: exclusion" src="resources/ducky.png"></li>30 <li><img style="mix-blend-mode: normal" src="resources/ducky.png"></li> 31 <li><img style="mix-blend-mode: overlay" src="resources/ducky.png"></li> 32 <li><img style="mix-blend-mode: screen" src="resources/ducky.png"></li> 33 <li><img style="mix-blend-mode: overlay" src="resources/ducky.png"></li> 34 <li><img style="mix-blend-mode: darken" src="resources/ducky.png"></li> 35 <li><img style="mix-blend-mode: lighten" src="resources/ducky.png"></li> 36 <li><img style="mix-blend-mode: color-dodge" src="resources/ducky.png"></li> 37 <li><img style="mix-blend-mode: color-burn" src="resources/ducky.png"></li> 38 <li><img style="mix-blend-mode: hard-light" src="resources/ducky.png"></li> 39 <li><img style="mix-blend-mode: soft-light" src="resources/ducky.png"></li> 40 <li><img style="mix-blend-mode: difference" src="resources/ducky.png"></li> 41 <li><img style="mix-blend-mode: exclusion" src="resources/ducky.png"></li> 42 42 <!-- Non separable blend modes --> 43 <li><img style=" -webkit-mix-blend-mode: hue" src="resources/ducky.png"></li>44 <li><img style=" -webkit-mix-blend-mode: saturation" src="resources/ducky.png"></li>45 <li><img style=" -webkit-mix-blend-mode: color" src="resources/ducky.png"></li>46 <li><img style=" -webkit-mix-blend-mode: luminosity" src="resources/ducky.png"></li>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 47 </ul> 48 48 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-simple.html
r164480 r167448 27 27 <ul> 28 28 <!-- Separable blend modes --> 29 <li><img style=" -webkit-mix-blend-mode: normal" src="resources/ducky.png"></li>30 <li><img style=" -webkit-mix-blend-mode: overlay" src="resources/ducky.png"></li>31 <li><img style=" -webkit-mix-blend-mode: screen" src="resources/ducky.png"></li>32 <li><img style=" -webkit-mix-blend-mode: overlay" src="resources/ducky.png"></li>33 <li><img style=" -webkit-mix-blend-mode: darken" src="resources/ducky.png"></li>34 <li><img style=" -webkit-mix-blend-mode: lighten" src="resources/ducky.png"></li>35 <li><img style=" -webkit-mix-blend-mode: color-dodge" src="resources/ducky.png"></li>36 <li><img style=" -webkit-mix-blend-mode: color-burn" src="resources/ducky.png"></li>37 <li><img style=" -webkit-mix-blend-mode: hard-light" src="resources/ducky.png"></li>38 <li><img style=" -webkit-mix-blend-mode: soft-light" src="resources/ducky.png"></li>39 <li><img style=" -webkit-mix-blend-mode: difference" src="resources/ducky.png"></li>40 <li><img style=" -webkit-mix-blend-mode: exclusion" src="resources/ducky.png"></li>29 <li><img style="mix-blend-mode: normal" src="resources/ducky.png"></li> 30 <li><img style="mix-blend-mode: overlay" src="resources/ducky.png"></li> 31 <li><img style="mix-blend-mode: screen" src="resources/ducky.png"></li> 32 <li><img style="mix-blend-mode: overlay" src="resources/ducky.png"></li> 33 <li><img style="mix-blend-mode: darken" src="resources/ducky.png"></li> 34 <li><img style="mix-blend-mode: lighten" src="resources/ducky.png"></li> 35 <li><img style="mix-blend-mode: color-dodge" src="resources/ducky.png"></li> 36 <li><img style="mix-blend-mode: color-burn" src="resources/ducky.png"></li> 37 <li><img style="mix-blend-mode: hard-light" src="resources/ducky.png"></li> 38 <li><img style="mix-blend-mode: soft-light" src="resources/ducky.png"></li> 39 <li><img style="mix-blend-mode: difference" src="resources/ducky.png"></li> 40 <li><img style="mix-blend-mode: exclusion" src="resources/ducky.png"></li> 41 41 <!-- Non separable blend modes --> 42 <li><img style=" -webkit-mix-blend-mode: hue" src="resources/ducky.png"></li>43 <li><img style=" -webkit-mix-blend-mode: saturation" src="resources/ducky.png"></li>44 <li><img style=" -webkit-mix-blend-mode: color" src="resources/ducky.png"></li>45 <li><img style=" -webkit-mix-blend-mode: luminosity" src="resources/ducky.png"></li>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 46 </ul> 47 47 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-transform-style-expected.txt
r164640 r167448 5 5 6 6 TEST COMPLETE 7 Test that an element with -webkit-mix-blend-mode other than normal forces the computed value of transform-style to flat.7 Test that an element with mix-blend-mode other than normal forces the computed value of transform-style to flat. 8 8 9 9 -
trunk/LayoutTests/css3/compositing/blend-mode-transform-style.html
r164640 r167448 6 6 } 7 7 .noblender { 8 -webkit-mix-blend-mode: normal;8 mix-blend-mode: normal; 9 9 } 10 10 .blender { 11 -webkit-mix-blend-mode: difference;11 mix-blend-mode: difference; 12 12 } 13 13 </style> 14 <p>Test that an element with -webkit-mix-blend-mode other than normal forces the computed value of transform-style to flat.</p>14 <p>Test that an element with mix-blend-mode other than normal forces the computed value of transform-style to flat.</p> 15 15 <div id="blend-mode-normal-with-transform-style-preserve-3d" class="noblender" style="-webkit-transform-style: preserve-3d;"></div> 16 16 <div id="blending-with-transform-style-preserve-3d" class="blender" style="-webkit-transform-style: preserve-3d;"></div> -
trunk/LayoutTests/css3/compositing/blend-mode-with-accelerated-sibling.html
r166634 r167448 6 6 } 7 7 .blended { 8 -webkit-mix-blend-mode: multiply;8 mix-blend-mode: multiply; 9 9 } 10 10 .child { … … 14 14 } 15 15 .parent { 16 -webkit-isolation: isolate;16 isolation: isolate; 17 17 } 18 18 </style> -
trunk/LayoutTests/css3/compositing/blend-mode-with-composited-descendant-should-have-layer.html
r164480 r167448 8 8 } 9 9 .blender { 10 -webkit-mix-blend-mode: difference;10 mix-blend-mode: difference; 11 11 } 12 12 .child { -
trunk/LayoutTests/css3/compositing/isolation-isolate-blended-child-expected.html
r164795 r167448 22 22 .child { 23 23 margin-top: 0px; 24 -webkit-mix-blend-mode: multiply;24 mix-blend-mode: multiply; 25 25 background: olive; 26 26 } -
trunk/LayoutTests/css3/compositing/isolation-isolate-blended-child.html
r164795 r167448 1 1 <!DOCTYPE HTML> 2 <!-- Test to ensure that " -webkit-isolation:isolate" creates a stacking context, thus preventing blending with the parent element. -->2 <!-- Test to ensure that "isolation:isolate" creates a stacking context, thus preventing blending with the parent element. --> 3 3 <style> 4 4 div { … … 16 16 17 17 .isolator { 18 -webkit-isolation: isolate;18 isolation: isolate; 19 19 background: violet; 20 20 } 21 21 22 22 .child { 23 -webkit-mix-blend-mode: multiply;23 mix-blend-mode: multiply; 24 24 background: olive; 25 25 } -
trunk/LayoutTests/css3/compositing/isolation-parsing.html
r164795 r167448 7 7 var div = document.createElement('div'); 8 8 document.body.appendChild(div); 9 div.style.setProperty(" -webkit-isolation", value);9 div.style.setProperty("isolation", value); 10 10 11 var computedValue = getComputedStyle(div).getPropertyValue(" -webkit-isolation");11 var computedValue = getComputedStyle(div).getPropertyValue("isolation"); 12 12 document.body.removeChild(div); 13 13 -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property-parsing-invalid.js
r164480 r167448 1 description("Test the parsing of the -webkit-mix-blend-mode property.");1 description("Test the parsing of the mix-blend-mode property."); 2 2 3 3 // These have to be global for the test helpers to see them. … … 6 6 document.head.appendChild(styleElement); 7 7 stylesheet = styleElement.sheet; 8 stylesheet.insertRule("body { -webkit-mix-blend-mode: multiply; }", 0);8 stylesheet.insertRule("body { mix-blend-mode: multiply; }", 0); 9 9 10 10 function testInvalidFilterRule(description, rule) … … 13 13 debug(description + " : " + rule); 14 14 15 stylesheet.insertRule("body { -webkit-mix-blend-mode: " + rule + "; }", 0);15 stylesheet.insertRule("body { mix-blend-mode: " + rule + "; }", 0); 16 16 cssRule = stylesheet.cssRules.item(0); 17 17 … … 20 20 declaration = cssRule.style; 21 21 shouldBe("declaration.length", "0"); 22 shouldBe("declaration.getPropertyValue(' -webkit-mix-blend-mode')", "null");22 shouldBe("declaration.getPropertyValue('mix-blend-mode')", "null"); 23 23 } 24 24 -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property-parsing.js
r164480 r167448 1 description("Test the parsing of the -webkit-mix-blend-mode property.");1 description("Test the parsing of the mix-blend-mode property."); 2 2 3 3 function jsWrapperClass(node) … … 31 31 debug(description + " : " + rule); 32 32 33 stylesheet.insertRule("body { -webkit-mix-blend-mode: " + rule + "; }", 0);33 stylesheet.insertRule("body { mix-blend-mode: " + rule + "; }", 0); 34 34 cssRule = stylesheet.cssRules.item(0); 35 35 … … 38 38 declaration = cssRule.style; 39 39 shouldBe("declaration.length", "1"); 40 shouldBe("declaration.getPropertyValue(' -webkit-mix-blend-mode')", "'" + expectedValue + "'");40 shouldBe("declaration.getPropertyValue('mix-blend-mode')", "'" + expectedValue + "'"); 41 41 42 blendModeRule = declaration.getPropertyCSSValue(' -webkit-mix-blend-mode');42 blendModeRule = declaration.getPropertyCSSValue('mix-blend-mode'); 43 43 shouldBeType("blendModeRule", "CSSPrimitiveValue"); 44 44 } -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property.js
r164480 r167448 1 description("Test the parsing of the -webkit-mix-blend-mode property.");1 description("Test the parsing of the mix-blend-mode property."); 2 2 3 3 var styleElement = document.createElement("style"); … … 10 10 { 11 11 // add a -webkit-filter property to the start of the stylesheet 12 stylesheet.addRule("body", " -webkit-mix-blend-mode: " + blendmode, 0);12 stylesheet.addRule("body", "mix-blend-mode: " + blendmode, 0); 13 13 14 14 cssRule = stylesheet.cssRules.item(0); … … 18 18 declaration = cssRule.style; 19 19 shouldBe("declaration.length", "1"); 20 shouldBe("declaration.getPropertyValue(' -webkit-mix-blend-mode')", "\'" + blendmode + "\'");20 shouldBe("declaration.getPropertyValue('mix-blend-mode')", "\'" + blendmode + "\'"); 21 21 } 22 22 -
trunk/LayoutTests/css3/compositing/svg-blend-color-dodge.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: color-dodge"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: color-dodge"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-color.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: color"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: color"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-hard-light.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: hard-light"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: hard-light"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-hue.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: hue"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: hue"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-blend.html
r164480 r167448 6 6 <g transform="scale(4 4)"> 7 7 <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/> 8 <g style=" -webkit-mix-blend-mode: multiply">9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style=" -webkit-mix-blend-mode: difference"/>8 <g style="mix-blend-mode: multiply"> 9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/> 10 10 </g> 11 11 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-clip-path.html
r164480 r167448 12 12 <rect x="0" y="0" width="40" height="40" fill="rgb(255,255,0)"/> 13 13 <g clip-path="url(#clip)"> 14 <rect x="0" y="0" width="40" height="40" fill="rgb(255,0,0)" style=" -webkit-mix-blend-mode: difference"/>14 <rect x="0" y="0" width="40" height="40" fill="rgb(255,0,0)" style="mix-blend-mode: difference"/> 15 15 </g> 16 16 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-filter.html
r164480 r167448 12 12 <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/> 13 13 <g filter="url(#f1)"> 14 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style=" -webkit-mix-blend-mode: difference"/>14 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/> 15 15 </g> 16 16 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-opacity.html
r164480 r167448 7 7 <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/> 8 8 <g opacity=".5"> 9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style=" -webkit-mix-blend-mode: difference"/>9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/> 10 10 </g> 11 11 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-shadow.html
r164480 r167448 8 8 <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/> 9 9 <g style="-webkit-svg-shadow:0px 0px 1px rgba(0,0,0,0);"> 10 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style=" -webkit-mix-blend-mode: difference"/>10 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/> 11 11 </g> 12 12 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-luminosity.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: luminosity"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: luminosity"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-multiply-alpha.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="opacity: .5; -webkit-mix-blend-mode: multiply"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="opacity: .5; mix-blend-mode: multiply"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-multiply.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: multiply"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: multiply"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-saturation.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: saturation"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: saturation"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-screen.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: screen"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: screen"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-soft-light.html
r164480 r167448 14 14 <g transform="scale(4 4)"> 15 15 <use xlink:href="#patch" x="0" y="0" width="40" height="10"></use> 16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style=" -webkit-mix-blend-mode: soft-light"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="mix-blend-mode: soft-light"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-isolation-default-expected.html
r164795 r167448 1 1 <!DOCTYPE HTML> 2 2 <svg xmlns="http://www.w3.org/2000/svg" width="400px" height="400px" style="background: green"> 3 <rect x="100" y="100" width="200" height="200" style="fill: blue; -webkit-mix-blend-mode: multiply"/>3 <rect x="100" y="100" width="200" height="200" style="fill: blue; mix-blend-mode: multiply"/> 4 4 </svg> -
trunk/LayoutTests/css3/compositing/svg-isolation-default.html
r164795 r167448 3 3 <svg xmlns="http://www.w3.org/2000/svg" width="400px" height="400px" style="background: green"> 4 4 <g style="-webkit-isolation: auto"> 5 <rect x="100" y="100" width="200" height="200" style="fill: blue; -webkit-mix-blend-mode: multiply"/>5 <rect x="100" y="100" width="200" height="200" style="fill: blue; mix-blend-mode: multiply"/> 6 6 </g> 7 7 </svg> -
trunk/LayoutTests/css3/compositing/svg-isolation-isolated-group-expected.html
r164795 r167448 4 4 <rect x="50" y="50" width="200" height="200" style="fill: orange;"/> 5 5 <rect x="100" y="100" width="250" height="250" style="fill: blue;"/> 6 <rect x="100" y="100" width="150" height="150" style="fill: orange; -webkit-mix-blend-mode: difference;"/>6 <rect x="100" y="100" width="150" height="150" style="fill: orange; mix-blend-mode: difference;"/> 7 7 </g> 8 8 </svg> -
trunk/LayoutTests/css3/compositing/svg-isolation-isolated-group.html
r164795 r167448 3 3 This implies that the isolation is performed accordingly, meaning the orange rect doesn't blend with the background color. --> 4 4 <svg xmlns="http://www.w3.org/2000/svg" width="400px" height="400px" style="background: green"> 5 <g style=" -webkit-isolation: isolate;">5 <g style="isolation: isolate;"> 6 6 <rect x="100" y="100" width="250" height="250" style="fill: blue;"/> 7 <rect x="50" y="50" width="200" height="200" style="fill: orange; -webkit-mix-blend-mode: difference;"/>7 <rect x="50" y="50" width="200" height="200" style="fill: orange; mix-blend-mode: difference;"/> 8 8 </g> 9 9 </svg> -
trunk/LayoutTests/fast/repaint/blend-mode-isolate-stacking-context.html
r165970 r167448 27 27 28 28 .blender { 29 -webkit-mix-blend-mode: difference;29 mix-blend-mode: difference; 30 30 } 31 31 32 32 .blender2 { 33 -webkit-mix-blend-mode: screen;33 mix-blend-mode: screen; 34 34 } 35 35 </style> -
trunk/LayoutTests/inspector-protocol/layers/layers-blending-compositing-reasons.html
r166800 r167448 141 141 142 142 #isolating { 143 -webkit-isolation: isolate;143 isolation: isolate; 144 144 } 145 145 146 146 #blending { 147 -webkit-mix-blend-mode: difference;147 mix-blend-mode: difference; 148 148 } 149 149 -
trunk/LayoutTests/transitions/blendmode-transitions-expected.txt
r164480 r167448 1 1 Test to make sure that the blendmode property is properly propagated to shared styles 2 2 BOX 3 PASS - " -webkit-mix-blend-mode" property for "box" element at 0.5s saw something close to: difference3 PASS - "mix-blend-mode" property for "box" element at 0.5s saw something close to: difference 4 4 -
trunk/LayoutTests/transitions/blendmode-transitions.html
r164480 r167448 15 15 -webkit-transition-property: opacity; 16 16 opacity:1; 17 -webkit-mix-blend-mode: difference;17 mix-blend-mode: difference; 18 18 } 19 19 … … 27 27 const expectedValues = [ 28 28 // [time, element-id, property, expected-value, tolerance] 29 [0.5, 'box', ' -webkit-mix-blend-mode', 'difference', 0],29 [0.5, 'box', 'mix-blend-mode', 'difference', 0], 30 30 ]; 31 31 -
trunk/Source/WebCore/ChangeLog
r167447 r167448 1 2014-04-17 Rik Cabanier <cabanier@adobe.com> 2 3 [CSS Blending] Remove the -webkit- prefix for mix-blend-mode and isolation CSS properties 4 https://bugs.webkit.org/show_bug.cgi?id=131355 5 6 Reviewed by Dean Jackson. 7 8 Removed webkit prefix from mix-blend-mode and isolation. These properties 9 never shipped and their spec is now in CR. 10 11 Covered by existing tests. 12 13 * css/CSSComputedStyleDeclaration.cpp: 14 (WebCore::ComputedStyleExtractor::propertyValue): 15 * css/CSSParser.cpp: 16 (WebCore::isValidKeywordPropertyAndValue): 17 (WebCore::isKeywordPropertyID): 18 (WebCore::CSSParser::parseValue): 19 * css/CSSPropertyNames.in: 20 * css/DeprecatedStyleBuilder.cpp: 21 (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): 22 1 23 2014-04-17 David Kilzer <ddkilzer@apple.com> 2 24 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r167192 r167448 233 233 CSSPropertyWebkitBackgroundSize, 234 234 #if ENABLE(CSS_COMPOSITING) 235 CSSProperty WebkitMixBlendMode,236 CSSProperty WebkitIsolation,235 CSSPropertyMixBlendMode, 236 CSSPropertyIsolation, 237 237 #endif 238 238 CSSPropertyWebkitBorderFit, … … 2816 2816 #endif 2817 2817 #if ENABLE(CSS_COMPOSITING) 2818 case CSSProperty WebkitMixBlendMode:2818 case CSSPropertyMixBlendMode: 2819 2819 return cssValuePool().createValue(style->blendMode()); 2820 case CSSProperty WebkitIsolation:2820 case CSSPropertyIsolation: 2821 2821 return cssValuePool().createValue(style->isolation()); 2822 2822 #endif -
trunk/Source/WebCore/css/CSSParser.cpp
r166909 r167448 813 813 break; 814 814 #if ENABLE(CSS_COMPOSITING) 815 case CSSProperty WebkitMixBlendMode:815 case CSSPropertyMixBlendMode: 816 816 if (parserContext.isCSSCompositingEnabled && (valueID == CSSValueNormal || valueID == CSSValueMultiply || valueID == CSSValueScreen 817 817 || valueID == CSSValueOverlay || valueID == CSSValueDarken || valueID == CSSValueLighten || valueID == CSSValueColorDodge … … 821 821 return true; 822 822 break; 823 case CSSProperty WebkitIsolation:823 case CSSPropertyIsolation: 824 824 if (parserContext.isCSSCompositingEnabled && (valueID == CSSValueAuto || valueID == CSSValueIsolate)) 825 825 return true; … … 1081 1081 case CSSPropertyWebkitAppearance: 1082 1082 #if ENABLE(CSS_COMPOSITING) 1083 case CSSProperty WebkitMixBlendMode:1084 case CSSProperty WebkitIsolation:1083 case CSSPropertyMixBlendMode: 1084 case CSSPropertyIsolation: 1085 1085 #endif 1086 1086 case CSSPropertyWebkitBackfaceVisibility: … … 2413 2413 #endif 2414 2414 #if ENABLE(CSS_COMPOSITING) 2415 case CSSProperty WebkitMixBlendMode:2415 case CSSPropertyMixBlendMode: 2416 2416 if (cssCompositingEnabled()) 2417 2417 validPrimitive = true; 2418 2418 break; 2419 case CSSProperty WebkitIsolation:2419 case CSSPropertyIsolation: 2420 2420 if (cssCompositingEnabled()) 2421 2421 validPrimitive = true; -
trunk/Source/WebCore/css/CSSPropertyNames.in
r166618 r167448 287 287 #endif 288 288 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING 289 -webkit-mix-blend-mode290 -webkit-isolation289 mix-blend-mode 290 isolation 291 291 #endif 292 292 #if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS -
trunk/Source/WebCore/css/DeprecatedStyleBuilder.cpp
r167208 r167448 2475 2475 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSize); 2476 2476 #if ENABLE(CSS_COMPOSITING) 2477 setPropertyHandler(CSSProperty WebkitMixBlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &RenderStyle::initialBlendMode>::createHandler());2478 setPropertyHandler(CSSProperty WebkitIsolation, ApplyPropertyDefault<Isolation, &RenderStyle::isolation, Isolation, &RenderStyle::setIsolation, Isolation, &RenderStyle::initialIsolation>::createHandler());2477 setPropertyHandler(CSSPropertyMixBlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &RenderStyle::initialBlendMode>::createHandler()); 2478 setPropertyHandler(CSSPropertyIsolation, ApplyPropertyDefault<Isolation, &RenderStyle::isolation, Isolation, &RenderStyle::setIsolation, Isolation, &RenderStyle::initialIsolation>::createHandler()); 2479 2479 #endif 2480 2480 setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderFit, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler());
Note:
See TracChangeset
for help on using the changeset viewer.