Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLImageElement / image-srcset-deregistration-after-move.html
blobb998bd3555c25cbf1a27e4af6cb28977115af28a
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
4 <iframe id="frame" style="width: 80px;"></iframe>
5 <script>
6 var jsTestIsAsync = true;
7 var iframe = document.getElementById('frame');
8 var iframeDoc = iframe.contentWindow.document;
10 iframeDoc.body.innerHTML = '<img id="srcset" srcset="resources/blue_rect.jpg 90w, resources/image-set-4x.png 120w">';
12 xhtmlDoc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "xhtml", null);
13 xhtmlDoc.documentElement.appendChild(iframeDoc.body);
14 nullDoc = document.implementation.createDocument("", null);
15 nullDoc.adoptNode(xhtmlDoc.documentElement);
16 delete xhtmlDoc;
17 delete nullDoc;
18 setTimeout(function() {
19 iframe.style.width = '100px';
20 try{gc();}catch(e){};
21 setTimeout(finishJSTest, 500);
22 } , 500);
23 </script>