Title: [110065] trunk
Revision
110065
Author
m...@apple.com
Date
2012-03-07 09:38:56 -0800 (Wed, 07 Mar 2012)

Log Message

<rdar://problem/10923294> REGRESSION (r100847): Entries are clipped out 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.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (110064 => 110065)


--- trunk/LayoutTests/ChangeLog	2012-03-07 17:27:15 UTC (rev 110064)
+++ trunk/LayoutTests/ChangeLog	2012-03-07 17:38:56 UTC (rev 110065)
@@ -1,3 +1,13 @@
+2012-03-07  Dan Bernstein  <m...@apple.com>
+
+        <rdar://problem/10923294> REGRESSION (r100847): Entries are clipped out in Day One
+        https://bugs.webkit.org/show_bug.cgi?id=80494
+
+        Reviewed by Sam Weinig.
+
+        * fast/dom/HTMLDocument/width-and-height-expected.txt: Added.
+        * fast/dom/HTMLDocument/width-and-height.html: Added.
+
 2012-03-07  Philippe Normand  <pnorm...@igalia.com>
 
         [GTK] media/audio-garbage-collect.html is flaky

Added: trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height-expected.txt (0 => 110065)


--- trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height-expected.txt	2012-03-07 17:38:56 UTC (rev 110065)
@@ -0,0 +1 @@
+PASS. The document.width and document.height properties are accessible from _javascript_.

Added: trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height.html (0 => 110065)


--- trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height.html	                        (rev 0)
+++ trunk/LayoutTests/fast/dom/HTMLDocument/width-and-height.html	2012-03-07 17:38:56 UTC (rev 110065)
@@ -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>

Modified: trunk/Source/WebCore/ChangeLog (110064 => 110065)


--- trunk/Source/WebCore/ChangeLog	2012-03-07 17:27:15 UTC (rev 110064)
+++ trunk/Source/WebCore/ChangeLog	2012-03-07 17:38:56 UTC (rev 110065)
@@ -1,3 +1,15 @@
+2012-03-07  Dan Bernstein  <m...@apple.com>
+
+        <rdar://problem/10923294> REGRESSION (r100847): Entries are clipped out in Day One
+        https://bugs.webkit.org/show_bug.cgi?id=80494
+
+        Reviewed by Sam Weinig.
+
+        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.
+
 2012-03-07  Philippe Normand  <pnorm...@igalia.com>
 
         [GTK] media/audio-garbage-collect.html is flaky

Modified: trunk/Source/WebCore/html/HTMLDocument.idl (110064 => 110065)


--- trunk/Source/WebCore/html/HTMLDocument.idl	2012-03-07 17:27:15 UTC (rev 110064)
+++ trunk/Source/WebCore/html/HTMLDocument.idl	2012-03-07 17:38:56 UTC (rev 110065)
@@ -45,10 +45,8 @@
         void captureEvents();
         void releaseEvents();
 
-#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
         readonly attribute long width;
         readonly attribute long height;
-#endif
                  attribute [TreatNullAs=NullString] DOMString dir;
                  attribute [TreatNullAs=NullString] DOMString designMode;
         readonly attribute DOMString compatMode;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to