| Index: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html
|
| diff --git a/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72147aaf5da4052fabecaf5895659492924b2813
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-010.html
|
| @@ -0,0 +1,52 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>CSS Test: left float, inset, px units</title>
|
| + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
|
| + <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-inset">
|
| + <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property">
|
| + <link rel="match" href="reference/shape-outside-inset-010-ref.html"/>
|
| + <meta name="flags" content="ahem" />
|
| + <meta name="assert" content="The test verfies that text flows around a
|
| + left float with a shape-outside defined as
|
| + an inset rectangle in px units.">
|
| + </head>
|
| + <style>
|
| + #container {
|
| + position: relative;
|
| + margin-left: 25px;
|
| + }
|
| + #test-container {
|
| + width: 200px;
|
| + height: 200px;
|
| + font-family: Ahem;
|
| + font-size: 25px;
|
| + background-color: red;
|
| + color: green;
|
| + }
|
| + #test-shape {
|
| + float: left;
|
| + width: 200px;
|
| + height: 200px;
|
| + shape-outside: inset(50px 100px 50px 0px);
|
| + }
|
| + #static-shape {
|
| + position: absolute;
|
| + left: 0px;
|
| + width: 100px;
|
| + height: 100px;
|
| + top: 50px;
|
| + background-color: green;
|
| + }
|
| + </style>
|
| + <body>
|
| + <p>The test passes if there is a green square and no red.</p>
|
| + <div id="container">
|
| + <div id="test-container">
|
| + <div id="test-shape"></div>
|
| + XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX
|
| + </div>
|
| + <div id="static-shape"></div>
|
| + </div>
|
| + </body>
|
| +</html>
|
|
|