Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/scrollable-after-close.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <style> 3 <style>
4 html, body { height: 100%; margin: 0; overflow: hidden; } 4 html, body { height: 100%; margin: 0; overflow: hidden; }
5 #scroller { 5 #scroller {
6 overflow: scroll; 6 overflow: scroll;
7 position: relative; 7 position: relative;
8 z-index: 0; 8 z-index: 0;
9 width: 300px; 9 width: 300px;
10 height: 50%; 10 height: 50%;
11 left: 20px; 11 left: 20px;
12 top: 20px; 12 top: 20px;
(...skipping 13 matching lines...) Expand all
26 var dialog = document.querySelector("dialog"); 26 var dialog = document.querySelector("dialog");
27 dialog.showModal(); 27 dialog.showModal();
28 dialog.close(); 28 dialog.close();
29 29
30 // Force layout. 30 // Force layout.
31 document.body.offsetWidth; 31 document.body.offsetWidth;
32 32
33 shouldBe("internals.numberOfScrollableAreas(document)", "1"); 33 shouldBe("internals.numberOfScrollableAreas(document)", "1");
34 34
35 </script> 35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698