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

Unified Diff: third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html

Issue 1850153002: Make top-layer elements work also when the viewport is paginated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html b/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..c63a174bdeac647b241f2f862d8602b8df6a76ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<p>PASS if no crash or assertion failure.</p>
+<dialog id="dialog">
+ <div id="dialogChild">
+ <div style="transform:rotatey(0deg);"></div>
+ <div style="position:absolute;"></div>
+ </div>
+</dialog>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ document.getElementById("dialog").showModal();
+ runAfterLayoutAndPaint(function() {
+ document.body.style.overflowY = "-webkit-paged-x";
+ document.getElementById("dialog").style.overflowY = "-webkit-paged-x";
+ document.getElementById("dialogChild").style.overflowY = "-webkit-paged-x";
+ }, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698