CSS Shapes Module Level 1 CR Test Suite

Declaring Shapes (191 tests)

Test Refs Flags Info
+ 6 Declaring Shapes
+ 6.1 Float Area Shape: the shape-outside property
shape-image-000 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a png image in a data: url is properly respected on a left float.
shape-image-001 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a png image with 70% alpha is treated as if the image had no alpha.
shape-image-002 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a svg image in a data uri is properly interpreted as a shape.
shape-image-003 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a svg image with 20% alpha and 0.3 shape-image-threshold creates a proper shape.
shape-image-004 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a png image with 50% alpha and 0.6 shape-image-threshold creates a proper shape.
shape-image-005 = AhemBitmaps Image shape on a left float
  • This test verifies that a shape specified as a svg image in a data uri with 70% alpha and 0.8 shape-image-threshold creates a proper shape.
shape-image-006 = Ahem left float, url(png), real image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file.
shape-image-007 = Ahem left float, url(svg), real image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given an svg file.
shape-image-008 = Ahem left float, url(jpg), data uri + shape-margin (%)
  • This test verifies that content wraps around all the image pixels + the shape-margin as a percentage when shape-outside is given an jpg data uri.
shape-image-009 = Ahem left float, url(png), real image 70% + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-010 = Ahem left float, url(png), data uri + shape-image-threshold + shape-margin (%)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin as a percentage.
shape-image-011 = Ahem left float, url(svg), real image + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside svg file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-012 = Ahem Wrapping content around right floating actual jpg image
  • This test verifies that content wraps around all the image pixels when shape-outside is given a jpg.
shape-image-013 = Ahem Wrapping content around shape given by a right floating png
  • This test verifies that content wraps around the shape defined by the data uri png.
shape-image-014 = Ahem Wrapping content around shape given by a right floating svg file
  • This test verifies that content wraps around the shape defined by an svg file.
shape-image-015 = AhemBitmaps Image shape on a right float
  • This test verifies that a shape specified as a png image with 20% alpha and 0.2 shape-image-threshold creates a proper shape.
shape-image-016 = AhemBitmaps Image shape on a right float
  • This test verifies that a shape specified as a png image with 70% alpha and 0.71 shape-image-threshold creates a proper shape.
shape-image-017 = AhemBitmaps Image shape on a right float
  • This test verifies that a shape specified as a data uri svg with 70% alpha creates a proper shape, shape-image-threshold is defined to 0.71.
shape-image-018 = Ahem right float, url(jpg), real image + shape-margin (%)
  • This test verifies that the boundary of a shape-outside defined by a JPEG image file is the same as the image's dimensions + shape-margin.
shape-image-019 = Ahem right float, url(png), data uri + shape-margin (px)
  • This test verifies the boundary of a shape-outside defined by a PNG data URI and a shape-margin.
shape-image-020 = Ahem right float, url(svg), data uri + shape-margin (%)
  • This test verifies the boundary of a shape-outside defined by an SVG URI and a shape-margin.
shape-image-021 = Ahem right float, url(png), real image + shape-image-threshold + shape-margin (%)
  • This test verifies that the boundary of a shape-outside defined by a PNG image file and shape-margin is correct.
shape-image-022 = Ahem right float, url(gif), real image + shape-image-threshold + shape-margin (px)
  • This test verifies that the boundary of a shape-outside defined by a GIF image file and shape-margin is correct.
shape-image-023 = Ahem right float, url(svg), data uri + shape-image-threshold + shape-margin (%)
  • This test verifies the boundary of a shape-outside defined by an SVG URI, shape-image-threshold, and a shape-margin.
shape-image-024 = Ahem shape-outside from img element with different size than the image file
  • This test verifies that content wraps around all the image pixels calculated from the size of the img element, which is different than the size of the image itself.
shape-image-025 = Ahem shape-outside from first frame of animated gif
  • This test verifies that shape-outside is extracted from the first frame of an animated gif.
shape-image-026 = Ahem left float, url(png), real offset image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file. Additionally, the shape-outside: image element is offset from its containing block.
shape-image-027 = Ahem left float, url(png), real negative offset image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file. Additionally, the shape-outside: image element is given a negative left offset relative to its containing block.
shape-outside-001 = Ahem Left and right float with shape-outside
  • This test verifies that left floats with a shape-outside only allow content wrapping on the right side, and right floats only allow wrapping on the left.
shape-outside-002 = Ahem Left and right float with shape-outside with clipped left float
  • This test verifies that left floats with a shape-outside only allow content wrapping on the right side, and right floats only allow wrapping on the left and that the left float shape is clipped to the float's margin box
shape-outside-003 = Ahem Left and right float with shape-outside with clipped right float
  • This test verifies that left floats with a shape-outside only allow content wrapping on the right side, and right floats only allow wrapping on the left and that the right float shape is clipped to the float's margin box
