Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / dialog / modal-dialog-scroll-height.html
blobc54281769b8d4aa13006e49834169570739775cf
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
6 .spacer {
7 height: 500px;
9 dialog {
10 border: 0;
11 margin: 0;
12 padding: 1px;
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>
22 document.querySelector('dialog').showModal();
23 shouldBe('600', String(document.scrollingElement.scrollHeight));
25 if (window.testRunner)
26 testRunner.dumpAsText();
28 </script>