Changeset 130460 in webkit


Ignore:
Timestamp:
Oct 4, 2012, 9:56:44 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Turn Compositing on by default in WebKit build
https://bugs.webkit.org/show_bug.cgi?id=98315

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-10-04
Reviewed by Simon Fraser.

enable -webkit-blend-mode on trunk.

Source/JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig:

Source/WebCore:

No new tests. Existing blending test were updated.

  • Configurations/FeatureDefines.xcconfig:
  • css/CSSPropertyNames.in:
  • css/CSSValueKeywords.in:

Source/WebKit/mac:

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

  • Configurations/FeatureDefines.xcconfig:

Tools:

  • Scripts/webkitperl/FeatureList.pm:

LayoutTests:

  • css3/compositing/blend-mode-property-expected.txt:
  • css3/compositing/blend-mode-property-parsing-expected.txt:
  • css3/compositing/script-tests/blend-mode-property.js:

(testblendmode):

  • css3/compositing/should-have-compositing-layer-expected.txt:
  • platform/chromium/TestExpectations:
Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r130458 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        * css3/compositing/blend-mode-property-expected.txt:
     11        * css3/compositing/blend-mode-property-parsing-expected.txt:
     12        * css3/compositing/script-tests/blend-mode-property.js:
     13        (testblendmode):
     14        * css3/compositing/should-have-compositing-layer-expected.txt:
     15        * platform/chromium/TestExpectations:
     16
    1172012-10-04  Kent Tamura  <tkent@chromium.org>
    218
  • trunk/LayoutTests/css3/compositing/blend-mode-property-expected.txt

    r126105 r130460  
    44
    55
    6 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    7 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    8 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be normal. Threw exception ReferenceError: Can't find variable: declaration
    9 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    10 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    11 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be multiply. Threw exception ReferenceError: Can't find variable: declaration
    12 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    13 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    14 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be screen. Threw exception ReferenceError: Can't find variable: declaration
    15 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    16 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    17 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be overlay. Threw exception ReferenceError: Can't find variable: declaration
    18 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    19 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    20 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be darken. Threw exception ReferenceError: Can't find variable: declaration
    21 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    22 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    23 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be lighten. Threw exception ReferenceError: Can't find variable: declaration
    24 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    25 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    26 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-dodge. Threw exception ReferenceError: Can't find variable: declaration
    27 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    28 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    29 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-burn. Threw exception ReferenceError: Can't find variable: declaration
    30 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    31 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    32 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hard-light. Threw exception ReferenceError: Can't find variable: declaration
    33 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    34 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    35 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be soft-light. Threw exception ReferenceError: Can't find variable: declaration
    36 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    37 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    38 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be difference. Threw exception ReferenceError: Can't find variable: declaration
    39 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    40 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    41 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be exclusion. Threw exception ReferenceError: Can't find variable: declaration
    42 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    43 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    44 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hue. Threw exception ReferenceError: Can't find variable: declaration
    45 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    46 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    47 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be saturation. Threw exception ReferenceError: Can't find variable: declaration
    48 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    49 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    50 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color. Threw exception ReferenceError: Can't find variable: declaration
    51 FAIL cssRule.type should be 1. Threw exception ReferenceError: Can't find variable: cssRule
    52 FAIL declaration.length should be 1. Threw exception ReferenceError: Can't find variable: declaration
    53 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be luminosity. Threw exception ReferenceError: Can't find variable: declaration
     6PASS cssRule.type is 1
     7PASS declaration.length is 1
     8PASS declaration.getPropertyValue('-webkit-blend-mode') is 'normal'
     9PASS cssRule.type is 1
     10PASS declaration.length is 1
     11PASS declaration.getPropertyValue('-webkit-blend-mode') is 'multiply'
     12PASS cssRule.type is 1
     13PASS declaration.length is 1
     14PASS declaration.getPropertyValue('-webkit-blend-mode') is 'screen'
     15PASS cssRule.type is 1
     16PASS declaration.length is 1
     17PASS declaration.getPropertyValue('-webkit-blend-mode') is 'overlay'
     18PASS cssRule.type is 1
     19PASS declaration.length is 1
     20PASS declaration.getPropertyValue('-webkit-blend-mode') is 'darken'
     21PASS cssRule.type is 1
     22PASS declaration.length is 1
     23PASS declaration.getPropertyValue('-webkit-blend-mode') is 'lighten'
     24PASS cssRule.type is 1
     25PASS declaration.length is 1
     26PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color-dodge'
     27PASS cssRule.type is 1
     28PASS declaration.length is 1
     29PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color-burn'
     30PASS cssRule.type is 1
     31PASS declaration.length is 1
     32PASS declaration.getPropertyValue('-webkit-blend-mode') is 'hard-light'
     33PASS cssRule.type is 1
     34PASS declaration.length is 1
     35PASS declaration.getPropertyValue('-webkit-blend-mode') is 'soft-light'
     36PASS cssRule.type is 1
     37PASS declaration.length is 1
     38PASS declaration.getPropertyValue('-webkit-blend-mode') is 'difference'
     39PASS cssRule.type is 1
     40PASS declaration.length is 1
     41PASS declaration.getPropertyValue('-webkit-blend-mode') is 'exclusion'
     42PASS cssRule.type is 1
     43PASS declaration.length is 1
     44PASS declaration.getPropertyValue('-webkit-blend-mode') is 'hue'
     45PASS cssRule.type is 1
     46PASS declaration.length is 1
     47PASS declaration.getPropertyValue('-webkit-blend-mode') is 'saturation'
     48PASS cssRule.type is 1
     49PASS declaration.length is 1
     50PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color'
     51PASS cssRule.type is 1
     52PASS declaration.length is 1
     53PASS declaration.getPropertyValue('-webkit-blend-mode') is 'luminosity'
    5454PASS successfullyParsed is true
    5555
  • trunk/LayoutTests/css3/compositing/blend-mode-property-parsing-expected.txt

    r126105 r130460  
    77Basic reference : normal
    88PASS cssRule.type is 1
    9 FAIL declaration.length should be 1. Was 0.
    10 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be normal (of type string). Was null (of type object).
    11 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    12 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    13 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     9PASS declaration.length is 1
     10PASS declaration.getPropertyValue('-webkit-blend-mode') is 'normal'
     11PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     12PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     13PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    1414
    1515Basic reference : multiply
    1616PASS cssRule.type is 1
    17 FAIL declaration.length should be 1. Was 0.
    18 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be multiply (of type string). Was null (of type object).
    19 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    20 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    21 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     17PASS declaration.length is 1
     18PASS declaration.getPropertyValue('-webkit-blend-mode') is 'multiply'
     19PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     20PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     21PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    2222
    2323Basic reference : screen
    2424PASS cssRule.type is 1
    25 FAIL declaration.length should be 1. Was 0.
    26 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be screen (of type string). Was null (of type object).
    27 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    28 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    29 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     25PASS declaration.length is 1
     26PASS declaration.getPropertyValue('-webkit-blend-mode') is 'screen'
     27PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     28PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     29PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    3030
    3131Basic reference : overlay
    3232PASS cssRule.type is 1
    33 FAIL declaration.length should be 1. Was 0.
    34 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be overlay (of type string). Was null (of type object).
    35 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    36 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    37 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     33PASS declaration.length is 1
     34PASS declaration.getPropertyValue('-webkit-blend-mode') is 'overlay'
     35PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     36PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     37PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    3838
    3939Basic reference : darken
    4040PASS cssRule.type is 1
    41 FAIL declaration.length should be 1. Was 0.
    42 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be darken (of type string). Was null (of type object).
    43 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    44 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    45 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     41PASS declaration.length is 1
     42PASS declaration.getPropertyValue('-webkit-blend-mode') is 'darken'
     43PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     44PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     45PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    4646
    4747Basic reference : lighten
    4848PASS cssRule.type is 1
    49 FAIL declaration.length should be 1. Was 0.
    50 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be lighten (of type string). Was null (of type object).
    51 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    52 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    53 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     49PASS declaration.length is 1
     50PASS declaration.getPropertyValue('-webkit-blend-mode') is 'lighten'
     51PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     52PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     53PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    5454
    5555Basic reference : color-dodge
    5656PASS cssRule.type is 1
    57 FAIL declaration.length should be 1. Was 0.
    58 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-dodge (of type string). Was null (of type object).
    59 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    60 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    61 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     57PASS declaration.length is 1
     58PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color-dodge'
     59PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     60PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     61PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    6262
    6363Basic reference : color-burn
    6464PASS cssRule.type is 1
    65 FAIL declaration.length should be 1. Was 0.
    66 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-burn (of type string). Was null (of type object).
    67 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    68 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    69 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     65PASS declaration.length is 1
     66PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color-burn'
     67PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     68PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     69PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    7070
    7171Basic reference : hard-light
    7272PASS cssRule.type is 1
    73 FAIL declaration.length should be 1. Was 0.
    74 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hard-light (of type string). Was null (of type object).
    75 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    76 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    77 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     73PASS declaration.length is 1
     74PASS declaration.getPropertyValue('-webkit-blend-mode') is 'hard-light'
     75PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     76PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     77PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    7878
    7979Basic reference : soft-light
    8080PASS cssRule.type is 1
    81 FAIL declaration.length should be 1. Was 0.
    82 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be soft-light (of type string). Was null (of type object).
    83 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    84 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    85 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     81PASS declaration.length is 1
     82PASS declaration.getPropertyValue('-webkit-blend-mode') is 'soft-light'
     83PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     84PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     85PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    8686
    8787Basic reference : difference
    8888PASS cssRule.type is 1
    89 FAIL declaration.length should be 1. Was 0.
    90 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be difference (of type string). Was null (of type object).
    91 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    92 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    93 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     89PASS declaration.length is 1
     90PASS declaration.getPropertyValue('-webkit-blend-mode') is 'difference'
     91PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     92PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     93PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    9494
    9595Basic reference : exclusion
    9696PASS cssRule.type is 1
    97 FAIL declaration.length should be 1. Was 0.
    98 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be exclusion (of type string). Was null (of type object).
    99 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    100 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    101 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     97PASS declaration.length is 1
     98PASS declaration.getPropertyValue('-webkit-blend-mode') is 'exclusion'
     99PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     100PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     101PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    102102
    103103Basic reference : hue
    104104PASS cssRule.type is 1
    105 FAIL declaration.length should be 1. Was 0.
    106 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hue (of type string). Was null (of type object).
    107 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    108 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    109 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     105PASS declaration.length is 1
     106PASS declaration.getPropertyValue('-webkit-blend-mode') is 'hue'
     107PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     108PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     109PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    110110
    111111Basic reference : saturation
    112112PASS cssRule.type is 1
    113 FAIL declaration.length should be 1. Was 0.
    114 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be saturation (of type string). Was null (of type object).
    115 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    116 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    117 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     113PASS declaration.length is 1
     114PASS declaration.getPropertyValue('-webkit-blend-mode') is 'saturation'
     115PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     116PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     117PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    118118
    119119Basic reference : color
    120120PASS cssRule.type is 1
    121 FAIL declaration.length should be 1. Was 0.
    122 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color (of type string). Was null (of type object).
    123 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    124 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    125 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     121PASS declaration.length is 1
     122PASS declaration.getPropertyValue('-webkit-blend-mode') is 'color'
     123PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     124PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     125PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    126126
    127127Basic reference : luminosity
    128128PASS cssRule.type is 1
    129 FAIL declaration.length should be 1. Was 0.
    130 FAIL declaration.getPropertyValue('-webkit-blend-mode') should be luminosity (of type string). Was null (of type object).
    131 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
    132 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
    133 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
     129PASS declaration.length is 1
     130PASS declaration.getPropertyValue('-webkit-blend-mode') is 'luminosity'
     131PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
     132PASS jsWrapperClass(blendModeRule.__proto__) is 'CSSPrimitiveValuePrototype'
     133PASS jsWrapperClass(blendModeRule.constructor) is 'CSSPrimitiveValueConstructor'
    134134PASS successfullyParsed is true
    135135
  • trunk/LayoutTests/css3/compositing/script-tests/blend-mode-property.js

    r126105 r130460  
    44document.head.appendChild(styleElement);
    55var stylesheet = styleElement.sheet;
     6var cssRule;
     7var declaration;
    68
    79function testblendmode(blendmode)
     
    1012stylesheet.addRule("body", "-webkit-blend-mode: " + blendmode, 0);
    1113
    12 var cssRule = stylesheet.cssRules.item(0);
     14cssRule = stylesheet.cssRules.item(0);
    1315
    1416shouldBe("cssRule.type", "1");
    1517
    16 var declaration = cssRule.style;
     18declaration = cssRule.style;
    1719shouldBe("declaration.length", "1");
    1820shouldBe("declaration.getPropertyValue('-webkit-blend-mode')", "\'" + blendmode + "\'");
  • trunk/LayoutTests/css3/compositing/should-have-compositing-layer-expected.txt

    r127162 r130460  
    44
    55
    6 FAIL no compositing layers
     6PASS content has compositing layers
    77
     8(GraphicsLayer
     9  (bounds 800.00 600.00)
     10  (children 1
     11    (GraphicsLayer
     12      (bounds 800.00 600.00)
     13      (children 1
     14        (GraphicsLayer
     15          (position 8.00 76.00)
     16          (bounds 160.00 90.00)
     17        )
     18      )
     19    )
     20  )
     21)
    822
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r130447 r130460  
    24552455crbug.com/84032 [ Win ] fast/dom/object-plugin-hides-properties.html [ Pass Timeout ]
    24562456
     2457#new test added. Still fails on chrome
     2458webkit.org/b/98315 css3/compositing/blend-mode-property.html [ Failure ]
     2459webkit.org/b/98315 css3/compositing/should-have-compositing-layer.html [ Failure ]
     2460
    24572461# two regions reftests failing on Chromium
    24582462webkit.org/b/74219 fast/regions/positioned-objects-block-static-spanning-regions-rtl.html [ ImageOnlyFailure Pass ]
  • trunk/Source/JavaScriptCore/ChangeLog

    r130424 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11
    1122012-10-04  Michael Saboff  <msaboff@apple.com>
    213
  • trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig

    r129260 r130460  
    4545ENABLE_CSS_REGIONS = ENABLE_CSS_REGIONS;
    4646ENABLE_CSS_SHADERS = ENABLE_CSS_SHADERS;
    47 ENABLE_CSS_COMPOSITING = ;
     47ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING;
    4848ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
    4949ENABLE_CSS_VARIABLES = ;
  • trunk/Source/WebCore/ChangeLog

    r130459 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        No new tests. Existing blending test were updated.
     11
     12        * Configurations/FeatureDefines.xcconfig:
     13        * css/CSSPropertyNames.in:
     14        * css/CSSValueKeywords.in:
     15
    1162012-10-04  Hayato Ito  <hayato@chromium.org>
    217
  • trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig

    r129260 r130460  
    4646ENABLE_CSS_REGIONS = ENABLE_CSS_REGIONS;
    4747ENABLE_CSS_SHADERS = ENABLE_CSS_SHADERS;
    48 ENABLE_CSS_COMPOSITING = ;
     48ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING;
    4949ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
    5050ENABLE_CSS_VARIABLES = ;
  • trunk/Source/WebCore/css/CSSPropertyNames.in

    r128347 r130460  
    266266-webkit-box-decoration-break
    267267#endif
     268#if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING
     269-webkit-blend-mode
     270#endif
    268271#if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS
    269272-webkit-filter
    270 #endif
    271 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING
    272 -webkit-blend-mode
    273273#endif
    274274-webkit-align-content
  • trunk/Source/WebKit/mac/ChangeLog

    r130439 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11
    1122012-10-04  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig

    r129260 r130460  
    4646ENABLE_CSS_REGIONS = ENABLE_CSS_REGIONS;
    4747ENABLE_CSS_SHADERS = ENABLE_CSS_SHADERS;
    48 ENABLE_CSS_COMPOSITING = ;
     48ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING;
    4949ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
    5050ENABLE_CSS_VARIABLES = ;
  • trunk/Source/WebKit2/ChangeLog

    r130453 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11
    1122012-10-04  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Tools/ChangeLog

    r130450 r130460  
     12012-10-04  Rik Cabanier  <cabanier@adobe.com>
     2
     3        Turn Compositing on by default in WebKit build
     4        https://bugs.webkit.org/show_bug.cgi?id=98315
     5
     6        Reviewed by Simon Fraser.
     7
     8        enable -webkit-blend-mode on trunk.
     9
     10        * Scripts/webkitperl/FeatureList.pm:
     11
    1122012-10-04  Ryuan Choi  <ryuan.choi@samsung.com>
    213
  • trunk/Tools/Scripts/webkitperl/FeatureList.pm

    r130372 r130460  
    191191
    192192    { option => "css-compositing", desc => "Toggle CSS Compositing support",
    193       define => "ENABLE_CSS_COMPOSITING", default => 0, value => \$cssCompositingSupport },
     193      define => "ENABLE_CSS_COMPOSITING", default => isAppleWebKit(), value => \$cssCompositingSupport },
    194194
    195195    { option => "css-variables", desc => "Toggle CSS Variable support",
Note: See TracChangeset for help on using the changeset viewer.