shape-outside-004 = Ahem inset with no extent and inline content - inset(50% 50% 50% 50%)
  • This test verifies that a shape with no extent allow inline content to flow through all of the float's box.
shape-outside-005 = Ahem inset with no extent and inline content - inset(150% 150% 0% 0%)
  • This test verifies that a shape with no extent allow inline content to flow through all of the float's box.
shape-outside-006 = Ahem shape-outside with open areas on both the left & right of the float area
  • This test verifies that content wraps only on one side of the float even though there is open area on both the left and right sides of the float.
shape-outside-007 = Ahem Shape smaller than float content area - 1 float
  • This test verifies that inline content only wraps around the shape, and otherwise overlays the rest of the float margin box
shape-outside-008 = Ahem Shape smaller than float content area - 2 floats
  • This test verifies that inline content only wraps around the shapes, and otherwise overlays the rest of the float margin boxes when two floats are stacked next to each other.
shape-outside-010 AhemDOM/JSScript Shape from image - url(), alpha channel, opacity 0
  • This test verifies that the content flows around the shape defined in the images alpha channel that is completely transparent.
shape-outside-011 AhemDOM/JSScript Shape from image - url(), alpha channel, opacity > 0
  • This test verifies that the content flows around the shape defined in the images alpha channel that has some opacity.
shape-outside-012 AhemDOM/JSScript Shape from image - shape-image-threshold - 0.9
  • This test verifies content flows around a shape that is defined in the image's alpha channel and adjusted by the image-threshold
shape-outside-013 AhemDOM/JSScript Shape from image - shape-margin
  • This test verifies that the content flows around the shape defined in the images alpha channel and adjusted by the shape-margin.
shape-outside-014 AhemDOM/JSScript Shape from box value - margin-box
  • This test verifies that content wraps around a shape defined by its margin box.
shape-outside-015 AhemDOM/JSScript Shape from box value - border-box
  • This test verifies that content wraps around a shape defined by its border box.
shape-outside-016 AhemDOM/JSScript Shape from box value - padding-box
  • This test verifies that content wraps around a shape defined by its padding box.
shape-outside-017 AhemDOM/JSScript Shape from box value - content-box
  • This test verifies that content wraps around a shape defined by its content box.
shape-outside-018 AhemDOM/JSScript shape-margin offset from a polygonal shape-outside
  • This test verifies that that content flows around the shape-margin defined on a polygonal shape-outside.
shape-outside-019 AhemDOM/JSScript Shape from image - alpha channel, opacity > 0 + shape-margin
  • This test verifies that the content flows around the shape defined in the images alpha channel and the shape-margin.
shape-outside-box-000 AhemDOM/JSScript Shape Outside Box Valid Values
  • Shape-outside may be one of the box model box values
shape-outside-box-002 = Ahem left float, shape-outside: content-box
  • The test verifies that text wraps around a left float with a shape-outside defined as the content box.
shape-outside-box-003 = Ahem left float, shape-outside: border-box
  • The test verifies that text wraps around a left float with a shape-outside defined as the border box.
shape-outside-box-004 = Ahem left float, shape-outside: padding-box
  • The test verifies that text wraps around a left float with a shape-outside defined as the padding box.
shape-outside-box-006 = Ahem right float, shape-outside: content-box
  • The test verifies that text wraps around a right float with a shape-outside defined as the content box.
shape-outside-box-007 = Ahem right float, shape-outside: border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as the border box.
shape-outside-box-008 = Ahem right float, shape-outside: padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as the padding box.
shape-outside-box-009 = Ahem right float, shape-outside: border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as the border box, with negative margins. The float area is clipped to the margin box.
shape-outside-circle-000 AhemDOM/JSScript Shape Outside Circle Valid Formats
  • A circular basic shape has an optional radius and position component
shape-outside-circle-001 AhemDOM/JSScript Shape Outside Circle Valid Radii
  • A circle's radius may be a length, percentage, or keyword.
shape-outside-circle-002 AhemDOM/JSScript Shape Outside Circle Valid Positions
  • A circle's position argument may be any of the valid combinations: [ percentage|length left|center|right ] or [ percentage|length left|center|right ] [ percentage|length top|center|bottom ] or [ left|center|right ] or [ left|center|right top|center|bottom ] or [ top|center|bottom ].
shape-outside-circle-003 AhemDOM/JSScript Shape Outside Circle Invalid Position Argument Lists
  • Valid circle position argument list are in the form of: [ percentage|length left|center|right ] or [ percentage|length left|center|right ] [ percentage|length top|center|bottom ] or [ left|center|right ] or [ left|center|right top|center|bottom ] or [ top|center|bottom ]. All position arguments not in this form are invalid.
shape-outside-circle-004 AhemDOM/JSScript Shape Outside Circle - Position Length Units
  • A circle's position arguments may in any valid <length> unit allowed by a <position> value.
