Changeset 164480 in webkit
- Timestamp:
- Feb 21, 2014 1:19:16 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r164477 r164480 1 2014-02-21 Mihai Tica <mitica@adobe.com> 2 3 [CSS Blending] Refactor -webkit-blend-mode to -webkit-mix-blend-mode 4 https://bugs.webkit.org/show_bug.cgi?id=128805 5 6 Reviewed by Dean Jackson. 7 8 The spec defines the mix-blend-mode property. This means that the 9 prefixed version should be -webkit-mix-blend-mode, instead of 10 -webkit-blend-mode. Update all tests accordingly. 11 12 * css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer.html: 13 * css3/compositing/blend-mode-layers.html: 14 * css3/compositing/blend-mode-overflow.html: 15 * css3/compositing/blend-mode-parent-of-composited-blended-has-layer.html: 16 * css3/compositing/blend-mode-property-expected.txt: 17 * css3/compositing/blend-mode-property-parsing-expected.txt: 18 * css3/compositing/blend-mode-property-parsing-invalid-expected.txt: 19 * css3/compositing/blend-mode-reflection.html: 20 * css3/compositing/blend-mode-simple-composited.html: 21 * css3/compositing/blend-mode-simple.html: 22 * css3/compositing/blend-mode-with-composited-descendant-should-have-layer.html: 23 * css3/compositing/resources/red-circle.svg: 24 * css3/compositing/script-tests/blend-mode-property-parsing-invalid.js: 25 (testInvalidFilterRule): 26 * css3/compositing/script-tests/blend-mode-property-parsing.js: 27 (testBlendModeRule): 28 * css3/compositing/script-tests/blend-mode-property.js: 29 (testblendmode): 30 * css3/compositing/svg-blend-color-burn.html: 31 * css3/compositing/svg-blend-color-dodge.html: 32 * css3/compositing/svg-blend-color.html: 33 * css3/compositing/svg-blend-darken.html: 34 * css3/compositing/svg-blend-difference.html: 35 * css3/compositing/svg-blend-exclusion.html: 36 * css3/compositing/svg-blend-hard-light.html: 37 * css3/compositing/svg-blend-hue.html: 38 * css3/compositing/svg-blend-layer-blend.html: 39 * css3/compositing/svg-blend-layer-clip-path.html: 40 * css3/compositing/svg-blend-layer-filter.html: 41 * css3/compositing/svg-blend-layer-mask.html: 42 * css3/compositing/svg-blend-layer-opacity.html: 43 * css3/compositing/svg-blend-layer-shadow.html: 44 * css3/compositing/svg-blend-lighten.html: 45 * css3/compositing/svg-blend-luminosity.html: 46 * css3/compositing/svg-blend-multiply-alpha.html: 47 * css3/compositing/svg-blend-multiply.html: 48 * css3/compositing/svg-blend-normal.html: 49 * css3/compositing/svg-blend-overlay.html: 50 * css3/compositing/svg-blend-saturation.html: 51 * css3/compositing/svg-blend-screen.html: 52 * css3/compositing/svg-blend-soft-light.html: 53 * transitions/blendmode-transitions-expected.txt: 54 * transitions/blendmode-transitions.html: 55 1 56 2014-02-20 ChangSeok Oh <changseok.oh@collabora.com> 2 57 -
trunk/LayoutTests/css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer.html
r163955 r164480 13 13 .blender { 14 14 margin-top: -30px; 15 -webkit- blend-mode: difference;15 -webkit-mix-blend-mode: difference; 16 16 } 17 17 </style> -
trunk/LayoutTests/css3/compositing/blend-mode-layers.html
r163955 r164480 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- blend-mode: multiply"><div class="div3"></div></div></div></li>64 <li><div class="div1"><div class="div2 composited" style="-webkit- blend-mode: multiply"><div class="div3"></div></div></div></li>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> 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- blend-mode: multiply"><div class="div3"></div></div></div></li>71 <li><div class="div1" style="opacity:.99"><div class="div2 composited" style="-webkit- blend-mode: multiply"><div class="div3"></div></div></div></li>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> 72 72 </ul> 73 73 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-overflow.html
r161628 r164480 65 65 <div class="example"> 66 66 <div class="blendingbg"> 67 <img src="resources/ducky.png" style="-webkit- blend-mode: difference;">67 <img src="resources/ducky.png" style="-webkit-mix-blend-mode: difference;"> 68 68 </div> 69 69 </div> … … 72 72 <div class="example"> 73 73 <div class="blendingbg" style="-webkit-transform: translateZ(0)"> 74 <img src="resources/ducky.png" style="-webkit- blend-mode: difference;">74 <img src="resources/ducky.png" style="-webkit-mix-blend-mode: difference;"> 75 75 </div> 76 76 </div> … … 80 80 <div class="blendingbg"> 81 81 <div class="intermediate"> 82 <img src="resources/ducky.png" style="-webkit- blend-mode: difference;">82 <img src="resources/ducky.png" style="-webkit-mix-blend-mode: difference;"> 83 83 </div> 84 84 </div> … … 89 89 <div class="blendingbg" style="-webkit-transform: translateZ(0)"> 90 90 <div class="intermediate"> 91 <img src="resources/ducky.png" style="-webkit- blend-mode: difference;">91 <img src="resources/ducky.png" style="-webkit-mix-blend-mode: difference;"> 92 92 </div> 93 93 </div> … … 98 98 <div class="blendingbg" style="-webkit-transform: translateZ(0)"> 99 99 <div class="intermediate" style="overflow: hidden"> 100 <img src="resources/ducky.png" style="-webkit- blend-mode: difference;">100 <img src="resources/ducky.png" style="-webkit-mix-blend-mode: difference;"> 101 101 </div> 102 102 </div> -
trunk/LayoutTests/css3/compositing/blend-mode-parent-of-composited-blended-has-layer.html
r163955 r164480 8 8 } 9 9 .blender { 10 -webkit- blend-mode: difference;10 -webkit-mix-blend-mode: difference; 11 11 -webkit-transform: translateZ(0); 12 12 margin: 10px; -
trunk/LayoutTests/css3/compositing/blend-mode-property-expected.txt
r130460 r164480 1 Test the parsing of the -webkit- blend-mode property.1 Test the parsing of the -webkit-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- blend-mode') is 'normal'8 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'normal' 9 9 PASS cssRule.type is 1 10 10 PASS declaration.length is 1 11 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'multiply'11 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'multiply' 12 12 PASS cssRule.type is 1 13 13 PASS declaration.length is 1 14 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'screen'14 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'screen' 15 15 PASS cssRule.type is 1 16 16 PASS declaration.length is 1 17 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'overlay'17 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'overlay' 18 18 PASS cssRule.type is 1 19 19 PASS declaration.length is 1 20 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'darken'20 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'darken' 21 21 PASS cssRule.type is 1 22 22 PASS declaration.length is 1 23 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'lighten'23 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'lighten' 24 24 PASS cssRule.type is 1 25 25 PASS declaration.length is 1 26 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'color-dodge'26 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'color-burn'29 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'hard-light'32 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'soft-light'35 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'difference'38 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'difference' 39 39 PASS cssRule.type is 1 40 40 PASS declaration.length is 1 41 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'exclusion'41 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'exclusion' 42 42 PASS cssRule.type is 1 43 43 PASS declaration.length is 1 44 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'hue'44 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'hue' 45 45 PASS cssRule.type is 1 46 46 PASS declaration.length is 1 47 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'saturation'47 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'saturation' 48 48 PASS cssRule.type is 1 49 49 PASS declaration.length is 1 50 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'color'50 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'color' 51 51 PASS cssRule.type is 1 52 52 PASS declaration.length is 1 53 PASS declaration.getPropertyValue('-webkit- blend-mode') is 'luminosity'53 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is 'luminosity' 54 54 PASS successfullyParsed is true 55 55 -
trunk/LayoutTests/css3/compositing/blend-mode-property-parsing-expected.txt
r130460 r164480 1 Test the parsing of the -webkit- blend-mode property.1 Test the parsing of the -webkit-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- blend-mode') is 'normal'10 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'multiply'18 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'screen'26 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'overlay'34 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'darken'42 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'lighten'50 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'color-dodge'58 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'color-burn'66 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'hard-light'74 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'soft-light'82 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'difference'90 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'exclusion'98 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'hue'106 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'saturation'114 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'color'122 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is 'luminosity'130 PASS declaration.getPropertyValue('-webkit-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
r126105 r164480 1 Test the parsing of the -webkit- blend-mode property.1 Test the parsing of the -webkit-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- blend-mode') is null10 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is null15 PASS declaration.getPropertyValue('-webkit-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- blend-mode') is null20 PASS declaration.getPropertyValue('-webkit-mix-blend-mode') is null 21 21 PASS successfullyParsed is true 22 22 -
trunk/LayoutTests/css3/compositing/blend-mode-reflection.html
r163955 r164480 31 31 Both the duck and the reflection should blend. --> 32 32 <body> 33 <ul><li><img style="-webkit- blend-mode: multiply" src="resources/ducky.png"></li></ul>34 <ul><li><img class="composited" style="-webkit- blend-mode: multiply" src="resources/ducky.png"></li></ul>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> 35 35 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-simple-composited.html
r163955 r164480 28 28 <ul> 29 29 <!-- Separable blend modes --> 30 <li><img style="-webkit- blend-mode: normal" src="resources/ducky.png"></li>31 <li><img style="-webkit- blend-mode: overlay" src="resources/ducky.png"></li>32 <li><img style="-webkit- blend-mode: screen" src="resources/ducky.png"></li>33 <li><img style="-webkit- blend-mode: overlay" src="resources/ducky.png"></li>34 <li><img style="-webkit- blend-mode: darken" src="resources/ducky.png"></li>35 <li><img style="-webkit- blend-mode: lighten" src="resources/ducky.png"></li>36 <li><img style="-webkit- blend-mode: color-dodge" src="resources/ducky.png"></li>37 <li><img style="-webkit- blend-mode: color-burn" src="resources/ducky.png"></li>38 <li><img style="-webkit- blend-mode: hard-light" src="resources/ducky.png"></li>39 <li><img style="-webkit- blend-mode: soft-light" src="resources/ducky.png"></li>40 <li><img style="-webkit- blend-mode: difference" src="resources/ducky.png"></li>41 <li><img style="-webkit- blend-mode: exclusion" src="resources/ducky.png"></li>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> 42 42 <!-- Non separable blend modes --> 43 <li><img style="-webkit- blend-mode: hue" src="resources/ducky.png"></li>44 <li><img style="-webkit- blend-mode: saturation" src="resources/ducky.png"></li>45 <li><img style="-webkit- blend-mode: color" src="resources/ducky.png"></li>46 <li><img style="-webkit- blend-mode: luminosity" src="resources/ducky.png"></li>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> 47 47 </ul> 48 48 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-simple.html
r161628 r164480 27 27 <ul> 28 28 <!-- Separable blend modes --> 29 <li><img style="-webkit- blend-mode: normal" src="resources/ducky.png"></li>30 <li><img style="-webkit- blend-mode: overlay" src="resources/ducky.png"></li>31 <li><img style="-webkit- blend-mode: screen" src="resources/ducky.png"></li>32 <li><img style="-webkit- blend-mode: overlay" src="resources/ducky.png"></li>33 <li><img style="-webkit- blend-mode: darken" src="resources/ducky.png"></li>34 <li><img style="-webkit- blend-mode: lighten" src="resources/ducky.png"></li>35 <li><img style="-webkit- blend-mode: color-dodge" src="resources/ducky.png"></li>36 <li><img style="-webkit- blend-mode: color-burn" src="resources/ducky.png"></li>37 <li><img style="-webkit- blend-mode: hard-light" src="resources/ducky.png"></li>38 <li><img style="-webkit- blend-mode: soft-light" src="resources/ducky.png"></li>39 <li><img style="-webkit- blend-mode: difference" src="resources/ducky.png"></li>40 <li><img style="-webkit- blend-mode: exclusion" src="resources/ducky.png"></li>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> 41 41 <!-- Non separable blend modes --> 42 <li><img style="-webkit- blend-mode: hue" src="resources/ducky.png"></li>43 <li><img style="-webkit- blend-mode: saturation" src="resources/ducky.png"></li>44 <li><img style="-webkit- blend-mode: color" src="resources/ducky.png"></li>45 <li><img style="-webkit- blend-mode: luminosity" src="resources/ducky.png"></li>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> 46 46 </ul> 47 47 </body> -
trunk/LayoutTests/css3/compositing/blend-mode-with-composited-descendant-should-have-layer.html
r163955 r164480 8 8 } 9 9 .blender { 10 -webkit- blend-mode: difference;10 -webkit-mix-blend-mode: difference; 11 11 } 12 12 .child { -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property-parsing-invalid.js
r126105 r164480 1 description("Test the parsing of the -webkit- blend-mode property.");1 description("Test the parsing of the -webkit-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- blend-mode: multiply; }", 0);8 stylesheet.insertRule("body { -webkit-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- blend-mode: " + rule + "; }", 0);15 stylesheet.insertRule("body { -webkit-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- blend-mode')", "null");22 shouldBe("declaration.getPropertyValue('-webkit-mix-blend-mode')", "null"); 23 23 } 24 24 -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property-parsing.js
r126105 r164480 1 description("Test the parsing of the -webkit- blend-mode property.");1 description("Test the parsing of the -webkit-mix-blend-mode property."); 2 2 3 3 function jsWrapperClass(node) … … 31 31 debug(description + " : " + rule); 32 32 33 stylesheet.insertRule("body { -webkit- blend-mode: " + rule + "; }", 0);33 stylesheet.insertRule("body { -webkit-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- blend-mode')", "'" + expectedValue + "'");40 shouldBe("declaration.getPropertyValue('-webkit-mix-blend-mode')", "'" + expectedValue + "'"); 41 41 42 blendModeRule = declaration.getPropertyCSSValue('-webkit- blend-mode');42 blendModeRule = declaration.getPropertyCSSValue('-webkit-mix-blend-mode'); 43 43 shouldBeType("blendModeRule", "CSSPrimitiveValue"); 44 44 } -
trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property.js
r130460 r164480 1 description("Test the parsing of the -webkit- blend-mode property.");1 description("Test the parsing of the -webkit-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- blend-mode: " + blendmode, 0);12 stylesheet.addRule("body", "-webkit-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- blend-mode')", "\'" + blendmode + "\'");20 shouldBe("declaration.getPropertyValue('-webkit-mix-blend-mode')", "\'" + blendmode + "\'"); 21 21 } 22 22 -
trunk/LayoutTests/css3/compositing/svg-blend-color-burn.html
r164294 r164480 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- blend-mode: color-burn"></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-burn"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-color-dodge.html
r164294 r164480 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- blend-mode: color-dodge"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-color.html
r164294 r164480 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- blend-mode: color"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-darken.html
r164294 r164480 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- blend-mode: darken"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: darken"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-difference.html
r164294 r164480 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- blend-mode: difference"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: difference"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-exclusion.html
r164294 r164480 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- blend-mode: exclusion"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: exclusion"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-hard-light.html
r164294 r164480 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- blend-mode: hard-light"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-hue.html
r164294 r164480 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- blend-mode: hue"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-blend.html
r164294 r164480 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- blend-mode: multiply">9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit- blend-mode: difference"/>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"/> 10 10 </g> 11 11 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-clip-path.html
r164294 r164480 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- blend-mode: difference"/>14 <rect x="0" y="0" width="40" height="40" fill="rgb(255,0,0)" style="-webkit-mix-blend-mode: difference"/> 15 15 </g> 16 16 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-filter.html
r164294 r164480 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- blend-mode: difference"/>14 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit-mix-blend-mode: difference"/> 15 15 </g> 16 16 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-mask.html
r164294 r164480 12 12 <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/> 13 13 <g mask="url(#msk)"> 14 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit- blend-mode: difference"/>14 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit-mix-blend-mode: difference"/> 15 15 </g> 16 16 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-opacity.html
r164294 r164480 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- blend-mode: difference"/>9 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit-mix-blend-mode: difference"/> 10 10 </g> 11 11 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-layer-shadow.html
r164294 r164480 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- blend-mode: difference"/>10 <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="-webkit-mix-blend-mode: difference"/> 11 11 </g> 12 12 </g> -
trunk/LayoutTests/css3/compositing/svg-blend-lighten.html
r164294 r164480 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- blend-mode: lighten"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: lighten"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-luminosity.html
r164294 r164480 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- blend-mode: luminosity"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-multiply-alpha.html
r164294 r164480 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- 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; -webkit-mix-blend-mode: multiply"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-multiply.html
r164294 r164480 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- blend-mode: multiply"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-normal.html
r164294 r164480 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- blend-mode: normal"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: normal"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-overlay.html
r164294 r164480 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- blend-mode: overlay"></use>16 <use xlink:href="#patch" x="0" y="0" width="40" height="10" transform="rotate(90 20 20)" style="-webkit-mix-blend-mode: overlay"></use> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-saturation.html
r164294 r164480 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- blend-mode: saturation"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-screen.html
r164294 r164480 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- blend-mode: screen"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/css3/compositing/svg-blend-soft-light.html
r164294 r164480 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- blend-mode: soft-light"></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> 17 17 </g> 18 18 </svg> -
trunk/LayoutTests/transitions/blendmode-transitions-expected.txt
r131146 r164480 1 1 Test to make sure that the blendmode property is properly propagated to shared styles 2 2 BOX 3 PASS - "-webkit- blend-mode" property for "box" element at 0.5s saw something close to: difference3 PASS - "-webkit-mix-blend-mode" property for "box" element at 0.5s saw something close to: difference 4 4 -
trunk/LayoutTests/transitions/blendmode-transitions.html
r131146 r164480 15 15 -webkit-transition-property: opacity; 16 16 opacity:1; 17 -webkit- blend-mode: difference;17 -webkit-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- blend-mode', 'difference', 0],29 [0.5, 'box', '-webkit-mix-blend-mode', 'difference', 0], 30 30 ]; 31 31 -
trunk/Source/WebCore/ChangeLog
r164479 r164480 1 2014-02-21 Mihai Tica <mitica@adobe.com> 2 3 [CSS Blending] Refactor -webkit-blend-mode to -webkit-mix-blend-mode 4 https://bugs.webkit.org/show_bug.cgi?id=128805 5 6 Reviewed by Dean Jackson. 7 8 The spec defines the mix-blend-mode property. This means that the 9 prefixed version should be -webkit-mix-blend-mode, instead of 10 -webkit-blend-mode. 11 12 * css/CSSComputedStyleDeclaration.cpp: 13 (WebCore::ComputedStyleExtractor::propertyValue): 14 * css/CSSParser.cpp: 15 (WebCore::isValidKeywordPropertyAndValue): 16 (WebCore::isKeywordPropertyID): 17 (WebCore::CSSParser::parseValue): 18 * css/CSSPropertyNames.in: 19 * css/DeprecatedStyleBuilder.cpp: 20 (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): 21 1 22 2014-02-21 Ryosuke Niwa <rniwa@webkit.org> 2 23 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r164224 r164480 228 228 CSSPropertyWebkitBackgroundSize, 229 229 #if ENABLE(CSS_COMPOSITING) 230 CSSPropertyWebkit BlendMode,230 CSSPropertyWebkitMixBlendMode, 231 231 #endif 232 232 CSSPropertyWebkitBorderFit, … … 2841 2841 #endif 2842 2842 #if ENABLE(CSS_COMPOSITING) 2843 case CSSPropertyWebkit BlendMode:2843 case CSSPropertyWebkitMixBlendMode: 2844 2844 return cssValuePool().createValue(style->blendMode()); 2845 2845 #endif -
trunk/Source/WebCore/css/CSSParser.cpp
r164115 r164480 803 803 break; 804 804 #if ENABLE(CSS_COMPOSITING) 805 case CSSPropertyWebkit BlendMode:805 case CSSPropertyWebkitMixBlendMode: 806 806 if (parserContext.isCSSCompositingEnabled && (valueID == CSSValueNormal || valueID == CSSValueMultiply || valueID == CSSValueScreen 807 807 || valueID == CSSValueOverlay || valueID == CSSValueDarken || valueID == CSSValueLighten || valueID == CSSValueColorDodge … … 1079 1079 case CSSPropertyWebkitAppearance: 1080 1080 #if ENABLE(CSS_COMPOSITING) 1081 case CSSPropertyWebkit BlendMode:1081 case CSSPropertyWebkitMixBlendMode: 1082 1082 #endif 1083 1083 case CSSPropertyWebkitBackfaceVisibility: … … 2412 2412 #endif 2413 2413 #if ENABLE(CSS_COMPOSITING) 2414 case CSSPropertyWebkit BlendMode:2414 case CSSPropertyWebkitMixBlendMode: 2415 2415 if (cssCompositingEnabled()) 2416 2416 validPrimitive = true; -
trunk/Source/WebCore/css/CSSPropertyNames.in
r164035 r164480 283 283 #endif 284 284 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING 285 -webkit- blend-mode285 -webkit-mix-blend-mode 286 286 #endif 287 287 #if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS -
trunk/Source/WebCore/css/DeprecatedStyleBuilder.cpp
r164115 r164480 2488 2488 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSize); 2489 2489 #if ENABLE(CSS_COMPOSITING) 2490 setPropertyHandler(CSSPropertyWebkit BlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &RenderStyle::initialBlendMode>::createHandler());2490 setPropertyHandler(CSSPropertyWebkitMixBlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &RenderStyle::initialBlendMode>::createHandler()); 2491 2491 #endif 2492 2492 setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderFit, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler());
Note: See TracChangeset
for help on using the changeset viewer.