Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / highlight / highlight-css-shapes-outside-scroll.html
blob89893baefd3180d73dfa0a0a0c325158e45db286
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
6 .float {
7 width: 8em;
8 height: 8em;
9 float: left;
10 shape-margin: 2em;
11 margin: 1em;
14 .circle {
15 background-color:blue;
16 shape-outside: circle(closest-side at center);
17 -webkit-clip-path: circle(closest-side at center);
20 </style>
21 <script src="../../../http/tests/inspector/inspector-test.js"></script>
22 <script src="../../../http/tests/inspector/elements-test.js"></script>
23 <script>
25 function test()
27 var i = 0;
28 function dump()
30 InspectorTest.dumpInspectorHighlightJSON("circle", i == 0 ? scroll : InspectorTest.completeTest.bind(InspectorTest));
32 function scroll()
34 window.scrollTo(0, 100);
35 ++i;
36 dump();
38 dump();
41 </script>
42 </head>
44 <body onload="runTest()">
45 <div class="float circle" id="circle"> </div>
46 </body>
47 </html>