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

Unified Diff: Source/web/tests/data/fullscreen_div.html

Issue 200943002: Fix an issue that fullscreen layer is scrollable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using setScrollClipLayer to do the trick Created 6 years, 9 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: Source/web/tests/data/fullscreen_div.html
diff --git a/Source/web/tests/data/fullscreen_div.html b/Source/web/tests/data/fullscreen_div.html
new file mode 100644
index 0000000000000000000000000000000000000000..07f19b3a44d5e676e0b62f85189e9be481f7b42e
--- /dev/null
+++ b/Source/web/tests/data/fullscreen_div.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+ div#div1 {
+ background: blue;
+ width: 200px;
+ height: 200px;
+ }
+ div#div2 {
+ background: red;
+ width: 2000px;
+ height: 2000px;
+ }
+</style>
+<body">
+ <div id="div1">will go fullscreen</div>
+ <div id="div2">will not go fullscreen</div>
+</body>
« Source/core/page/scrolling/ScrollingCoordinator.cpp ('K') | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698