4 <title>CSS Test: Wrapping content around right floating actual jpg image
</title>
5 <link rel=
"author" title=
"Zoltan Horvath" href=
"zoltan@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-012-ref.html"/>
9 <meta name=
"flags" content=
"ahem"/>
10 <meta name=
"assert" content=
"This test verifies that content wraps around all the image pixels when shape-outside is given a jpg."/>
11 <style type=
"text/css">
25 background-color: red
;
30 shape-outside: url
("support/right-half-rectangle.jpg");
36 The test passes if there's a green square with an image at top right with vertical white and green stripes.
37 There should be no red.
39 <div id=
"test" class=
"container">
40 <img id=
"image" src=
"support/right-half-rectangle.jpg"/>
41 XXXXX XXXXX XXXXX XXXXX XXXXX
42 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX