Skip to content
Permalink
Browse files
[css shapes] Parse new ellipse shape syntax
https://bugs.webkit.org/show_bug.cgi?id=124620

Patch by Rob Buis <rob.buis@samsung.com> on 2013-12-02
Reviewed by Dirk Schulze.

Source/WebCore:

Implement parsing of the new ellipse shape syntax. This closely follows the patch
for the new circle syntax (https://bugs.webkit.org/show_bug.cgi?id=124618), with
some refactoring of functionality shared by both.

Updated existing parsing tests to cover this.

* css/BasicShapeFunctions.cpp:
(WebCore::BasicShapeRadiusToCSSValue):
(WebCore::valueForBasicShape):
(WebCore::CSSValueToBasicShapeRadius):
(WebCore::basicShapeForValue):
* css/CSSBasicShapes.cpp:
(WebCore::buildEllipseString):
(WebCore::CSSBasicShapeEllipse::cssText):
(WebCore::CSSBasicShapeEllipse::equals):
(WebCore::buildDeprecatedEllipseString):
(WebCore::CSSDeprecatedBasicShapeEllipse::cssText):
(WebCore::CSSDeprecatedBasicShapeEllipse::equals):
* css/CSSBasicShapes.h:
(WebCore::CSSDeprecatedBasicShapeEllipse::create):
(WebCore::CSSDeprecatedBasicShapeEllipse::centerX):
(WebCore::CSSDeprecatedBasicShapeEllipse::centerY):
(WebCore::CSSDeprecatedBasicShapeEllipse::radiusX):
(WebCore::CSSDeprecatedBasicShapeEllipse::radiusY):
(WebCore::CSSDeprecatedBasicShapeEllipse::setCenterX):
(WebCore::CSSDeprecatedBasicShapeEllipse::setCenterY):
(WebCore::CSSDeprecatedBasicShapeEllipse::setRadiusX):
(WebCore::CSSDeprecatedBasicShapeEllipse::setRadiusY):
(WebCore::CSSDeprecatedBasicShapeEllipse::CSSDeprecatedBasicShapeEllipse):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseBasicShapeEllipse):
(WebCore::CSSParser::parseDeprecatedBasicShapeEllipse):
(WebCore::CSSParser::parseBasicShape):
* css/CSSParser.h:
* rendering/shapes/Shape.cpp:
(WebCore::Shape::createShape):
* rendering/style/BasicShapes.cpp:
(WebCore::DeprecatedBasicShapeEllipse::path):
(WebCore::DeprecatedBasicShapeEllipse::blend):
(WebCore::BasicShapeEllipse::path):
(WebCore::BasicShapeEllipse::blend):
* rendering/style/BasicShapes.h:
(WebCore::BasicShapeEllipse::centerX):
(WebCore::BasicShapeEllipse::centerY):
(WebCore::BasicShapeEllipse::radiusX):
(WebCore::BasicShapeEllipse::radiusY):
(WebCore::BasicShapeEllipse::setCenterX):
(WebCore::BasicShapeEllipse::setCenterY):
(WebCore::BasicShapeEllipse::setRadiusX):
(WebCore::BasicShapeEllipse::setRadiusY):
(WebCore::BasicShapeEllipse::BasicShapeEllipse):
(WebCore::DeprecatedBasicShapeEllipse::create):
(WebCore::DeprecatedBasicShapeEllipse::DeprecatedBasicShapeEllipse):

LayoutTests:

Test that the new ellipse syntax is properly parsed.

* fast/shapes/parsing/parsing-shape-inside-expected.txt:
* fast/shapes/parsing/parsing-shape-outside-expected.txt:
* fast/shapes/parsing/parsing-test-utils.js:

Canonical link: https://commits.webkit.org/143196@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Rob Buis authored and webkit-commit-queue committed Dec 2, 2013
1 parent e9762b6 commit 769b7aada40d8ddb7b47d5c5a5a12482e0c3cdd1
Showing 13 changed files with 512 additions and 76 deletions.
@@ -1,3 +1,16 @@
2013-12-02 Rob Buis <rob.buis@samsung.com>

[css shapes] Parse new ellipse shape syntax
https://bugs.webkit.org/show_bug.cgi?id=124620

Reviewed by Dirk Schulze.

Test that the new ellipse syntax is properly parsed.

* fast/shapes/parsing/parsing-shape-inside-expected.txt:
* fast/shapes/parsing/parsing-shape-outside-expected.txt:
* fast/shapes/parsing/parsing-test-utils.js:

2013-12-02 Brendan Long <b.long@cablelabs.com>

