Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / cssom / get-region-flow-ranges-inline-svg.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <style>
5             #article { -webkit-flow-into: flow; }
6             #region { -webkit-flow-from: flow; width: 100px; height: 100px; background-color: red; }
7         </style>
8     </head>
9     <body>
10         <p>Test that retrieving the region ranges when the flowing content has inline svg does not crash.</p>
11         <p>On success you should see PASS and no red below.</p>
12         <p id="output"></p>
13         <div id="article">
14             <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
15                 <rect width="100" height="100" style="fill:green"/>
16             </svg>
17         </div>
18         <div id="region"></div>
19         <script>
20             var range = document.getElementById("region").webkitGetRegionFlowRanges();
21             document.getElementById("output").innerHTML = "PASS";
22         </script>
23     </body>
24 </html>