Title: [92952] trunk/LayoutTests
Revision
92952
Author
[email protected]
Date
2011-08-12 03:57:12 -0700 (Fri, 12 Aug 2011)

Log Message

Source/WebCore: Add HTMLUnknownElement interface as defined in
http://www.w3.org/TR/html5/elements.html#elements-in-the-dom.

https://bugs.webkit.org/show_bug.cgi?id=41841

Unreviewed gardening after r92890.

* fast/html/unknown-tag-expected.txt: Added.
* platform/qt/fast/dom/Window/window-properties-expected.txt: Updated.
* platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: Updated.
* platform/qt/fast/dom/prototype-inheritance-2-expected.png: Updated.
* platform/qt/fast/dom/prototype-inheritance-2-expected.txt: Updated.
* platform/qt/fast/js/global-constructors-expected.txt: Updated.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (92951 => 92952)


--- trunk/LayoutTests/ChangeLog	2011-08-12 09:32:32 UTC (rev 92951)
+++ trunk/LayoutTests/ChangeLog	2011-08-12 10:57:12 UTC (rev 92952)
@@ -1,3 +1,19 @@
+2011-08-12  Csaba Osztrogonác  <[email protected]>
+
+        Source/WebCore: Add HTMLUnknownElement interface as defined in
+        http://www.w3.org/TR/html5/elements.html#elements-in-the-dom.
+
+        https://bugs.webkit.org/show_bug.cgi?id=41841
+
+        Unreviewed gardening after r92890.
+
+        * fast/html/unknown-tag-expected.txt: Added.
+        * platform/qt/fast/dom/Window/window-properties-expected.txt: Updated.
+        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: Updated.
+        * platform/qt/fast/dom/prototype-inheritance-2-expected.png: Updated.
+        * platform/qt/fast/dom/prototype-inheritance-2-expected.txt: Updated.
+        * platform/qt/fast/js/global-constructors-expected.txt: Updated.
+
 2011-08-11  Hans Wennborg  <[email protected]>
 
         IndexedDB: Object store records don't need to have keys in all indexes

Added: trunk/LayoutTests/fast/html/unknown-tag-expected.txt (0 => 92952)


--- trunk/LayoutTests/fast/html/unknown-tag-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/html/unknown-tag-expected.txt	2011-08-12 10:57:12 UTC (rev 92952)
@@ -0,0 +1,27 @@
+Test HTMLUnknownElement
+This test verifies the following:
+
+The HTMLUnknownElement interface is used for HTML elements that are not defined by the HTML5 specification (or other applicable specifications).
+The HTMLUnknownElement interface is not used for HTML elements that are defined by the HTML5 specification (or other applicable specifications).
+PASS DynamicElements["div"] instanceof HTMLElement is true
+PASS DynamicElements["div"] instanceof HTMLUnknownElement is false
+PASS DynamicElements["font"] instanceof HTMLElement is true
+PASS DynamicElements["font"] instanceof HTMLUnknownElement is false
+PASS DynamicElements["h1"] instanceof HTMLElement is true
+PASS DynamicElements["h1"] instanceof HTMLUnknownElement is false
+PASS DynamicElements["table"] instanceof HTMLElement is true
+PASS DynamicElements["table"] instanceof HTMLUnknownElement is false
+PASS DynamicElements["foo1"] instanceof HTMLElement is true
+PASS DynamicElements["foo1"] instanceof HTMLUnknownElement is true
+PASS DynamicElements["foo2"] instanceof HTMLElement is true
+PASS DynamicElements["foo2"] instanceof HTMLUnknownElement is true
+PASS staticElements["div"] instanceof HTMLUnknownElement is false
+PASS staticElements["font"] instanceof HTMLUnknownElement is false
+PASS staticElements["h1"] instanceof HTMLUnknownElement is false
+PASS staticElements["table"] instanceof HTMLUnknownElement is false
+PASS staticElements["foo1"] instanceof HTMLUnknownElement is true
+PASS staticElements["foo2"] instanceof HTMLUnknownElement is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt (92951 => 92952)


--- trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt	2011-08-12 09:32:32 UTC (rev 92951)
+++ trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt	2011-08-12 10:57:12 UTC (rev 92952)
@@ -1111,6 +1111,8 @@
 window.HTMLTitleElement.prototype [printed above as window.Element.prototype]
 window.HTMLUListElement [object HTMLUListElementConstructor]
 window.HTMLUListElement.prototype [printed above as window.Element.prototype]
