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

Unified Diff: third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html

Issue 2129033002: Update scrollbars from FrameView::show. Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Set needsLayout() in FrameView::show() Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html
diff --git a/third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html b/third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html
new file mode 100644
index 0000000000000000000000000000000000000000..be2af2a4f5f238678384d006c68cb945431ab963
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+iframe {
+ width: 100px;
+ height: 100px;
+}
+</style>
+<iframe srcdoc="<style>body{margin:0px}</style>bananas bananas bananas bananas bananas bananas bananas bananas bananas bananas "></iframe>
+<script>
+if (self.testRunner)
+ testRunner.waitUntilDone();
+onload = (function() {
+ document.querySelector("iframe").style.display = "none";
+ requestAnimationFrame(function() {
+ document.querySelector("iframe").style.display = "";
+ if (self.testRunner)
+ testRunner.notifyDone();
+ });
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698