shape-outside-circle-005 AhemDOM/JSScript Shape Outside Circle Valid Radii - length units
  • A circle's radius may be in any valid length unit.
shape-outside-circle-006 AhemDOM/JSScript Shape Outside Circle Radii - positive/negative, decimal/non-decimal
  • A circle's radius may be in signed positive or decimal/non-decimal format. Negative radii are invalid.
shape-outside-circle-007 AhemDOM/JSScript Shape Outside Circle Radii - invalid args
  • This test verifies that invalid shape-radius arguments on circle() don't parse.
shape-outside-circle-008 AhemDOM/JSScript Shape Outside Circle Invalid Position Argument Values
  • This test verifies that invalid position arguments on circle() don't parse
shape-outside-circle-009 AhemDOM/JSScript Shape Outside Circle Position Arguments - positive/negative, decimal/non-decimal
  • A circle's position arguments may be in signed positive/negative or decimal/non-decimal format.
shape-outside-circle-010 AhemDOM/JSScript Shape Outside Circle args - calc() values
  • A circle's arguments may be in calc() values.
shape-outside-circle-011 AhemDOM/JSScript Shape Outside Circle position args - calc() values
  • A circle's <position> arguments may be in calc() values.
shape-outside-circle-013 = Ahem left float, circle + margin-box + position (px)
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the margin box and positioned in px units.
shape-outside-circle-014 = Ahem left float, circle + content-box + radius and position in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the content box with the radius and position in percentage units.
shape-outside-circle-015 = Ahem left float, circle + closest-side + padding-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with the radius explicitly set as closest-side from the padding box.
shape-outside-circle-016 = Ahem left float, circle + farthest-side + border-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with the radius defined as farthest-side from the border box.
shape-outside-circle-017 = Ahem left float, circle + shape-margin in px
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a shape-margin in px units.
shape-outside-circle-018 = Ahem left float, circle + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a shape-margin in percentage units.
shape-outside-circle-019 = Ahem left float, circle at top left + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the margin box and is positioned top left with a shape-margin.
shape-outside-circle-020 = Ahem left float, circle at % + border-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the padding box with a position specified as a percentage and with a shape-margin.
shape-outside-circle-021 = Ahem left float, circle + farthest-side + padding-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a farthest-side radius from the padding box with a shape-margin.
shape-outside-circle-022 = Ahem left float, circle at bottom right + content-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the padding box positioned at center right with a shape-margin.
shape-outside-circle-024 = Ahem right float, circle radius in % units + shape-margin + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the border box with radius in percentage units and with a shape-margin.
shape-outside-circle-025 = Ahem right float, circle + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the padding box with a shape-margin.
shape-outside-circle-026 = Ahem right float, circle + shape-margin + content-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the content box with a shape-margin.
shape-outside-circle-027 = Ahem right float, circle with radius in % units + shape-margin + margin-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned from the margin box with a shape-margin.
shape-outside-circle-028 = Ahem right float, circle(closest-side) at position % + shape-margin + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned from the border box with a shape-margin.
shape-outside-circle-029 = Ahem right float, circle at center right + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned center right from the padding box with a shape-margin.
shape-outside-circle-030 = AhemDOM/JS left float, circle radius in px units
  • The test verifies that text wraps around a left float with a shape-outside defined as an circle with the radius in px units.
shape-outside-circle-031 = AhemDOM/JS left float, circle radius in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as an circle with the radius in percentage units.
shape-outside-circle-056 = Ahem left float, offset circle at top left + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the margin box and is positioned top left with a shape-margin. Additionally, the shape-outside: circle element is offset from its containing block.
shape-outside-computed-shape-000 AhemDOM/JSScript Shape Outside Basic Shape Computed Font Relative Lengths
  • The basic shape can contain relative length formats, which resolve to the computed (absolute) length value
shape-outside-computed-shape-001 AhemDOM/JSScript Shape Outside Basic Shape Computed Percentage Lengths
  • The basic shape can contain percentages, which remain unchanged when computed
shape-outside-ellipse-000 AhemDOM/JSScript Shape Outside Ellipse Valid Formats
  • An elliptical basic shape has two optional components, radii (2) and a position.
shape-outside-ellipse-001 AhemDOM/JSScript Shape Outside Ellipse Valid Radii
  • An elliptical basic shape's radii may be keywords, lengths or percentages
shape-outside-ellipse-002 AhemDOM/JSScript Shape Outside Ellipse Valid Positions
  • An ellipse's position argument may be any of the valid combinations: [ percentage|length left|center|right ] or [ percentage|length left|center|right ] [ percentage|length top|center|bottom ] or [ left|center|right ] or [ left|center|right top|center|bottom ] or [ top|center|bottom ].
shape-outside-ellipse-003 AhemDOM/JSScript Shape Outside Ellipse Invalid Position Argument Lists
  • Valid ellipse position argument list are in the form of: [ percentage|length left|center|right ] or [ percentage|length left|center|right ] [ percentage|length top|center|bottom ] or [ left|center|right ] or [ left|center|right top|center|bottom ] or [ top|center|bottom ]. All position arguments not in this form are invalid.
shape-outside-ellipse-004 AhemDOM/JSScript Shape Outside Ellipse - Position Length Units
  • An ellipse's position arguments may in any valid <length> unit allowed by a <position> value.
shape-outside-ellipse-005 AhemDOM/JSScript Shape Outside Ellipse Valid Radii - length units
  • An ellipse's radii may be in any valid length unit.
shape-outside-ellipse-006 AhemDOM/JSScript Shape Outside Ellipse Radii - positive/negative, decimal/non-decimal
  • An ellipse's radii may be in signed positive or decimal/non-decimal format. Negative radii are invalid.
shape-outside-ellipse-007 AhemDOM/JSScript Shape Outside Ellipse Radii - invalid args
  • This test verifies that invalid shape-radius arguments on ellipse() don't parse.
shape-outside-ellipse-008 AhemDOM/JSScript Shape Outside Ellipse Invalid Position Argument Values
  • This test verifies that invalid position arguments on ellipse() don't parse
shape-outside-ellipse-009 AhemDOM/JSScript Shape Outside Ellipse Position Arguments - positive/negative, decimal/non-decimal
  • An ellipse's position arguments may be in signed positive/negative or decimal/non-decimal format.
shape-outside-ellipse-010 AhemDOM/JSScript Shape Outside Ellipse args - calc() values
  • An ellipse's arguments may be in calc() values.
shape-outside-ellipse-011 AhemDOM/JSScript Shape Outside Ellipse position args - calc() values
  • An ellipse's <position> arguments may be in calc() values.
shape-outside-ellipse-013 = Ahem left float, ellipse radii and position in px
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse with radii and position in px units.
shape-outside-ellipse-014 = Ahem left float, ellipse radii and position in % units + content-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the content box with the position and radii in percentage units.
shape-outside-ellipse-015 = Ahem left float, ellipse + closest-side + padding-box
  • The test verifies that text wraps around a left float with a shape-outside defined as an ellipse with the radii explicitly set as closest-side from the padding box.
shape-outside-ellipse-016 = Ahem left float, ellipse radii in % units + padding-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the padding box with the radii in percentage units.
shape-outside-ellipse-017 = Ahem left float, ellipse(farthest-side) + shape-margin + content-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the content box with only the rx defined as farthest-side and with a shape-margin.
shape-outside-ellipse-018 = Ahem left float, ellipse + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse with a shape-margin in percentage units.
shape-outside-ellipse-019 = Ahem left float, ellipse radii in % units + padding-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the padding box with radii in percentage units and with a shape-margin.
shape-outside-ellipse-020 = Ahem left float, ellipse radii in % units + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the margin box with the radii specified in percentage units and with a shape-margin.
shape-outside-ellipse-021 = Ahem right float, ellipse (closest-side px) + shape-margin + padding box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse from the padding box with rx explicitly set at closest-side and ry in px units and with a shape-margin.
shape-outside-ellipse-022 = Ahem right float, ellipse(closest-side px) + shape-margin + content-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse from the content box with a shape-margin.
shape-outside-ellipse-023 = Ahem right float, ellipse + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an ellipse with only the horizontal offset specifed in px and with a shape-margin.
shape-outside-ellipse-024 = Ahem right float, ellipse at position (%) + shape-margin (%) + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse positioned from the border box with only the horizontal offset specified in percentage units and with a shape-margin in percentage units.
shape-outside-ellipse-025 = Ahem right float, ellipse radii in % at center right + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse with the radii in percentage units positioned at center right from the margin box with a shape-margin.
shape-outside-ellipse-030 = AhemDOM/JS left float, ellipse radii in px
  • The test verifies that text wraps around a left float with a shape-outside defined as an ellipse with radii in px units.
shape-outside-ellipse-031 = AhemDOM/JS left float, ellipse radii in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as an ellipse with radii in % units.
shape-outside-ellipse-052 = Ahem left float, offset ellipse + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse with a shape-margin in pixel units. Additionally, the shape-outside: ellipse element is offset from its containing block.
shape-outside-inset-000 AhemDOM/JSScript Shape Outside Inset Valid Formats
  • An inset has 1 to 4 insets, and optional border radii that follow the border-radius format
shape-outside-inset-001 AhemDOM/JSScript Shape Outside Inset Valid Insets
  • An inset has 1 to 4 insets as percentages or length in any unit
shape-outside-inset-0010 =
  • This checks that a float 'shadowing' a shape-outside float works as expected.
shape-outside-inset-002 AhemDOM/JSScript Shape Outside Inset Valid Rounds
  • An inset's radial component has 1 to 4 length/percentages, optionally followed by a '/' and an additional 1 to 4 length/percentages and lengths can be in any unit.
