forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-align HTMLElement with the HTML spec
https://bugs.webkit.org/show_bug.cgi?id=217202 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/html/dom/idlharness.https-expected.txt: * web-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt: Update more now passing results. Source/WebCore: - Stops including DocumentAndElementEventHandlers in Element, and instead matches spec and other browsers by having HTMLElement, SVGElement and MathMLElement include it. - Splits out ElementContentEditable from HTMLElement and has HTMLElement include it. - Splits CSSOM View parts of HTMLElement out into HTMLElement+CSSOMView.idl - Re-orders includes to more closely match spec'd order. Has no real effect but made me happy. Updates results to existing tests that are now passing, all due to the change to include DocumentAndElementEventHandlers in the Element subclasses, not Element itself. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * dom/Element.idl: * dom/ElementContentEditable.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLElement+CSSOMView.idl: Added. * html/HTMLElement.idl: * html/HTMLFrameSetElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * mathml/MathMLElement.idl: * svg/SVGElement.idl: LayoutTests: * fast/events/DocumentAndElementEventHandlers-expected.txt: * fast/events/DocumentAndElementEventHandlers.html: Update test to match spec by checking on the HTMLElement prototype, not the Element prototype. * fast/dom/event-handler-attributes-expected.txt: * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Update more now passing results. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@267893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
c5ae9dc
commit b5b1109
Showing
26 changed files
with
216 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
2020-10-02 Sam Weinig <[email protected]> | ||
|
||
Re-align HTMLElement with the HTML spec | ||
https://bugs.webkit.org/show_bug.cgi?id=217202 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
* fast/events/DocumentAndElementEventHandlers-expected.txt: | ||
* fast/events/DocumentAndElementEventHandlers.html: | ||
Update test to match spec by checking on the HTMLElement prototype, not the | ||
Element prototype. | ||
|
||
* fast/dom/event-handler-attributes-expected.txt: | ||
* platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
* platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
* platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
* platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
* platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
Update more now passing results. | ||
|
||
2020-09-30 Antoine Quint <[email protected]> | ||
|
||
Add non-animated support for the CSS translate property | ||
|
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
6 changes: 3 additions & 3 deletions
6
LayoutTests/fast/events/DocumentAndElementEventHandlers-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
PASS oncopy EventHandler on Document | ||
PASS oncopy EventHander on Element | ||
PASS oncopy EventHander on HTMLElement | ||
PASS oncut EventHandler on Document | ||
PASS oncut EventHander on Element | ||
PASS oncut EventHander on HTMLElement | ||
PASS onpaste EventHandler on Document | ||
PASS onpaste EventHander on Element | ||
PASS onpaste EventHander on HTMLElement | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
2020-10-02 Sam Weinig <[email protected]> | ||
|
||
Re-align HTMLElement with the HTML spec | ||
https://bugs.webkit.org/show_bug.cgi?id=217202 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
* web-platform-tests/html/dom/idlharness.https-expected.txt: | ||
* web-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt: | ||
Update more now passing results. | ||
|
||
2020-09-30 Antoine Quint <[email protected]> | ||
|
||
Add non-animated support for the CSS translate property | ||
|
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
6 changes: 3 additions & 3 deletions
6
...-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt
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
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
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
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
Oops, something went wrong.