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

Side by Side Diff: LayoutTests/fast/dom/HTMLDocument/width-and-height.html

Issue 17585006: Remove HTMLDocument.width and height properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix device metrics test with Internals API Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/width-and-height-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4
5 if ('width' in document && 'height' in document)
6 document.write("PASS. The document.width and document.height properties are accessible from JavaScript.");
7 else
8 document.write("FAIL. document.width or document.height are not accessib le from JavaScript.");
9 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/width-and-height-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698