| Index: LayoutTests/dialog/modal-dialog-scroll-height.html
|
| diff --git a/LayoutTests/dialog/modal-dialog-scroll-height.html b/LayoutTests/dialog/modal-dialog-scroll-height.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..71053e21907c41a47614d1b2e8de35848d55e646
|
| --- /dev/null
|
| +++ b/LayoutTests/dialog/modal-dialog-scroll-height.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +.spacer {
|
| + height: 500px;
|
| +}
|
| +dialog {
|
| + border: 0;
|
| + margin: 0;
|
| + padding: 1px;
|
| +}
|
| +</style>
|
| +<div class="spacer"></div>
|
| +<dialog>
|
| + <div class="spacer"></div>
|
| +</dialog>
|
| +<script src="../resources/js-test.js"></script>
|
| +<script>
|
| +
|
| +document.querySelector('dialog').showModal();
|
| +shouldBe('600', String(document.body.scrollHeight));
|
| +
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +</script>
|
|
|