shape-outside-inset-003 AhemDOM/JSScript Shape Outside Inset Valid Round Length Units
  • An inset's radial component's values can be in any length unit
shape-outside-inset-004 AhemDOM/JSScript Shape Outside Inset - positive/negative, decimal/non-decimal args
  • These tests verify that shape-outside inset() arguments can be numbers that are signed in positive and negative and/or decimal/non-decimal form.
shape-outside-inset-005 AhemDOM/JSScript Shape Outside Inset - Invalid args
  • These tests verifies that invalid inset() arguments don't parse.
shape-outside-inset-006 AhemDOM/JSScript Shape Outside Inset Radial Args - positive/negative, decimal/non-decimal
  • These tests verify that shape-outside inset() radial component can be numbers that are in signed positive and/or decimal/non-decimal form. Negative values are not allowed
shape-outside-inset-007 AhemDOM/JSScript Shape Outside Inset Radial Args - Invalid
  • These tests verify invalid radial component arguments don't parse.
shape-outside-inset-008 AhemDOM/JSScript Shape Outside Inset Args - calc() values
  • An inset's arguments may be in calc() values.
shape-outside-inset-009 AhemDOM/JSScript Shape Outside Inset round args - calc() values
  • An inset's radial component arguments may be in calc() values.
shape-outside-inset-010 = Ahem left float, inset, px units
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle in px units.
shape-outside-inset-011 = Ahem left float, inset, % units
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle in percentage units.
shape-outside-inset-012 = Ahem left float, inset + margin-box
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle + margin-box.
shape-outside-inset-013 = Ahem left float, inset + border-box
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle + border-box.
shape-outside-inset-014 = Ahem left float, inset + content-box
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle + content-box.
shape-outside-inset-015 = Ahem left float, inset + padding-box
  • The test verfies that text flows around a left float with a shape-outside defined as an inset rectangle + padding-box.
shape-outside-inset-028 = Ahem left float, inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset rounded rectangle in px units with a shape-margin.
shape-outside-inset-029 = Ahem left float, inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset irregular elliptically rounded rectangle in px units with a shape-margin.
shape-outside-inset-030 = Ahem left float, offset inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset irregular elliptically rounded rectangle in px units with a shape-margin. Additionally, the shape-outside: inset element is offset from its containing block.
shape-outside-linear-gradient-001 = Ahem Left float with linear gradient
  • This test verifies that shape-outside respects a simple linear gradient.
shape-outside-linear-gradient-002 = Ahem Right float with linear gradient
  • This test verifies that shape-outside respects a simple linear gradient on a right float.
shape-outside-linear-gradient-003 = Ahem Right float with linear gradient
  • This test verifies that shape-outside respects a simple linear gradient on a right float with shape-margin applied.
shape-outside-linear-gradient-004 = Shape outside and repeating linear gradient
  • This test verifies that content wraps correctly around a shape defined by a repeating linear gradient.
shape-outside-linear-gradient-005 = Ahem Test float with linear gradient under writing-mode: vertical-rl
  • This test verifies that shape-outside respects a simple linear gradient under vertical-rl.
shape-outside-linear-gradient-006 = Ahem Test float with linear gradient under writing-mode: vertical-lr
  • This test verifies that shape-outside respects a simple linear gradient under vertical-lr.
shape-outside-linear-gradient-007 = Ahem Test float with linear gradient under writing-mode: sideways-rl
  • This test verifies that shape-outside respects a simple linear gradient under sideways-rl.
shape-outside-linear-gradient-008 = Ahem Test float with linear gradient under writing-mode: sideways-lr
  • This test verifies that shape-outside respects a simple linear gradient under sideways-lr.
shape-outside-linear-gradient-009 = Ahem Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient under vertical-rl and text-orientation: sideways.
shape-outside-linear-gradient-010 = Ahem Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient under vertical-lr and text-orientation: sideways.
shape-outside-linear-gradient-011 = Ahem Test float with linear gradient under writing-mode: vertical-rl
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-rl.
shape-outside-linear-gradient-012 = Ahem Test float with linear gradient under writing-mode: vertical-lr
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-lr.
shape-outside-linear-gradient-013 = Ahem Test float with linear gradient under writing-mode: sideways-rl
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under sideways-rl.
shape-outside-linear-gradient-014 = Ahem Test float with linear gradient under writing-mode: sideways-lr
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under sideways-lr.
shape-outside-linear-gradient-015 = Ahem Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-rl and text-orientation: sideways.
shape-outside-linear-gradient-016 = Ahem Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-lr and text-orientation: sideways.
shape-outside-polygon-000 AhemDOM/JSScript Shape Outside Polygon Valid Formats
  • A polygonal basic shape has an optional fill-rule and one or more pairs of coordinates
