Skip to content

Commit 98bc944

Browse files
author
rob.buis@samsung.com
committed
bgsound must use the HTMLUnknownElement interface
As specified here: https://html.spec.whatwg.org/#bgsound This causes one less fail on: http://w3c-test.org/html/semantics/interfaces.html Review URL: https://codereview.chromium.org/728763006 git-svn-id: svn://svn.chromium.org/blink/trunk@186905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 parent 954b4d9 commit 98bc944

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

third_party/WebKit/LayoutTests/fast/dom/wrapper-classes-expected.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ PASS tagClassString('bdo') is "HTMLElement"
213213
FAIL tagPrototypeClassString('bdo') should be HTMLElementPrototype. Was Object.
214214
PASS tagConstructorClassString('bdo') is "Function"
215215
PASS tagConstructorName('bdo') is "HTMLElement"
216+
PASS tagClassString('bgsound') is "HTMLUnknownElement"
217+
FAIL tagPrototypeClassString('bgsound') should be HTMLUnknownElementPrototype. Was Object.
218+
PASS tagConstructorClassString('bgsound') is "Function"
219+
PASS tagConstructorName('bgsound') is "HTMLUnknownElement"
216220
PASS tagClassString('big') is "HTMLElement"
217221
FAIL tagPrototypeClassString('big') should be HTMLElementPrototype. Was Object.
218222
PASS tagConstructorClassString('big') is "Function"

third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
testTag("base", "HTMLBaseElement");
158158
testTag("basefont", "HTMLElement");
159159
testTag("bdo", "HTMLElement");
160+
testTag("bgsound", "HTMLUnknownElement");
160161
testTag("big", "HTMLElement");
161162
testTag("blockquote", "HTMLQuoteElement");
162163
testTag("body", "HTMLBodyElement");

third_party/WebKit/Source/core/html/HTMLTagNames.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ base
1717
basefont interfaceName=HTMLElement
1818
bdi interfaceName=HTMLBDIElement, JSInterfaceName=HTMLElement
1919
bdo interfaceName=HTMLElement
20-
bgsound interfaceName=HTMLElement
20+
bgsound interfaceName=HTMLUnknownElement
2121
big interfaceName=HTMLElement
2222
blockquote interfaceName=HTMLQuoteElement
2323
body

0 commit comments

Comments
 (0)