REGRESSION (r229828): web view doesn’t update or respond to resizing until client...
[WebKit-https.git] / Tools / TestWebKitAPI / Tests / WebKitCocoa / dragstart-change-selection-offscreen.html
index 640b5212cba38c823ec7d2ec564df480b407357c..e39caf82336bfff081c828ceb967379fc9a575f4 100644 (file)
@@ -1,5 +1,7 @@
 <!DOCTYPE html>
 <html>
+<head>
+<meta name="viewport" content="width=device-width, initial-scale=1">
 <style>
 body {
     font-size: 200px;
@@ -11,6 +13,8 @@ body {
     left: -500vw;
 }
 </style>
+</head>
+</body>
 <div id="onscreen">DRAG ME</div>
 <div id="offscreen">FAR OFFSCREEN</div>
 <script>
@@ -25,4 +29,5 @@ function selectChildNodesOfElement(element)
 selectChildNodesOfElement(onscreen);
 document.body.addEventListener("dragstart", () => selectChildNodesOfElement(offscreen));
 </script>
+</body>
 </html>