Title: [204647] trunk
Revision
204647
Author
[email protected]
Date
2016-08-19 12:33:58 -0700 (Fri, 19 Aug 2016)

Log Message

<command> should be an HTMLUnknownElement and <basefont> should be an HTMLElement
https://bugs.webkit.org/show_bug.cgi?id=161004

Reviewed by Daniel Bates.

LayoutTests/imported/w3c:

Rebaseline a W3C test now that more checks are passing.

* web-platform-tests/html/semantics/interfaces-expected.txt:

Source/WebCore:

<command> should be an HTMLUnknownElement and <basefont> should be an HTMLElement as per:
- https://html.spec.whatwg.org/multipage/dom.html#elements-in-the-dom:element-interface

<basefont> is already an HTMLElement in Firefox and Chrome. <command> is an
HTMLUnknownElement in Firefox but an HTMLElement in Chrome.

No new tests, rebaselined existing test.

* html/HTMLTagNames.in:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (204646 => 204647)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-08-19 19:33:23 UTC (rev 204646)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-08-19 19:33:58 UTC (rev 204647)
@@ -1,3 +1,14 @@
+2016-08-19  Chris Dumez  <[email protected]>
+
+        <command> should be an HTMLUnknownElement and <basefont> should be an HTMLElement
+        https://bugs.webkit.org/show_bug.cgi?id=161004
+
+        Reviewed by Daniel Bates.
+
+        Rebaseline a W3C test now that more checks are passing.
+
+        * web-platform-tests/html/semantics/interfaces-expected.txt:
+
 2016-08-19  Carlos Alberto Lopez Perez  <[email protected]>
 
         [GTK] Gardening: Layout tests expectations updates and test rebaselines.

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt (204646 => 204647)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt	2016-08-19 19:33:23 UTC (rev 204646)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt	2016-08-19 19:33:58 UTC (rev 204647)
@@ -21,8 +21,8 @@
 PASS Interfaces for B 
 PASS Interfaces for base 
 PASS Interfaces for BASE 
-FAIL Interfaces for basefont assert_equals: Element basefont should have HTMLElement as its primary interface. expected "[object HTMLElement]" but got "[object HTMLUnknownElement]"
-FAIL Interfaces for BASEFONT assert_equals: Element BASEFONT should have HTMLElement as its primary interface. expected "[object HTMLElement]" but got "[object HTMLUnknownElement]"
+PASS Interfaces for basefont 
+PASS Interfaces for BASEFONT 
 PASS Interfaces for bdi 
 PASS Interfaces for BDI 
 PASS Interfaces for bdo 
@@ -55,8 +55,8 @@
 PASS Interfaces for COL 
 PASS Interfaces for colgroup 
 PASS Interfaces for COLGROUP 
-FAIL Interfaces for command assert_equals: Element command should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
-FAIL Interfaces for COMMAND assert_equals: Element COMMAND should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
+PASS Interfaces for command 
+PASS Interfaces for COMMAND 
 PASS Interfaces for data 
 PASS Interfaces for DATA 
 FAIL Interfaces for datalist assert_equals: Element datalist should have HTMLDataListElement as its primary interface. expected "[object HTMLDataListElement]" but got "[object HTMLUnknownElement]"

Modified: trunk/Source/WebCore/ChangeLog (204646 => 204647)


--- trunk/Source/WebCore/ChangeLog	2016-08-19 19:33:23 UTC (rev 204646)
+++ trunk/Source/WebCore/ChangeLog	2016-08-19 19:33:58 UTC (rev 204647)
@@ -1,3 +1,20 @@
+2016-08-19  Chris Dumez  <[email protected]>
+
+        <command> should be an HTMLUnknownElement and <basefont> should be an HTMLElement
+        https://bugs.webkit.org/show_bug.cgi?id=161004
+
+        Reviewed by Daniel Bates.
+
+        <command> should be an HTMLUnknownElement and <basefont> should be an HTMLElement as per:
+        - https://html.spec.whatwg.org/multipage/dom.html#elements-in-the-dom:element-interface
+
+        <basefont> is already an HTMLElement in Firefox and Chrome. <command> is an
+        HTMLUnknownElement in Firefox but an HTMLElement in Chrome.
+
+        No new tests, rebaselined existing test.
+
+        * html/HTMLTagNames.in:
+
 2016-08-19  Nan Wang  <[email protected]>
 
         AX: iOS, Wrong axLabel on static text if heading has multiple children

Modified: trunk/Source/WebCore/html/HTMLTagNames.in (204646 => 204647)


--- trunk/Source/WebCore/html/HTMLTagNames.in	2016-08-19 19:33:23 UTC (rev 204646)
+++ trunk/Source/WebCore/html/HTMLTagNames.in	2016-08-19 19:33:58 UTC (rev 204647)
@@ -16,7 +16,7 @@
 audio wrapperOnlyIfMediaIsAvailable, conditional=VIDEO, constructorNeedsCreatedByParser, customTypeHelper
 b interfaceName=HTMLElement
 base
-basefont interfaceName=HTMLUnknownElement
+basefont interfaceName=HTMLElement
 bdi interfaceName=HTMLBDIElement, JSInterfaceName=HTMLElement
 bdo interfaceName=HTMLElement
 bgsound interfaceName=HTMLUnknownElement
@@ -32,7 +32,7 @@
 code interfaceName=HTMLElement
 col interfaceName=HTMLTableColElement
 colgroup interfaceName=HTMLTableColElement
-command interfaceName=HTMLElement
+command interfaceName=HTMLUnknownElement
 data
 datalist interfaceName=HTMLDataListElement, conditional=DATALIST_ELEMENT
 dd interfaceName=HTMLElement
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to