shape-outside-polygon-001 AhemDOM/JSScript Shape Outside Polygon Valid Fill-Rules
  • A polygonal basic shape's optional fill-rule may be either 'nonzero' or 'evenodd'
shape-outside-polygon-002 AhemDOM/JSScript Shape Outside Polygon Valid Points
  • A polygonal basic shape's points may be either lengths or percentages
shape-outside-polygon-003 AhemDOM/JSScript Shape Outside Polygon Invalid Points
  • A polygonal basic shape's points may be either lengths or percentages
shape-outside-polygon-004 AhemDOM/JSScript Shape Outside Polygon - Argument Length Units
  • A polygon's veritices may in percentage or any valid <length> units.
shape-outside-polygon-005 AhemDOM/JSScript Shape Outside Polygon Valid Points
  • A polygon's vertices can be in signed positive/negative or decimal/non-decimal format
shape-outside-polygon-006 AhemDOM/JSScript Shape Outside Polygon args - calc() values
  • A polygon's arguments may be in calc() values.
shape-outside-polygon-007 = Ahem left float, polygon, args in px units
  • The test verifies that text wraps around a left float with a shape-outside defined as an polygon with the args in px units.
shape-outside-polygon-008 = Ahem left float, polygon, args in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as an polygon with the args in px units.
shape-outside-polygon-009 = Ahem left float, polygon + border box
  • The test verifies that text wraps around a left float with a shape-outside defined as an polygon from the border box.
shape-outside-polygon-010 = Ahem left float, polygon + padding box
  • The test verifies that text wraps around a left float with a shape-outside defined as an polygon from the padding box.
shape-outside-polygon-011 = Ahem left float, polygon + content box
  • The test verifies that text wraps around a left float with a shape-outside defined as an polygon from the content box.
shape-outside-polygon-012 = Ahem right float, polygon + margin-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the margin box with a shape margin.
shape-outside-polygon-013 = Ahem right float, polygon + border-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the border box with a shape margin.
shape-outside-polygon-014 = Ahem right float, polygon + padding-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the padding box with a shape margin.
shape-outside-polygon-015 = Ahem right float, polygon + content-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the content box wtih a shape margin.
shape-outside-polygon-016 = Ahem polygon, evenodd
  • The test verifies that evenodd behaves the same as nonzero for shape-outside and that text will wraps around the outer edge of a polygon.
shape-outside-polygon-017 = Ahem right float, polygon + shape-margin beyond margin box
  • The test verifies that when a shape-margin is defined that extends beyond the margin box, the shape is clipped to the box.
shape-outside-polygon-032 = Ahem right float, offset polygon + margin-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the margin box with a shape margin. Additionally, the shape-outside: polygon element is offset from its containing block.
shape-outside-radial-gradient-001 AhemDOM/JSScript Left float with radial gradient
  • This test verifies that shape-outside respects a simple radial gradient.
shape-outside-radial-gradient-002 AhemDOM/JSScript Left float with radial gradient and percentage shape margin
  • This test verifies that shape-outside respects a simple radial gradient when a percentage margin is applied.
shape-outside-radial-gradient-003 AhemDOM/JSScript Left float with radial gradient shape, shape margin, and shape-image-threshold
  • This test verifies that shape-outside respects a simple radial gradient when a shape margin and shape-image threshold are applied.
shape-outside-radial-gradient-004 AhemDOM/JSScript Left float with radial gradient shape, shape margin, and shape-image-threshold
  • This test verifies that shape-outside respects a simple radial gradient on a right float when shape-image-threshold is applied.
shape-outside-shape-arguments-000 AhemDOM/JSScript Shape Outside Basic Shape Arguments
  • A basic basic shape can contain any length unit type, or percentage
shape-outside-shape-arguments-001 AhemDOM/JSScript Shape Outside Shape Number Values
  • The basic shape can contain all valid number formats
shape-outside-shape-box-pair-000 AhemDOM/JSScript Shape Outside Box Shape and Box Valid Values
  • Shape-outside may be a pair of shape and box values
shape-outside-shape-inherit-000 AhemDOM/JSScript Shape Outside Box Inherit Value
  • Shape-outside takes can be assigned the 'inherit' value.
shape-outside-shape-initial-000 AhemDOM/JSScript Shape Outside Box Initial Value
  • Shape-outside takes its default value of none when assigned the 'initial' value
shape-outside-shape-none-000 AhemDOM/JSScript Shape Outside - none
  • shape-outside can be explictly assigned the default value of none.
shape-outside-shape-notation-000 AhemDOM/JSScript Shape Outside Valid Basic Shape Functional Notation
  • Basic shapes use functional notation, and may contain optional whitespace inside the parentheses
