4 <title>CSS Test: shape-outside from first frame of animated gif
</title>
5 <link rel=
"author" title=
"Rebecca Hauck" href=
"rhauck@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-image-025-ref.html"/>
9 <meta name=
"flags" content=
"ahem"/>
10 <meta name=
"assert" content=
"This test verifies that shape-outside is extracted from the
11 first frame of an animated gif."/>
12 <style type=
"text/css">
22 shape-outside: url
("support/animated.gif");
29 background-color: blue
;
37 background-color: rgb
(0,100,0);
41 background-color: red
;
44 .container, .blue-line, .square, .failure { position: absolute
; }
45 .container, .square, .failure { top: 70px; }
50 The test passes if there are two identical green rectangles on either side of the blue line.
51 There should be no red.
53 <div class=
"container">
54 <img id=
"image" src=
"support/animated.gif"/>
57 <div class=
"green square"></div>
58 <div class=
"blue-line"></div>
59 <div class=
"failure square"></div>