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

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

Issue 1094673002: Make window.innerWidth and innerHeight cause layout if needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed null check Created 5 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
« no previous file with comments | « Source/web/tests/data/window_dimensions.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/window_dimensions_wide_div.html
diff --git a/Source/web/tests/data/window_dimensions_wide_div.html b/Source/web/tests/data/window_dimensions_wide_div.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca4fb9ff67fcce258938c54fc1b107e96751898d
--- /dev/null
+++ b/Source/web/tests/data/window_dimensions_wide_div.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<style>
+ body {
+ margin: 0px;
+ }
+</style>
+
+<meta name="viewport" content="width=1600">
+<div style="width: 2000px; height: 10px; background-color: blue"></div>
+<script>
+ var innerWidth = window.innerWidth;
+ var innerHeight = window.innerHeight;
+ document.write('<div id="output">'+innerWidth+'x'+innerHeight+'</div>');
+</script>
+
« no previous file with comments | « Source/web/tests/data/window_dimensions.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698