Changeset 274142 in webkit


Ignore:
Timestamp:
Mar 9, 2021 3:20:22 AM (17 months ago)
Author:
graouts@webkit.org
Message:

Select CSS properties animating as float should not allow negative values
https://bugs.webkit.org/show_bug.cgi?id=222912

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Add an extra 57 PASS results. We now pass all the outline-width interpolation tests.

  • web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
  • web-platform-tests/css/css-multicol/animation/column-width-interpolation-expected.txt:
  • web-platform-tests/css/css-ui/animation/outline-width-composition-expected.txt:
  • web-platform-tests/css/css-ui/animation/outline-width-interpolation-expected.txt:

Source/WebCore:

The properties border-width, column-width, outline-width, perspective,
flex-grow and flex-shrink do not allow negative values. We create a new
animation wrapper specifically for these properties.

  • animation/CSSPropertyAnimation.cpp:

(WebCore::NonNegativeFloatPropertyWrapper::NonNegativeFloatPropertyWrapper):
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

LayoutTests:

Mark WPT progressions for a platform-specific result.

  • platform/ios/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r274141 r274142  
     12021-03-08  Antoine Quint  <graouts@webkit.org>
     2
     3        Select CSS properties animating as float should not allow negative values
     4        https://bugs.webkit.org/show_bug.cgi?id=222912
     5
     6        Reviewed by Sam Weinig.
     7
     8        Mark WPT progressions for a platform-specific result.
     9
     10        * platform/ios/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
     11
    1122021-03-09  Kimmo Kinnunen  <kkinnunen@apple.com>
    213
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r274139 r274142  
     12021-03-08  Antoine Quint  <graouts@webkit.org>
     2
     3        Select CSS properties animating as float should not allow negative values
     4        https://bugs.webkit.org/show_bug.cgi?id=222912
     5
     6        Reviewed by Sam Weinig.
     7
     8        Add an extra 57 PASS results. We now pass all the outline-width interpolation tests.
     9
     10        * web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
     11        * web-platform-tests/css/css-multicol/animation/column-width-interpolation-expected.txt:
     12        * web-platform-tests/css/css-ui/animation/outline-width-composition-expected.txt:
     13        * web-platform-tests/css/css-ui/animation/outline-width-interpolation-expected.txt:
     14
    1152021-03-08  Antoine Quint  <graouts@webkit.org>
    216
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt

    r274139 r274142  
    4848PASS Web Animations: property <border-left-width> from neutral to [20px] at (1) should be [20px]
    4949PASS Web Animations: property <border-left-width> from neutral to [20px] at (1.5) should be [25px]
    50 FAIL CSS Transitions: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     50PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    5151PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    5252PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    5454PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    5555PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    56 FAIL CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     56PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    5757PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    5858PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    6060PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    6161PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    62 FAIL CSS Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     62PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    6363PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    6464PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    6666PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    6767PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    68 FAIL Web Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     68PASS Web Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    6969PASS Web Animations: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    7070PASS Web Animations: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    7272PASS Web Animations: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    7373PASS Web Animations: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    74 FAIL CSS Transitions: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     74PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    7575PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    7676PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    7878PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    7979PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    80 FAIL CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     80PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    8181PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    8282PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    8484PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    8585PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    86 FAIL CSS Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     86PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    8787PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    8888PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    9090PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    9191PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    92 FAIL Web Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     92PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    9393PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    9494PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    9696PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    9797PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    98 FAIL CSS Transitions: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     98PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    9999PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    100100PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    102102PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    103103PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    104 FAIL CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     104PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    105105PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    106106PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    108108PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    109109PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    110 FAIL CSS Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     110PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    111111PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    112112PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    114114PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    115115PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    116 FAIL Web Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     116PASS Web Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    117117PASS Web Animations: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    118118PASS Web Animations: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    120120PASS Web Animations: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    121121PASS Web Animations: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    122 FAIL CSS Transitions: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     122PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    123123PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    124124PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    126126PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    127127PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    128 FAIL CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     128PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    129129PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    130130PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    132132PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    133133PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    134 FAIL CSS Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     134PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    135135PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    136136PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    138138PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    139139PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    140 FAIL Web Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     140PASS Web Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    141141PASS Web Animations: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    142142PASS Web Animations: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    144144PASS Web Animations: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    145145PASS Web Animations: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    146 FAIL CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     146PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    147147PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    148148PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    151151PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    152152PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    153 FAIL CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     153PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    154154PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    155155PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    158158PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    159159PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    160 FAIL CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     160PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    161161PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    162162PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    165165PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    166166PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    167 FAIL Web Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     167PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    168168PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    169169PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    172172PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    173173PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    174 FAIL CSS Transitions: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     174PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    175175FAIL CSS Transitions: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px] assert_equals: expected "1px " but got "0.5px "
    176176PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    179179PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    180180PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    181 FAIL CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     181PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    182182FAIL CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px] assert_equals: expected "1px " but got "0.5px "
    183183PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    186186PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    187187PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    188 FAIL CSS Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     188PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    189189FAIL CSS Animations: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px] assert_equals: expected "1px " but got "0.5px "
    190190PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    193193PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    194194PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    195 FAIL Web Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     195PASS Web Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    196196FAIL Web Animations: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px] assert_equals: expected "1px " but got "0.5px "
    197197PASS Web Animations: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    200200PASS Web Animations: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    201201PASS Web Animations: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    202 FAIL CSS Transitions: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    203 FAIL CSS Transitions: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     202PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     203PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    204204PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    205205PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    207207PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    208208PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    209 FAIL CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    210 FAIL CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     209PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     210PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    211211PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    212212PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    214214PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    215215PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    216 FAIL CSS Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    217 FAIL CSS Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     216PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     217PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    218218PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    219219PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    221221PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    222222PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    223 FAIL Web Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    224 FAIL Web Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     223PASS Web Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     224PASS Web Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    225225PASS Web Animations: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    226226PASS Web Animations: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-multicol/animation/column-width-interpolation-expected.txt

    r272904 r274142  
    11
    2 FAIL CSS Transitions: property <column-width> from neutral to [20px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 190px "
     2PASS CSS Transitions: property <column-width> from neutral to [20px] at (-20) should be [1em]
    33PASS CSS Transitions: property <column-width> from neutral to [20px] at (-1) should be [1em]
    44PASS CSS Transitions: property <column-width> from neutral to [20px] at (-0.3) should be [7px]
     
    88PASS CSS Transitions: property <column-width> from neutral to [20px] at (1) should be [20px]
    99PASS CSS Transitions: property <column-width> from neutral to [20px] at (1.5) should be [25px]
    10 FAIL CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 190px "
     10PASS CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (-20) should be [1em]
    1111PASS CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (-1) should be [1em]
    1212PASS CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (-0.3) should be [7px]
     
    1616PASS CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (1) should be [20px]
    1717PASS CSS Transitions with transition: all: property <column-width> from neutral to [20px] at (1.5) should be [25px]
    18 FAIL CSS Animations: property <column-width> from neutral to [20px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 190px "
     18PASS CSS Animations: property <column-width> from neutral to [20px] at (-20) should be [1em]
    1919PASS CSS Animations: property <column-width> from neutral to [20px] at (-1) should be [1em]
    2020PASS CSS Animations: property <column-width> from neutral to [20px] at (-0.3) should be [7px]
     
    2424PASS CSS Animations: property <column-width> from neutral to [20px] at (1) should be [20px]
    2525PASS CSS Animations: property <column-width> from neutral to [20px] at (1.5) should be [25px]
    26 FAIL Web Animations: property <column-width> from neutral to [20px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 190px "
     26PASS Web Animations: property <column-width> from neutral to [20px] at (-20) should be [1em]
    2727PASS Web Animations: property <column-width> from neutral to [20px] at (-1) should be [1em]
    2828PASS Web Animations: property <column-width> from neutral to [20px] at (-0.3) should be [7px]
     
    3232PASS Web Animations: property <column-width> from neutral to [20px] at (1) should be [20px]
    3333PASS Web Animations: property <column-width> from neutral to [20px] at (1.5) should be [25px]
    34 FAIL CSS Transitions: property <column-width> from [initial] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "- 6px "
     34FAIL CSS Transitions: property <column-width> from [initial] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "0px "
    3535FAIL CSS Transitions: property <column-width> from [initial] to [20px] at (0) should be [20px] assert_equals: expected "20px " but got "0px "
    3636FAIL CSS Transitions: property <column-width> from [initial] to [20px] at (0.3) should be [20px] assert_equals: expected "20px " but got "6px "
     
    3939PASS CSS Transitions: property <column-width> from [initial] to [20px] at (1) should be [20px]
    4040FAIL CSS Transitions: property <column-width> from [initial] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    41 FAIL CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "- 6px "
     41FAIL CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "0px "
    4242FAIL CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (0) should be [20px] assert_equals: expected "20px " but got "0px "
    4343FAIL CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (0.3) should be [20px] assert_equals: expected "20px " but got "6px "
     
    4646PASS CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (1) should be [20px]
    4747FAIL CSS Transitions with transition: all: property <column-width> from [initial] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    48 FAIL CSS Animations: property <column-width> from [initial] to [20px] at (-0.3) should be [initial] assert_equals: expected "auto " but got "- 6px "
     48FAIL CSS Animations: property <column-width> from [initial] to [20px] at (-0.3) should be [initial] assert_equals: expected "auto " but got "0px "
    4949FAIL CSS Animations: property <column-width> from [initial] to [20px] at (0) should be [initial] assert_equals: expected "auto " but got "0px "
    5050FAIL CSS Animations: property <column-width> from [initial] to [20px] at (0.3) should be [initial] assert_equals: expected "auto " but got "6px "
     
    5353PASS CSS Animations: property <column-width> from [initial] to [20px] at (1) should be [20px]
    5454FAIL CSS Animations: property <column-width> from [initial] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    55 FAIL Web Animations: property <column-width> from [initial] to [20px] at (-0.3) should be [initial] assert_equals: expected "auto " but got "- 6px "
     55FAIL Web Animations: property <column-width> from [initial] to [20px] at (-0.3) should be [initial] assert_equals: expected "auto " but got "0px "
    5656FAIL Web Animations: property <column-width> from [initial] to [20px] at (0) should be [initial] assert_equals: expected "auto " but got "0px "
    5757FAIL Web Animations: property <column-width> from [initial] to [20px] at (0.3) should be [initial] assert_equals: expected "auto " but got "6px "
     
    9292PASS Web Animations: property <column-width> from [inherit] to [20px] at (1) should be [20px]
    9393PASS Web Animations: property <column-width> from [inherit] to [20px] at (1.5) should be [15px]
    94 FAIL CSS Transitions: property <column-width> from [unset] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "- 6px "
     94FAIL CSS Transitions: property <column-width> from [unset] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "0px "
    9595FAIL CSS Transitions: property <column-width> from [unset] to [20px] at (0) should be [20px] assert_equals: expected "20px " but got "0px "
    9696FAIL CSS Transitions: property <column-width> from [unset] to [20px] at (0.3) should be [20px] assert_equals: expected "20px " but got "6px "
     
    9999PASS CSS Transitions: property <column-width> from [unset] to [20px] at (1) should be [20px]
    100100FAIL CSS Transitions: property <column-width> from [unset] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    101 FAIL CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "- 6px "
     101FAIL CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (-0.3) should be [20px] assert_equals: expected "20px " but got "0px "
    102102FAIL CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (0) should be [20px] assert_equals: expected "20px " but got "0px "
    103103FAIL CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (0.3) should be [20px] assert_equals: expected "20px " but got "6px "
     
    106106PASS CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (1) should be [20px]
    107107FAIL CSS Transitions with transition: all: property <column-width> from [unset] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    108 FAIL CSS Animations: property <column-width> from [unset] to [20px] at (-0.3) should be [unset] assert_equals: expected "auto " but got "- 6px "
     108FAIL CSS Animations: property <column-width> from [unset] to [20px] at (-0.3) should be [unset] assert_equals: expected "auto " but got "0px "
    109109FAIL CSS Animations: property <column-width> from [unset] to [20px] at (0) should be [unset] assert_equals: expected "auto " but got "0px "
    110110FAIL CSS Animations: property <column-width> from [unset] to [20px] at (0.3) should be [unset] assert_equals: expected "auto " but got "6px "
     
    113113PASS CSS Animations: property <column-width> from [unset] to [20px] at (1) should be [20px]
    114114FAIL CSS Animations: property <column-width> from [unset] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    115 FAIL Web Animations: property <column-width> from [unset] to [20px] at (-0.3) should be [unset] assert_equals: expected "auto " but got "- 6px "
     115FAIL Web Animations: property <column-width> from [unset] to [20px] at (-0.3) should be [unset] assert_equals: expected "auto " but got "0px "
    116116FAIL Web Animations: property <column-width> from [unset] to [20px] at (0) should be [unset] assert_equals: expected "auto " but got "0px "
    117117FAIL Web Animations: property <column-width> from [unset] to [20px] at (0.3) should be [unset] assert_equals: expected "auto " but got "6px "
     
    120120PASS Web Animations: property <column-width> from [unset] to [20px] at (1) should be [20px]
    121121FAIL Web Animations: property <column-width> from [unset] to [20px] at (1.5) should be [20px] assert_equals: expected "20px " but got "30px "
    122 FAIL CSS Transitions: property <column-width> from [50px] to [100px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 950px "
     122PASS CSS Transitions: property <column-width> from [50px] to [100px] at (-20) should be [1em]
    123123PASS CSS Transitions: property <column-width> from [50px] to [100px] at (-1) should be [1em]
    124124PASS CSS Transitions: property <column-width> from [50px] to [100px] at (-0.3) should be [35px]
     
    128128PASS CSS Transitions: property <column-width> from [50px] to [100px] at (1) should be [100px]
    129129PASS CSS Transitions: property <column-width> from [50px] to [100px] at (1.5) should be [125px]
    130 FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 950px "
     130PASS CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (-20) should be [1em]
    131131PASS CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (-1) should be [1em]
    132132PASS CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (-0.3) should be [35px]
     
    136136PASS CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (1) should be [100px]
    137137PASS CSS Transitions with transition: all: property <column-width> from [50px] to [100px] at (1.5) should be [125px]
    138 FAIL CSS Animations: property <column-width> from [50px] to [100px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 950px "
     138PASS CSS Animations: property <column-width> from [50px] to [100px] at (-20) should be [1em]
    139139PASS CSS Animations: property <column-width> from [50px] to [100px] at (-1) should be [1em]
    140140PASS CSS Animations: property <column-width> from [50px] to [100px] at (-0.3) should be [35px]
     
    144144PASS CSS Animations: property <column-width> from [50px] to [100px] at (1) should be [100px]
    145145PASS CSS Animations: property <column-width> from [50px] to [100px] at (1.5) should be [125px]
    146 FAIL Web Animations: property <column-width> from [50px] to [100px] at (-20) should be [1em] assert_equals: expected "0px " but got "- 950px "
     146PASS Web Animations: property <column-width> from [50px] to [100px] at (-20) should be [1em]
    147147PASS Web Animations: property <column-width> from [50px] to [100px] at (-1) should be [1em]
    148148PASS Web Animations: property <column-width> from [50px] to [100px] at (-0.3) should be [35px]
     
    158158FAIL CSS Transitions: property <column-width> from [50px] to [auto] at (0.6) should be [auto] assert_equals: expected "auto " but got "20px "
    159159FAIL CSS Transitions: property <column-width> from [50px] to [auto] at (1) should be [auto] assert_equals: expected "auto " but got "0px "
    160 FAIL CSS Transitions: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "- 25px "
     160FAIL CSS Transitions: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "0px "
    161161FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (-0.3) should be [auto] assert_equals: expected "auto " but got "65px "
    162162FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (0) should be [auto] assert_equals: expected "auto " but got "50px "
     
    165165FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (0.6) should be [auto] assert_equals: expected "auto " but got "20px "
    166166FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (1) should be [auto] assert_equals: expected "auto " but got "0px "
    167 FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "- 25px "
     167FAIL CSS Transitions with transition: all: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "0px "
    168168FAIL CSS Animations: property <column-width> from [50px] to [auto] at (-0.3) should be [50px] assert_equals: expected "50px " but got "65px "
    169169PASS CSS Animations: property <column-width> from [50px] to [auto] at (0) should be [50px]
     
    172172FAIL CSS Animations: property <column-width> from [50px] to [auto] at (0.6) should be [auto] assert_equals: expected "auto " but got "20px "
    173173FAIL CSS Animations: property <column-width> from [50px] to [auto] at (1) should be [auto] assert_equals: expected "auto " but got "0px "
    174 FAIL CSS Animations: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "- 25px "
     174FAIL CSS Animations: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "0px "
    175175FAIL Web Animations: property <column-width> from [50px] to [auto] at (-0.3) should be [50px] assert_equals: expected "50px " but got "65px "
    176176PASS Web Animations: property <column-width> from [50px] to [auto] at (0) should be [50px]
     
    179179FAIL Web Animations: property <column-width> from [50px] to [auto] at (0.6) should be [auto] assert_equals: expected "auto " but got "20px "
    180180FAIL Web Animations: property <column-width> from [50px] to [auto] at (1) should be [auto] assert_equals: expected "auto " but got "0px "
    181 FAIL Web Animations: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "- 25px "
     181FAIL Web Animations: property <column-width> from [50px] to [auto] at (1.5) should be [auto] assert_equals: expected "auto " but got "0px "
    182182
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-composition-expected.txt

    r267650 r274142  
    99FAIL Compositing: property <outline-width> underlying [100px] from add [10px] to add [2px] at (0.5) should be [106px] assert_equals: expected "106px " but got "6px "
    1010FAIL Compositing: property <outline-width> underlying [100px] from add [10px] to add [2px] at (1) should be [102px] assert_equals: expected "102px " but got "2px "
    11 FAIL Compositing: property <outline-width> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px] assert_equals: expected "98px " but got "- 2px "
     11FAIL Compositing: property <outline-width> underlying [100px] from add [10px] to add [2px] at (1.5) should be [98px] assert_equals: expected "98px " but got "0px "
    1212FAIL Compositing: property <outline-width> underlying [10em] from add [100px] to add [20em] at (-0.3) should be [calc(130px + 4em)] assert_equals: expected "194px " but got "34px "
    1313FAIL Compositing: property <outline-width> underlying [10em] from add [100px] to add [20em] at (0) should be [calc(100px + 10em)] assert_equals: expected "260px " but got "100px "
     
    2424FAIL Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (0.5) should be [11px] assert_equals: expected "11px " but got "6px "
    2525FAIL Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (1) should be [6px] assert_equals: expected "6px " but got "1px "
    26 FAIL Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (1.5) should be [1px] assert_equals: expected "1px " but got "- 4px "
    27 FAIL Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (2) should be [0px] assert_equals: expected "0px " but got "- 9px "
     26FAIL Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (1.5) should be [1px] assert_equals: expected "1px " but got "0px "
     27PASS Compositing: property <outline-width> underlying [thick] from add [11px] to add [thin] at (2) should be [0px]
    2828
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-interpolation-expected.txt

    r272904 r274142  
    2424PASS Web Animations: property <outline-width> from neutral to [20px] at (1) should be [20px]
    2525PASS Web Animations: property <outline-width> from neutral to [20px] at (1.5) should be [25px]
    26 FAIL CSS Transitions: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     26PASS CSS Transitions: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px]
    2727PASS CSS Transitions: property <outline-width> from [initial] to [23px] at (0) should be [3px]
    2828PASS CSS Transitions: property <outline-width> from [initial] to [23px] at (0.3) should be [9px]
     
    3030PASS CSS Transitions: property <outline-width> from [initial] to [23px] at (1) should be [23px]
    3131PASS CSS Transitions: property <outline-width> from [initial] to [23px] at (1.5) should be [33px]
    32 FAIL CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     32PASS CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px]
    3333PASS CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (0) should be [3px]
    3434PASS CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (0.3) should be [9px]
     
    3636PASS CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (1) should be [23px]
    3737PASS CSS Transitions with transition: all: property <outline-width> from [initial] to [23px] at (1.5) should be [33px]
    38 FAIL CSS Animations: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     38PASS CSS Animations: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px]
    3939PASS CSS Animations: property <outline-width> from [initial] to [23px] at (0) should be [3px]
    4040PASS CSS Animations: property <outline-width> from [initial] to [23px] at (0.3) should be [9px]
     
    4242PASS CSS Animations: property <outline-width> from [initial] to [23px] at (1) should be [23px]
    4343PASS CSS Animations: property <outline-width> from [initial] to [23px] at (1.5) should be [33px]
    44 FAIL Web Animations: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     44PASS Web Animations: property <outline-width> from [initial] to [23px] at (-0.3) should be [0px]
    4545PASS Web Animations: property <outline-width> from [initial] to [23px] at (0) should be [3px]
    4646PASS Web Animations: property <outline-width> from [initial] to [23px] at (0.3) should be [9px]
     
    7272PASS Web Animations: property <outline-width> from [inherit] to [20px] at (1) should be [20px]
    7373PASS Web Animations: property <outline-width> from [inherit] to [20px] at (1.5) should be [15px]
    74 FAIL CSS Transitions: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     74PASS CSS Transitions: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px]
    7575PASS CSS Transitions: property <outline-width> from [unset] to [23px] at (0) should be [3px]
    7676PASS CSS Transitions: property <outline-width> from [unset] to [23px] at (0.3) should be [9px]
     
    7878PASS CSS Transitions: property <outline-width> from [unset] to [23px] at (1) should be [23px]
    7979PASS CSS Transitions: property <outline-width> from [unset] to [23px] at (1.5) should be [33px]
    80 FAIL CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     80PASS CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px]
    8181PASS CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (0) should be [3px]
    8282PASS CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (0.3) should be [9px]
     
    8484PASS CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (1) should be [23px]
    8585PASS CSS Transitions with transition: all: property <outline-width> from [unset] to [23px] at (1.5) should be [33px]
    86 FAIL CSS Animations: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     86PASS CSS Animations: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px]
    8787PASS CSS Animations: property <outline-width> from [unset] to [23px] at (0) should be [3px]
    8888PASS CSS Animations: property <outline-width> from [unset] to [23px] at (0.3) should be [9px]
     
    9090PASS CSS Animations: property <outline-width> from [unset] to [23px] at (1) should be [23px]
    9191PASS CSS Animations: property <outline-width> from [unset] to [23px] at (1.5) should be [33px]
    92 FAIL Web Animations: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     92PASS Web Animations: property <outline-width> from [unset] to [23px] at (-0.3) should be [0px]
    9393PASS Web Animations: property <outline-width> from [unset] to [23px] at (0) should be [3px]
    9494PASS Web Animations: property <outline-width> from [unset] to [23px] at (0.3) should be [9px]
     
    9696PASS Web Animations: property <outline-width> from [unset] to [23px] at (1) should be [23px]
    9797PASS Web Animations: property <outline-width> from [unset] to [23px] at (1.5) should be [33px]
    98 FAIL CSS Transitions: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     98PASS CSS Transitions: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px]
    9999PASS CSS Transitions: property <outline-width> from [0px] to [10px] at (0) should be [0px]
    100100PASS CSS Transitions: property <outline-width> from [0px] to [10px] at (0.3) should be [3px]
     
    102102PASS CSS Transitions: property <outline-width> from [0px] to [10px] at (1) should be [10px]
    103103PASS CSS Transitions: property <outline-width> from [0px] to [10px] at (1.5) should be [15px]
    104 FAIL CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     104PASS CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px]
    105105PASS CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (0) should be [0px]
    106106PASS CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (0.3) should be [3px]
     
    108108PASS CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (1) should be [10px]
    109109PASS CSS Transitions with transition: all: property <outline-width> from [0px] to [10px] at (1.5) should be [15px]
    110 FAIL CSS Animations: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     110PASS CSS Animations: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px]
    111111PASS CSS Animations: property <outline-width> from [0px] to [10px] at (0) should be [0px]
    112112PASS CSS Animations: property <outline-width> from [0px] to [10px] at (0.3) should be [3px]
     
    114114PASS CSS Animations: property <outline-width> from [0px] to [10px] at (1) should be [10px]
    115115PASS CSS Animations: property <outline-width> from [0px] to [10px] at (1.5) should be [15px]
    116 FAIL Web Animations: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     116PASS Web Animations: property <outline-width> from [0px] to [10px] at (-0.3) should be [0px]
    117117PASS Web Animations: property <outline-width> from [0px] to [10px] at (0) should be [0px]
    118118PASS Web Animations: property <outline-width> from [0px] to [10px] at (0.3) should be [3px]
     
    120120PASS Web Animations: property <outline-width> from [0px] to [10px] at (1) should be [10px]
    121121PASS Web Animations: property <outline-width> from [0px] to [10px] at (1.5) should be [15px]
    122 FAIL CSS Transitions: property <outline-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     122PASS CSS Transitions: property <outline-width> from [thick] to [15px] at (-2) should be [0px]
    123123PASS CSS Transitions: property <outline-width> from [thick] to [15px] at (-0.3) should be [2px]
    124124PASS CSS Transitions: property <outline-width> from [thick] to [15px] at (0) should be [5px]
     
    127127PASS CSS Transitions: property <outline-width> from [thick] to [15px] at (1) should be [15px]
    128128PASS CSS Transitions: property <outline-width> from [thick] to [15px] at (1.5) should be [20px]
    129 FAIL CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     129PASS CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (-2) should be [0px]
    130130PASS CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (-0.3) should be [2px]
    131131PASS CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (0) should be [5px]
     
    134134PASS CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (1) should be [15px]
    135135PASS CSS Transitions with transition: all: property <outline-width> from [thick] to [15px] at (1.5) should be [20px]
    136 FAIL CSS Animations: property <outline-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     136PASS CSS Animations: property <outline-width> from [thick] to [15px] at (-2) should be [0px]
    137137PASS CSS Animations: property <outline-width> from [thick] to [15px] at (-0.3) should be [2px]
    138138PASS CSS Animations: property <outline-width> from [thick] to [15px] at (0) should be [5px]
     
    141141PASS CSS Animations: property <outline-width> from [thick] to [15px] at (1) should be [15px]
    142142PASS CSS Animations: property <outline-width> from [thick] to [15px] at (1.5) should be [20px]
    143 FAIL Web Animations: property <outline-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     143PASS Web Animations: property <outline-width> from [thick] to [15px] at (-2) should be [0px]
    144144PASS Web Animations: property <outline-width> from [thick] to [15px] at (-0.3) should be [2px]
    145145PASS Web Animations: property <outline-width> from [thick] to [15px] at (0) should be [5px]
  • trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt

    r274139 r274142  
    4848PASS Web Animations: property <border-left-width> from neutral to [20px] at (1) should be [20px]
    4949PASS Web Animations: property <border-left-width> from neutral to [20px] at (1.5) should be [25px]
    50 FAIL CSS Transitions: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     50PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    5151PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    5252PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    5454PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    5555PASS CSS Transitions: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    56 FAIL CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     56PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    5757PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    5858PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    6060PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    6161PASS CSS Transitions with transition: all: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    62 FAIL CSS Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     62PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    6363PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    6464PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    6666PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    6767PASS CSS Animations: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    68 FAIL Web Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     68PASS Web Animations: property <border-left-width> from [initial] to [23px] at (-0.3) should be [0px]
    6969PASS Web Animations: property <border-left-width> from [initial] to [23px] at (0) should be [3px]
    7070PASS Web Animations: property <border-left-width> from [initial] to [23px] at (0.3) should be [9px]
     
    7272PASS Web Animations: property <border-left-width> from [initial] to [23px] at (1) should be [23px]
    7373PASS Web Animations: property <border-left-width> from [initial] to [23px] at (1.5) should be [33px]
    74 FAIL CSS Transitions: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     74PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    7575PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    7676PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    7878PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    7979PASS CSS Transitions: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    80 FAIL CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     80PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    8181PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    8282PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    8484PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    8585PASS CSS Transitions with transition: all: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    86 FAIL CSS Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     86PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    8787PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    8888PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    9090PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    9191PASS CSS Animations: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    92 FAIL Web Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 6px "
     92PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (-0.3) should be [0px]
    9393PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (0) should be [0px]
    9494PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (0.3) should be [6px]
     
    9696PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (1) should be [20px]
    9797PASS Web Animations: property <border-left-width> from [inherit] to [20px] at (1.5) should be [30px]
    98 FAIL CSS Transitions: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     98PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    9999PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    100100PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    102102PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    103103PASS CSS Transitions: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    104 FAIL CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     104PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    105105PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    106106PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    108108PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    109109PASS CSS Transitions with transition: all: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    110 FAIL CSS Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     110PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    111111PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    112112PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    114114PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    115115PASS CSS Animations: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    116 FAIL Web Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     116PASS Web Animations: property <border-left-width> from [unset] to [23px] at (-0.3) should be [0px]
    117117PASS Web Animations: property <border-left-width> from [unset] to [23px] at (0) should be [3px]
    118118PASS Web Animations: property <border-left-width> from [unset] to [23px] at (0.3) should be [9px]
     
    120120PASS Web Animations: property <border-left-width> from [unset] to [23px] at (1) should be [23px]
    121121PASS Web Animations: property <border-left-width> from [unset] to [23px] at (1.5) should be [33px]
    122 FAIL CSS Transitions: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     122PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    123123PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    124124PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    126126PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    127127PASS CSS Transitions: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    128 FAIL CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     128PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    129129PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    130130PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    132132PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    133133PASS CSS Transitions with transition: all: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    134 FAIL CSS Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     134PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    135135PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    136136PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    138138PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    139139PASS CSS Animations: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    140 FAIL Web Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 3px "
     140PASS Web Animations: property <border-left-width> from [0px] to [10px] at (-0.3) should be [0px]
    141141PASS Web Animations: property <border-left-width> from [0px] to [10px] at (0) should be [0px]
    142142PASS Web Animations: property <border-left-width> from [0px] to [10px] at (0.3) should be [3px]
     
    144144PASS Web Animations: property <border-left-width> from [0px] to [10px] at (1) should be [10px]
    145145PASS Web Animations: property <border-left-width> from [0px] to [10px] at (1.5) should be [15px]
    146 FAIL CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     146PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    147147PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    148148PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    151151PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    152152PASS CSS Transitions: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    153 FAIL CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     153PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    154154PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    155155PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    158158PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    159159PASS CSS Transitions with transition: all: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    160 FAIL CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     160PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    161161PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    162162PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    165165PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    166166PASS CSS Animations: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    167 FAIL Web Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 15px "
     167PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (-2) should be [0px]
    168168PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (-0.3) should be [2px]
    169169PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (0) should be [5px]
     
    172172PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (1) should be [15px]
    173173PASS Web Animations: property <border-bottom-width> from [thick] to [15px] at (1.5) should be [20px]
    174 FAIL CSS Transitions: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     174PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    175175PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px]
    176176PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    179179PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    180180PASS CSS Transitions: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    181 FAIL CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     181PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    182182PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px]
    183183PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    186186PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    187187PASS CSS Transitions with transition: all: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    188 FAIL CSS Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     188PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    189189PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px]
    190190PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    193193PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    194194PASS CSS Animations: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    195 FAIL Web Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 17px "
     195PASS Web Animations: property <border-left-width> from [medium] to [13px] at (-2) should be [0px]
    196196PASS Web Animations: property <border-left-width> from [medium] to [13px] at (-0.25) should be [0.5px]
    197197PASS Web Animations: property <border-left-width> from [medium] to [13px] at (0) should be [3px]
     
    200200PASS Web Animations: property <border-left-width> from [medium] to [13px] at (1) should be [13px]
    201201PASS Web Animations: property <border-left-width> from [medium] to [13px] at (1.5) should be [18px]
    202 FAIL CSS Transitions: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    203 FAIL CSS Transitions: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     202PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     203PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    204204PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    205205PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    207207PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    208208PASS CSS Transitions: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    209 FAIL CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    210 FAIL CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     209PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     210PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    211211PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    212212PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    214214PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    215215PASS CSS Transitions with transition: all: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    216 FAIL CSS Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    217 FAIL CSS Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     216PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     217PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    218218PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    219219PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
     
    221221PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (1) should be [11px]
    222222PASS CSS Animations: property <border-right-width> from [thin] to [11px] at (1.5) should be [16px]
    223 FAIL Web Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px] assert_equals: expected "0px " but got "- 19px "
    224 FAIL Web Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px] assert_equals: expected "0px " but got "- 2px "
     223PASS Web Animations: property <border-right-width> from [thin] to [11px] at (-2) should be [0px]
     224PASS Web Animations: property <border-right-width> from [thin] to [11px] at (-0.3) should be [0px]
    225225PASS Web Animations: property <border-right-width> from [thin] to [11px] at (0) should be [1px]
    226226PASS Web Animations: property <border-right-width> from [thin] to [11px] at (0.3) should be [4px]
  • trunk/Source/WebCore/ChangeLog

    r274141 r274142  
     12021-03-08  Antoine Quint  <graouts@webkit.org>
     2
     3        Select CSS properties animating as float should not allow negative values
     4        https://bugs.webkit.org/show_bug.cgi?id=222912
     5
     6        Reviewed by Sam Weinig.
     7
     8        The properties border-width, column-width, outline-width, perspective,
     9        flex-grow and flex-shrink do not allow negative values. We create a new
     10        animation wrapper specifically for these properties.
     11
     12        * animation/CSSPropertyAnimation.cpp:
     13        (WebCore::NonNegativeFloatPropertyWrapper::NonNegativeFloatPropertyWrapper):
     14        (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
     15
    1162021-03-09  Kimmo Kinnunen  <kkinnunen@apple.com>
    217
  • trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp

    r274055 r274142  
    17291729};
    17301730
     1731class NonNegativeFloatPropertyWrapper : public PropertyWrapper<float> {
     1732    WTF_MAKE_FAST_ALLOCATED;
     1733public:
     1734    NonNegativeFloatPropertyWrapper(CSSPropertyID prop, float (RenderStyle::*getter)() const, void (RenderStyle::*setter)(float))
     1735        : PropertyWrapper<float>(prop, getter, setter)
     1736    {
     1737    }
     1738
     1739    void blend(const CSSPropertyBlendingClient* anim, RenderStyle* dst, const RenderStyle* from, const RenderStyle* to, double progress) const override
     1740    {
     1741        auto blendedValue = blendFunc(anim, value(from), value(to), progress);
     1742        (dst->*m_setter)(blendedValue > 0 ? blendedValue : 0);
     1743    }
     1744};
     1745
    17311746class CSSPropertyAnimationWrapperMap {
    17321747    WTF_MAKE_FAST_ALLOCATED;
     
    17981813        new PropertyWrapperFlex(),
    17991814
    1800         new PropertyWrapper<float>(CSSPropertyBorderLeftWidth, &RenderStyle::borderLeftWidth, &RenderStyle::setBorderLeftWidth),
    1801         new PropertyWrapper<float>(CSSPropertyBorderRightWidth, &RenderStyle::borderRightWidth, &RenderStyle::setBorderRightWidth),
    1802         new PropertyWrapper<float>(CSSPropertyBorderTopWidth, &RenderStyle::borderTopWidth, &RenderStyle::setBorderTopWidth),
    1803         new PropertyWrapper<float>(CSSPropertyBorderBottomWidth, &RenderStyle::borderBottomWidth, &RenderStyle::setBorderBottomWidth),
     1815        new NonNegativeFloatPropertyWrapper(CSSPropertyBorderLeftWidth, &RenderStyle::borderLeftWidth, &RenderStyle::setBorderLeftWidth),
     1816        new NonNegativeFloatPropertyWrapper(CSSPropertyBorderRightWidth, &RenderStyle::borderRightWidth, &RenderStyle::setBorderRightWidth),
     1817        new NonNegativeFloatPropertyWrapper(CSSPropertyBorderTopWidth, &RenderStyle::borderTopWidth, &RenderStyle::setBorderTopWidth),
     1818        new NonNegativeFloatPropertyWrapper(CSSPropertyBorderBottomWidth, &RenderStyle::borderBottomWidth, &RenderStyle::setBorderBottomWidth),
    18041819        new LengthPropertyWrapper(CSSPropertyMarginLeft, &RenderStyle::marginLeft, &RenderStyle::setMarginLeft),
    18051820        new LengthPropertyWrapper(CSSPropertyMarginRight, &RenderStyle::marginRight, &RenderStyle::setMarginRight),
     
    18431858        new LengthVariantPropertyWrapper<GapLength>(CSSPropertyRowGap, &RenderStyle::rowGap, &RenderStyle::setRowGap),
    18441859        new PropertyWrapper<unsigned short>(CSSPropertyColumnCount, &RenderStyle::columnCount, &RenderStyle::setColumnCount),
    1845         new PropertyWrapper<float>(CSSPropertyColumnWidth, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth),
     1860        new NonNegativeFloatPropertyWrapper(CSSPropertyColumnWidth, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth),
    18461861        new PropertyWrapper<float>(CSSPropertyWebkitBorderHorizontalSpacing, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHorizontalBorderSpacing),
    18471862        new PropertyWrapper<float>(CSSPropertyWebkitBorderVerticalSpacing, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalBorderSpacing),
     
    18511866        new LengthPropertyWrapper(CSSPropertyLineHeight, &RenderStyle::specifiedLineHeight, &RenderStyle::setLineHeight),
    18521867        new PropertyWrapper<float>(CSSPropertyOutlineOffset, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset),
    1853         new PropertyWrapper<float>(CSSPropertyOutlineWidth, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth),
     1868        new NonNegativeFloatPropertyWrapper(CSSPropertyOutlineWidth, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth),
    18541869        new PropertyWrapper<float>(CSSPropertyLetterSpacing, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing),
    18551870        new LengthPropertyWrapper(CSSPropertyWordSpacing, &RenderStyle::wordSpacing, &RenderStyle::setWordSpacing),
    18561871        new LengthPropertyWrapper(CSSPropertyTextIndent, &RenderStyle::textIndent, &RenderStyle::setTextIndent, LengthPropertyWrapper::Flags::IsLengthPercentage),
    18571872
    1858         new PropertyWrapper<float>(CSSPropertyPerspective, &RenderStyle::perspective, &RenderStyle::setPerspective),
     1873        new NonNegativeFloatPropertyWrapper(CSSPropertyPerspective, &RenderStyle::perspective, &RenderStyle::setPerspective),
    18591874        new LengthPropertyWrapper(CSSPropertyPerspectiveOriginX, &RenderStyle::perspectiveOriginX, &RenderStyle::setPerspectiveOriginX, LengthPropertyWrapper::Flags::IsLengthPercentage),
    18601875        new LengthPropertyWrapper(CSSPropertyPerspectiveOriginY, &RenderStyle::perspectiveOriginY, &RenderStyle::setPerspectiveOriginY, LengthPropertyWrapper::Flags::IsLengthPercentage),
     
    19421957
    19431958        new LengthPropertyWrapper(CSSPropertyFlexBasis, &RenderStyle::flexBasis, &RenderStyle::setFlexBasis),
    1944         new PropertyWrapper<float>(CSSPropertyFlexGrow, &RenderStyle::flexGrow, &RenderStyle::setFlexGrow),
    1945         new PropertyWrapper<float>(CSSPropertyFlexShrink, &RenderStyle::flexShrink, &RenderStyle::setFlexShrink),
     1959        new NonNegativeFloatPropertyWrapper(CSSPropertyFlexGrow, &RenderStyle::flexGrow, &RenderStyle::setFlexGrow),
     1960        new NonNegativeFloatPropertyWrapper(CSSPropertyFlexShrink, &RenderStyle::flexShrink, &RenderStyle::setFlexShrink),
    19461961        new PropertyWrapper<int>(CSSPropertyOrder, &RenderStyle::order, &RenderStyle::setOrder),
    19471962
Note: See TracChangeset for help on using the changeset viewer.