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

Unified Diff: third_party/WebKit/Source/web/tests/data/percent-height.html

Issue 1573283002: Don't change layout size due to top control show/hide (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant call to viewportSizeForViewportUnits Created 4 years, 11 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/Source/web/tests/data/percent-height.html
diff --git a/third_party/WebKit/Source/web/tests/data/percent-height.html b/third_party/WebKit/Source/web/tests/data/percent-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..10867cf275536c262f362166d4365661d667416e
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/percent-height.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <style>
+ #abs {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ background: silver;
+ width: 100px;
+ height: 50%;
+ }
+
+ #fixed {
+ position: fixed;
+ right: 0px;
+ top: 0px;
+ background: red;
+ width: 100px;
+ height: 50%;
+ }
+
+ #spacer {
+ height: 1000px;
+ }
+ </style>
+<head>
+
+<body>
+ <div id="abs"></div>
+ <div id="fixed"></div>
+ <div id="spacer"></div>
+</body>
+
+</html>
« no previous file with comments | « third_party/WebKit/Source/web/tests/TopControlsTest.cpp ('k') | third_party/WebKit/Source/web/tests/data/vh-height.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698