Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / iframe-select.html
blob56da611ef7324018dcd72b61be0590fdec11725c
1 <!DOCTYPE html>
2 <iframe id="iframe" style="width: 100px; height: 100px; position: absolute; top: 50px; left: 50px" frameBorder=0 srcdoc="<div></div>"></iframe>
3 <script>
4 var selection = getSelection();
6 selection.setBaseAndExtent(document.querySelector("#iframe"), 0, document.querySelector("#iframe"), 1);
7 </script>