4 <title>CSS Test: Shape outside and repeating linear gradient</title>
5 <link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com"/>
6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
8 <link rel="match" href="reference/shape-outside-linear-gradient-004-ref.html"/>
9 <meta name="assert" content="This test verifies that content wraps correctly around a shape defined by a repeating linear gradient."/>
10 <style type="text/css">
18 display: inline-block;
22 background-color: green;
28 shape-outside: repeating-linear-gradient(transparent 0px, transparent 100px, white 200px);
29 shape-image-threshold: 0.5;
39 background-color: red;
48 The test passes if there are four green squares alternating left and right. There
51 <div id="test" class="container">
52 <div class="gradient"></div>
53 <div class="square"></div>
54 <div class="square"></div>
55 <div class="square"></div>
56 <div class="square"></div>
59 <div class="square"></div><br>
60 <div class="square right"></div><br>
61 <div class="square"></div><br>
62 <div class="square right"></div>