+ 6.2 Choosing Image Pixels: the shape-image-threshold property
shape-image-009 = Ahem left float, url(png), real image 70% + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-010 = Ahem left float, url(png), data uri + shape-image-threshold + shape-margin (%)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin as a percentage.
shape-image-011 = Ahem left float, url(svg), real image + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside svg file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-threshold-000 AhemDOM/JSScript Shape Image Threshold - Valid values
  • shape-image-threshold is any valid number and computed the clipped value between 0 and 1.
shape-image-threshold-001 AhemDOM/JSScript Shape Image Threshold - calc() values
  • shape-image-threshold may take calc values and computed the clipped value between 0 and 1.
shape-image-threshold-002 AhemDOM/JSScript Shape Image Threshold - Invalid values
  • shape-image-threshold is set to 0 when an invalid value is specified.
shape-image-threshold-003 AhemDOM/JSScript Shape Image Threshold Inherit
  • shape-outside can be assigned the 'inherit' value and does not inherit by default.
shape-outside-012 AhemDOM/JSScript Shape from image - shape-image-threshold - 0.9
  • This test verifies content flows around a shape that is defined in the image's alpha channel and adjusted by the image-threshold
shape-outside-radial-gradient-003 AhemDOM/JSScript Left float with radial gradient shape, shape margin, and shape-image-threshold
  • This test verifies that shape-outside respects a simple radial gradient when a shape margin and shape-image threshold are applied.
shape-outside-radial-gradient-004 AhemDOM/JSScript Left float with radial gradient shape, shape margin, and shape-image-threshold
  • This test verifies that shape-outside respects a simple radial gradient on a right float when shape-image-threshold is applied.
+ 6.3 Embiggening a Shape: the shape-margin property
shape-image-006 = Ahem left float, url(png), real image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file.
shape-image-007 = Ahem left float, url(svg), real image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given an svg file.
shape-image-008 = Ahem left float, url(jpg), data uri + shape-margin (%)
  • This test verifies that content wraps around all the image pixels + the shape-margin as a percentage when shape-outside is given an jpg data uri.
shape-image-009 = Ahem left float, url(png), real image 70% + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-010 = Ahem left float, url(png), data uri + shape-image-threshold + shape-margin (%)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside png file with shape-image-threshold set + the shape-margin as a percentage.
shape-image-011 = Ahem left float, url(svg), real image + shape-image-threshold + shape-margin (px)
  • This test verifies that content wraps around the image pixels extracted from a shape-outside svg file with shape-image-threshold set + the shape-margin in absolute length.
shape-image-026 = Ahem left float, url(png), real offset image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file. Additionally, the shape-outside: image element is offset from its containing block.
shape-image-027 = Ahem left float, url(png), real negative offset image + shape-margin (px)
  • This test verifies that content wraps around all the image pixels + the shape-margin when shape-outside is given a png file. Additionally, the shape-outside: image element is given a negative left offset relative to its containing block.
shape-margin-000 AhemDOM/JSScript Shape Margin Valid Values - Length or Percentage
  • shape-margin values may be either a length or percentage
shape-margin-001 AhemDOM/JSScript Shape Margin Valid Values - Length Units
  • shape-margin values may be in any length unit
shape-margin-002 AhemDOM/JSScript Shape Margin Valid Values - Decimal, Positive/Negative lengths
  • shape-margin values may be either a length or percentage
shape-margin-003 AhemDOM/JSScript Shape Margin Valid Values - calc() values
  • shape-margin values may be calc() values
shape-margin-004 AhemDOM/JSScript Shape Margin Invalid Values
  • shape-margin values may only be positive length units.
shape-margin-005 AhemDOM/JSScript Shape Margin - inherit
  • The shape-margin value is not inherited and can be assigned the 'inherit' value.
