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

Side by Side Diff: Source/web/tests/data/window_dimensions.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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <meta name="viewport" content="width=1600">
4 <script>
5 var innerWidth = window.innerWidth;
6 var innerHeight = window.innerHeight;
7 document.write('<div id="output">'+innerWidth+'x'+innerHeight+'</div>');
8 </script>
9
OLDNEW
« no previous file with comments | « Source/web/tests/PinchViewportTest.cpp ('k') | Source/web/tests/data/window_dimensions_wide_div.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698