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

Side by Side Diff: third_party/WebKit/LayoutTests/dialog/modal-dialog-scroll-height.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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
5 }
6 .spacer {
7 height: 500px;
8 }
9 dialog {
10 border: 0;
11 margin: 0;
12 padding: 1px;
13 }
14 </style>
15 <div class="spacer"></div>
16 <dialog>
17 <div class="spacer"></div>
18 </dialog>
19 <script src="../resources/js-test.js"></script>
20 <script>
21
22 document.querySelector('dialog').showModal();
23 shouldBe('600', String(document.scrollingElement.scrollHeight));
24
25 if (window.testRunner)
26 testRunner.dumpAsText();
27
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698