Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
<rdar://problem/10923294> REGRESSION (r100847): Entries are clipped o…
…ut in Day One https://bugs.webkit.org/show_bug.cgi?id=80494 Reviewed by Sam Weinig. Source/WebCore: Test: fast/dom/HTMLDocument/width-and-height.html * html/HTMLDocument.idl: Reverted r100847 by re-enabling the width and height properties in the JavaScript bindings. LayoutTests: * fast/dom/HTMLDocument/width-and-height-expected.txt: Added. * fast/dom/HTMLDocument/width-and-height.html: Added. Canonical link: https://commits.webkit.org/97682@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Dan Bernstein
committed
Mar 7, 2012
1 parent
4221bb4
commit c00fd36bd79d41a47840dacd0bf8c940ac84629b
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
PASS. The document.width and document.height properties are accessible from JavaScript. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,9 @@ | ||
<script> | ||
if (window.layoutTestController) | ||
layoutTestController.dumpAsText(); | ||
|
||
if ('width' in document && 'height' in document) | ||
document.write("PASS. The document.width and document.height properties are accessible from JavaScript."); | ||
else | ||
document.write("FAIL. document.width or document.height are not accessible from JavaScript."); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters