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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « Source/web/tests/data/window_dimensions.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <style>
4 body {
5 margin: 0px;
6 }
7 </style>
8
9 <meta name="viewport" content="width=1600">
10 <div style="width: 2000px; height: 10px; background-color: blue"></div>
11 <script>
12 var innerWidth = window.innerWidth;
13 var innerHeight = window.innerHeight;
14 document.write('<div id="output">'+innerWidth+'x'+innerHeight+'</div>');
15 </script>
16
OLDNEW
« 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