+window.HTMLUnknownElement [object HTMLUnknownElementConstructor]
+window.HTMLUnknownElement.prototype [printed above as window.Element.prototype]
 window.HTMLVideoElement [object HTMLVideoElementConstructor]
 window.HTMLVideoElement.prototype [printed above as window.Element.prototype]
 window.HashChangeEvent [object HashChangeEventConstructor]

Modified: trunk/LayoutTests/platform/qt/fast/dom/Window/window-property-descriptors-expected.txt (92951 => 92952)


--- trunk/LayoutTests/platform/qt/fast/dom/Window/window-property-descriptors-expected.txt	2011-08-12 09:32:32 UTC (rev 92951)
+++ trunk/LayoutTests/platform/qt/fast/dom/Window/window-property-descriptors-expected.txt	2011-08-12 10:57:12 UTC (rev 92952)
@@ -124,6 +124,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'HTMLTextAreaElement') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'HTMLTitleElement') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'HTMLUListElement') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'HTMLUnknownElement') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'HTMLVideoElement') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'HashChangeEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Image') is 'object'

Modified: trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-2-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-2-expected.txt (92951 => 92952)


--- trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-2-expected.txt	2011-08-12 09:32:32 UTC (rev 92951)
+++ trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-2-expected.txt	2011-08-12 10:57:12 UTC (rev 92952)
@@ -137,15 +137,18 @@
 PASS HTMLStyleElement from inner.document.forms.testForm.0.parentNode.lastElementChild.previousElementSibling
 PASS HTMLStyleElementConstructor from inner.document.forms.testForm.0.parentNode.lastElementChild.previousElementSibling.constructor
 PASS HTMLStyleElementPrototype from inner.document.forms.testForm.0.parentNode.lastElementChild.previousElementSibling.__proto__
-PASS HTMLTextAreaElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling
-PASS HTMLTextAreaElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.constructor
-PASS HTMLTextAreaElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.__proto__
-PASS HTMLTitleElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling
-PASS HTMLTitleElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.constructor
-PASS HTMLTitleElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.__proto__
-PASS HTMLUListElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling
-PASS HTMLUListElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.constructor
-PASS HTMLUListElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.__proto__
+PASS HTMLTextAreaElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling
+PASS HTMLTextAreaElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.constructor
+PASS HTMLTextAreaElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.__proto__
+PASS HTMLTitleElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling
+PASS HTMLTitleElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.constructor
+PASS HTMLTitleElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.previousElementSibling.__proto__
+PASS HTMLUListElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling
+PASS HTMLUListElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.constructor
+PASS HTMLUListElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.previousElementSibling.__proto__
+PASS HTMLUnknownElement from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling
+PASS HTMLUnknownElementConstructor from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.constructor
+PASS HTMLUnknownElementPrototype from inner.document.forms.testForm.0.previousElementSibling.previousElementSibling.__proto__
 PASS HTMLVideoElement from inner.document.forms.testForm.0.previousElementSibling
 PASS HTMLVideoElementConstructor from inner.document.forms.testForm.0.previousElementSibling.constructor
 PASS HTMLVideoElementPrototype from inner.document.forms.testForm.0.previousElementSibling.__proto__

Modified: trunk/LayoutTests/platform/qt/fast/js/global-constructors-expected.txt (92951 => 92952)


--- trunk/LayoutTests/platform/qt/fast/js/global-constructors-expected.txt	2011-08-12 09:32:32 UTC (rev 92951)
+++ trunk/LayoutTests/platform/qt/fast/js/global-constructors-expected.txt	2011-08-12 10:57:12 UTC (rev 92952)
@@ -118,6 +118,7 @@
 PASS HTMLTextAreaElement.toString() is '[object HTMLTextAreaElementConstructor]'
 PASS HTMLTitleElement.toString() is '[object HTMLTitleElementConstructor]'
 PASS HTMLUListElement.toString() is '[object HTMLUListElementConstructor]'
+PASS HTMLUnknownElement.toString() is '[object HTMLUnknownElementConstructor]'
 PASS HTMLVideoElement.toString() is '[object HTMLVideoElementConstructor]'
 PASS HashChangeEvent.toString() is '[object HashChangeEventConstructor]'
 PASS Image.toString() is '[object ImageConstructor]'
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to