Use GenericEventQueue in TrackListBase and reduce code duplication with scheduleTrackEvent()
@@ -29,8 +29,6 @@ PASS getCSSText("-webkit-shape-inside", "circle(10px at 10px 10px)") is "circle(
PASS getComputedStyleValue("-webkit-shape-inside", "circle(10px at 10px 10px)") is "circle(10px at 10px 10px)"
PASS getCSSText("-webkit-shape-inside", "circle(at 10px)") is "circle(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-inside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-inside", "circle(at 10px)") is "circle(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-inside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-inside", "circle(at 10px 10px)") is "circle(at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "circle(at 10px 10px)") is "circle(closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-inside", "circle(at top left)") is "circle(at 0% 0%)"
@@ -45,6 +43,38 @@ PASS getCSSText("-webkit-shape-inside", "circle(10px at right 10px bottom 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "circle(10px at right 10px bottom 10px)") is "circle(10px at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
PASS getCSSText("-webkit-shape-inside", "ellipse()") is "ellipse()"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse()") is "ellipse(closest-side closest-side at 50% 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px)") is "ellipse(10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px)") is "ellipse(10px closest-side at 50% 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px)") is "ellipse(10px 20px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px)") is "ellipse(10px 20px at 50% 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at 10px)") is "ellipse(10px at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at 10px)") is "ellipse(10px closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at 10px 10px)") is "ellipse(10px at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at 10px 10px)") is "ellipse(10px closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(at 10px)") is "ellipse(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at 10px)") is "ellipse(closest-side closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(at 10px 10px)") is "ellipse(at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at 10px 10px)") is "ellipse(closest-side closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(at top left)") is "ellipse(at 0% 0%)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at top left)") is "ellipse(closest-side closest-side at 0% 0%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(at right bottom)") is "ellipse(at 100% 100%)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at right bottom)") is "ellipse(closest-side closest-side at 100% 100%)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at left top 10px)") is "ellipse(10px at left 0% top 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at left top 10px)") is "ellipse(10px closest-side at left 0% top 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px at left 10px top 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px closest-side at left 10px top 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px at right 10px bottom 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px closest-side at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-inside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getComputedStyleValue("-webkit-shape-inside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getCSSText("-webkit-shape-inside", "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)") is "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)"
@@ -127,16 +157,28 @@ PASS getCSSText("-webkit-shape-inside", "circle(at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "circle(at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-inside", "circle(at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "circle(at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse()") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse()") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px, 20px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px, 20px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px, 20px, 30px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px, 20px, 30px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px 30px 40px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px 30px 40px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px 30px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px 30px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at 10px 10px 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at 10px 10px 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(10px 20px 30px at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(10px 20px 30px at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(at 10px 10px 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at 10px 10px 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-inside", "ellipse(at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "ellipse(at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-inside", "polygon()") is ""
PASS getComputedStyleValue("-webkit-shape-inside", "polygon()") is "auto"
PASS getCSSText("-webkit-shape-inside", "polygon(evenodd 10px 20px, 30px 40px, 40px 50px)") is ""
@@ -29,8 +29,6 @@ PASS getCSSText("-webkit-shape-outside", "circle(10px at 10px 10px)") is "circle
PASS getComputedStyleValue("-webkit-shape-outside", "circle(10px at 10px 10px)") is "circle(10px at 10px 10px)"
PASS getCSSText("-webkit-shape-outside", "circle(at 10px)") is "circle(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-outside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-outside", "circle(at 10px)") is "circle(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-outside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-outside", "circle(at 10px 10px)") is "circle(at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "circle(at 10px 10px)") is "circle(closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-outside", "circle(at top left)") is "circle(at 0% 0%)"
@@ -45,6 +43,38 @@ PASS getCSSText("-webkit-shape-outside", "circle(10px at right 10px bottom 10px)
PASS getComputedStyleValue("-webkit-shape-outside", "circle(10px at right 10px bottom 10px)") is "circle(10px at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
PASS getCSSText("-webkit-shape-outside", "ellipse()") is "ellipse()"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse()") is "ellipse(closest-side closest-side at 50% 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px)") is "ellipse(10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px)") is "ellipse(10px closest-side at 50% 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px)") is "ellipse(10px 20px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px)") is "ellipse(10px 20px at 50% 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at 10px)") is "ellipse(10px at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at 10px)") is "ellipse(10px closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at 10px 10px)") is "ellipse(10px at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at 10px 10px)") is "ellipse(10px closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(at 10px)") is "ellipse(at 10px 50%)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at 10px)") is "ellipse(closest-side closest-side at 10px 50%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(at 10px 10px)") is "ellipse(at 10px 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at 10px 10px)") is "ellipse(closest-side closest-side at 10px 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(at top left)") is "ellipse(at 0% 0%)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at top left)") is "ellipse(closest-side closest-side at 0% 0%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(at right bottom)") is "ellipse(at 100% 100%)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at right bottom)") is "ellipse(closest-side closest-side at 100% 100%)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at left top 10px)") is "ellipse(10px at left 0% top 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at left top 10px)") is "ellipse(10px closest-side at left 0% top 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px at left 10px top 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px closest-side at left 10px top 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px at right 10px bottom 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px closest-side at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
PASS getCSSText("-webkit-shape-outside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getComputedStyleValue("-webkit-shape-outside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getCSSText("-webkit-shape-outside", "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)") is "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)"
@@ -125,16 +155,28 @@ PASS getCSSText("-webkit-shape-outside", "circle(at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "circle(at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-outside", "circle(at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "circle(at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse()") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse()") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px, 20px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px, 20px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px, 20px, 30px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px, 20px, 30px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px 30px 40px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px 30px 40px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px 30px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px 30px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at 10px 10px 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at 10px 10px 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(10px 20px 30px at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(10px 20px 30px at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(at 10px 10px 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at 10px 10px 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(at 10px 10px at center)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at 10px 10px at center)") is "auto"
PASS getCSSText("-webkit-shape-outside", "ellipse(at center center 10px)") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "ellipse(at center center 10px)") is "auto"
PASS getCSSText("-webkit-shape-outside", "polygon()") is ""
PASS getComputedStyleValue("-webkit-shape-outside", "polygon()") is "auto"
PASS getCSSText("-webkit-shape-outside", "polygon(evenodd 10px 20px, 30px 40px, 40px 50px)") is ""

0 comments on commit 769b7aa

Please sign in to comment.