shape-outside-circle-017 = Ahem left float, circle + shape-margin in px
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a shape-margin in px units.
shape-outside-circle-018 = Ahem left float, circle + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a shape-margin in percentage units.
shape-outside-circle-019 = Ahem left float, circle at top left + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the margin box and is positioned top left with a shape-margin.
shape-outside-circle-020 = Ahem left float, circle at % + border-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the padding box with a position specified as a percentage and with a shape-margin.
shape-outside-circle-021 = Ahem left float, circle + farthest-side + padding-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle with a farthest-side radius from the padding box with a shape-margin.
shape-outside-circle-022 = Ahem left float, circle at bottom right + content-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the padding box positioned at center right with a shape-margin.
shape-outside-circle-024 = Ahem right float, circle radius in % units + shape-margin + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the border box with radius in percentage units and with a shape-margin.
shape-outside-circle-025 = Ahem right float, circle + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the padding box with a shape-margin.
shape-outside-circle-026 = Ahem right float, circle + shape-margin + content-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle from the content box with a shape-margin.
shape-outside-circle-027 = Ahem right float, circle with radius in % units + shape-margin + margin-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned from the margin box with a shape-margin.
shape-outside-circle-028 = Ahem right float, circle(closest-side) at position % + shape-margin + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned from the border box with a shape-margin.
shape-outside-circle-029 = Ahem right float, circle at center right + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a circle positioned center right from the padding box with a shape-margin.
shape-outside-circle-056 = Ahem left float, offset circle at top left + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a circle from the margin box and is positioned top left with a shape-margin. Additionally, the shape-outside: circle element is offset from its containing block.
shape-outside-ellipse-017 = Ahem left float, ellipse(farthest-side) + shape-margin + content-box
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the content box with only the rx defined as farthest-side and with a shape-margin.
shape-outside-ellipse-018 = Ahem left float, ellipse + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse with a shape-margin in percentage units.
shape-outside-ellipse-019 = Ahem left float, ellipse radii in % units + padding-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the padding box with radii in percentage units and with a shape-margin.
shape-outside-ellipse-020 = Ahem left float, ellipse radii in % units + margin-box + shape-margin
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse from the margin box with the radii specified in percentage units and with a shape-margin.
shape-outside-ellipse-021 = Ahem right float, ellipse (closest-side px) + shape-margin + padding box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse from the padding box with rx explicitly set at closest-side and ry in px units and with a shape-margin.
shape-outside-ellipse-022 = Ahem right float, ellipse(closest-side px) + shape-margin + content-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse from the content box with a shape-margin.
shape-outside-ellipse-023 = Ahem right float, ellipse + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an ellipse with only the horizontal offset specifed in px and with a shape-margin.
shape-outside-ellipse-024 = Ahem right float, ellipse at position (%) + shape-margin (%) + border-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse positioned from the border box with only the horizontal offset specified in percentage units and with a shape-margin in percentage units.
shape-outside-ellipse-025 = Ahem right float, ellipse radii in % at center right + shape-margin + padding-box
  • The test verifies that text wraps around a right float with a shape-outside defined as a ellipse with the radii in percentage units positioned at center right from the margin box with a shape-margin.
shape-outside-ellipse-052 = Ahem left float, offset ellipse + shape-margin in % units
  • The test verifies that text wraps around a left float with a shape-outside defined as a ellipse with a shape-margin in pixel units. Additionally, the shape-outside: ellipse element is offset from its containing block.
shape-outside-inset-028 = Ahem left float, inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset rounded rectangle in px units with a shape-margin.
shape-outside-inset-029 = Ahem left float, inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset irregular elliptically rounded rectangle in px units with a shape-margin.
shape-outside-inset-030 = Ahem left float, offset inset, px units
  • The test verfies that text flows around a right float with a shape-outside defined as an inset irregular elliptically rounded rectangle in px units with a shape-margin. Additionally, the shape-outside: inset element is offset from its containing block.
shape-outside-linear-gradient-003 = Ahem Right float with linear gradient
  • This test verifies that shape-outside respects a simple linear gradient on a right float with shape-margin applied.
shape-outside-linear-gradient-011 = Ahem Test float with linear gradient under writing-mode: vertical-rl
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-rl.
shape-outside-linear-gradient-012 = Ahem Test float with linear gradient under writing-mode: vertical-lr
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-lr.
shape-outside-linear-gradient-013 = Ahem Test float with linear gradient under writing-mode: sideways-rl
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under sideways-rl.
shape-outside-linear-gradient-014 = Ahem Test float with linear gradient under writing-mode: sideways-lr
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under sideways-lr.
shape-outside-linear-gradient-015 = Ahem Test float with linear gradient under writing-mode: vertical-rl and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-rl and text-orientation: sideways.
shape-outside-linear-gradient-016 = Ahem Test float with linear gradient under writing-mode: vertical-lr and text-orientation: sideways
  • This test verifies that shape-outside respects a simple linear gradient with shape-margin under vertical-lr and text-orientation: sideways.
shape-outside-polygon-012 = Ahem right float, polygon + margin-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the margin box with a shape margin.
shape-outside-polygon-013 = Ahem right float, polygon + border-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the border box with a shape margin.
shape-outside-polygon-014 = Ahem right float, polygon + padding-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the padding box with a shape margin.
shape-outside-polygon-017 = Ahem right float, polygon + shape-margin beyond margin box
  • The test verifies that when a shape-margin is defined that extends beyond the margin box, the shape is clipped to the box.
shape-outside-polygon-032 = Ahem right float, offset polygon + margin-box + shape-margin
  • The test verifies that text wraps around a right float with a shape-outside defined as an polygon from the margin box with a shape margin. Additionally, the shape-outside: polygon element is offset from its containing block.
shape-outside-radial-gradient-002 AhemDOM/JSScript Left float with radial gradient and percentage shape margin
  • This test verifies that shape-outside respects a simple radial gradient when a percentage margin is applied.
shape-outside-radial-gradient-003 AhemDOM/JSScript Left float with radial gradient shape, shape margin, and shape-image-threshold
  • This test verifies that shape-outside respects a simple radial gradient when a shape margin and shape-image threshold are applied.