Changeset 160185 in webkit


Ignore:
Timestamp:
Dec 5, 2013 12:27:59 PM (10 years ago)
Author:
zoltan@webkit.org
Message:

[CSS Shapes] Update negative-arguments inset parsing test to test for the argument not for the commas
https://bugs.webkit.org/show_bug.cgi?id=125310

Reviewed by Rob Buis.

Fix typo in the negative-arguments inset tests, remove commas.

  • fast/shapes/parsing/parsing-shape-lengths-expected.txt:
  • fast/shapes/parsing/parsing-shape-lengths.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r160182 r160185  
     12013-12-05  Zoltan Horvath  <zoltan@webkit.org>
     2
     3        [CSS Shapes] Update negative-arguments inset parsing test to test for the argument not for the commas
     4        https://bugs.webkit.org/show_bug.cgi?id=125310
     5
     6        Reviewed by Rob Buis.
     7
     8        Fix typo in the negative-arguments inset tests, remove commas.
     9
     10        * fast/shapes/parsing/parsing-shape-lengths-expected.txt:
     11        * fast/shapes/parsing/parsing-shape-lengths.html:
     12
    1132013-12-04  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt

    r159968 r160185  
    7272PASS getStyleValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is null
    7373PASS getComputedStyleValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto"
    74 PASS getStyleValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is null
    75 PASS getComputedStyleValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "auto"
    76 PASS getStyleValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is null
    77 PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "auto"
    78 PASS getStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is null
    79 PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "auto"
    80 PASS getStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is null
    81 PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto"
     74PASS getStyleValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)") is null
     75PASS getComputedStyleValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)") is "auto"
     76PASS getStyleValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)") is null
     77PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)") is "auto"
     78PASS getStyleValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)") is null
     79PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)") is "auto"
     80PASS getStyleValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)") is null
     81PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)") is "auto"
    8282PASS successfullyParsed is true
    8383
  • trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html

    r159968 r160185  
    109109
    110110// reject negative top, right, bottom, and left
    111 testInvalidValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)");
    112 testInvalidValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)");
    113 testInvalidValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)");
    114 testInvalidValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)");
     111testInvalidValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)");
     112testInvalidValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)");
     113testInvalidValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)");
     114testInvalidValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)");
    115115
    116116</script>
Note: See TracChangeset for help on using the changeset viewer.