Changeset 249212 in webkit
- Timestamp:
- Aug 28, 2019, 12:34:43 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 14 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt (modified) (3 diffs)
-
LayoutTests/platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt (modified) (3 diffs)
-
LayoutTests/platform/mac/inspector/model/remote-object-dom-expected.txt (modified) (1 diff)
-
Source/WebCore/CMakeLists.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/DerivedSources-input.xcfilelist (modified) (1 diff)
-
Source/WebCore/DerivedSources-output.xcfilelist (modified) (1 diff)
-
Source/WebCore/DerivedSources.make (modified) (1 diff)
-
Source/WebCore/Sources.txt (modified) (2 diffs)
-
Source/WebCore/WebCore.xcodeproj/project.pbxproj (modified) (3 diffs)
-
Source/WebCore/dom/StaticRange.h (modified) (1 diff)
-
Source/WebCore/html/HTMLElement.idl (modified) (2 diffs)
-
Source/WebCore/html/HTMLOrForeignElement.idl (added)
-
Source/WebCore/svg/SVGElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r249207 r249212 1 2019-08-28 Rob Buis <rbuis@igalia.com> 2 3 Implement HTMLOrForeignElement 4 https://bugs.webkit.org/show_bug.cgi?id=201219 5 6 Reviewed by Ryosuke Niwa. 7 8 Adjust test expectations to new HTMLOrForeignElement interface. 9 10 * js/dom/dom-static-property-for-in-iteration-expected.txt: 11 * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt: 12 * platform/mac/inspector/model/remote-object-dom-expected.txt: 13 1 14 2019-08-28 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt
r244582 r249212 36 36 PASS a["translate"] is true 37 37 PASS a["dir"] is 38 PASS a["dataset"] is [object DOMStringMap]39 38 PASS a["hidden"] is false 40 PASS a["tabIndex"] is 041 39 PASS a["accessKey"] is 42 40 PASS a["draggable"] is true … … 46 44 PASS a["isContentEditable"] is false 47 45 PASS a["offsetParent"] is [object HTMLBodyElement] 48 PASS a["offsetTop"] is 71446 PASS a["offsetTop"] is 684 49 47 PASS a["offsetLeft"] is 8 50 48 PASS a["offsetWidth"] is 40 … … 130 128 PASS a["onpointerenter"] is null 131 129 PASS a["onpointerleave"] is null 130 PASS a["dataset"] is [object DOMStringMap] 131 PASS a["tabIndex"] is 0 132 132 PASS a["namespaceURI"] is http://www.w3.org/1999/xhtml 133 133 PASS a["prefix"] is null -
trunk/LayoutTests/platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt
r244592 r249212 38 38 PASS a["translate"] is true 39 39 PASS a["dir"] is 40 PASS a["dataset"] is [object DOMStringMap]41 40 PASS a["hidden"] is false 42 PASS a["tabIndex"] is 043 41 PASS a["accessKey"] is 44 42 PASS a["draggable"] is true … … 48 46 PASS a["isContentEditable"] is false 49 47 PASS a["offsetParent"] is [object HTMLBodyElement] 50 PASS a["offsetTop"] is 7 4448 PASS a["offsetTop"] is 714 51 49 PASS a["offsetLeft"] is 8 52 50 PASS a["offsetWidth"] is 40 … … 133 131 PASS a["onpointerenter"] is null 134 132 PASS a["onpointerleave"] is null 133 PASS a["dataset"] is [object DOMStringMap] 134 PASS a["tabIndex"] is 0 135 135 PASS a["namespaceURI"] is http://www.w3.org/1999/xhtml 136 136 PASS a["prefix"] is null -
trunk/LayoutTests/platform/mac/inspector/model/remote-object-dom-expected.txt
r224125 r249212 167 167 }, 168 168 { 169 "_name": " dataset",170 "_type": " object",171 "_value": " DOMStringMap"169 "_name": "hidden", 170 "_type": "boolean", 171 "_value": "false" 172 172 } 173 173 ], -
trunk/Source/WebCore/CMakeLists.txt
r249066 r249212 825 825 html/HTMLOptionElement.idl 826 826 html/HTMLOptionsCollection.idl 827 html/HTMLOrForeignElement.idl 827 828 html/HTMLOutputElement.idl 828 829 html/HTMLParagraphElement.idl -
trunk/Source/WebCore/ChangeLog
r249209 r249212 1 2019-08-28 Rob Buis <rbuis@igalia.com> 2 3 Implement HTMLOrForeignElement 4 https://bugs.webkit.org/show_bug.cgi?id=201219 5 6 Reviewed by Ryosuke Niwa. 7 8 Add the HTMLOrForeignElement [1] interface to share properties 9 and methods between HTML, SVG and MathML. 10 11 [1] https://github.com/mathml-refresh/mathml/issues/83 12 13 * CMakeLists.txt: 14 * DerivedSources-input.xcfilelist: 15 * DerivedSources-output.xcfilelist: 16 * DerivedSources.make: 17 * Sources.txt: 18 * WebCore.xcodeproj/project.pbxproj: 19 * dom/StaticRange.h: 20 * html/HTMLElement.idl: 21 * html/HTMLOrForeignElement.idl: Added. 22 * svg/SVGElement.idl: 23 1 24 2019-08-28 Sam Weinig <weinig@apple.com> 2 25 -
trunk/Source/WebCore/DerivedSources-input.xcfilelist
r249066 r249212 713 713 $(PROJECT_DIR)/html/HTMLOptionElement.idl 714 714 $(PROJECT_DIR)/html/HTMLOptionsCollection.idl 715 $(PROJECT_DIR)/html/HTMLOrForeignElement.idl 715 716 $(PROJECT_DIR)/html/HTMLOutputElement.idl 716 717 $(PROJECT_DIR)/html/HTMLParagraphElement.idl -
trunk/Source/WebCore/DerivedSources-output.xcfilelist
r249066 r249212 776 776 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModElement.cpp 777 777 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModElement.h 778 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOrForeignElement.cpp 779 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOrForeignElement.h 778 780 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOListElement.cpp 779 781 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOListElement.h -
trunk/Source/WebCore/DerivedSources.make
r249066 r249212 717 717 $(WebCore)/html/HTMLOptionElement.idl \ 718 718 $(WebCore)/html/HTMLOptionsCollection.idl \ 719 $(WebCore)/html/HTMLOrForeignElement.idl \ 719 720 $(WebCore)/html/HTMLOutputElement.idl \ 720 721 $(WebCore)/html/HTMLParagraphElement.idl \ -
trunk/Source/WebCore/Sources.txt
r249177 r249212 2561 2561 WebCoreJSBuiltinInternals.cpp 2562 2562 WebCoreJSBuiltins.cpp 2563 JSHTMLElementWrapperFactory.cpp 2563 2564 JSSVGElementWrapperFactory.cpp 2564 JSHTMLElementWrapperFactory.cpp2565 2565 2566 2566 // IDL bindings … … 2890 2890 JSHTMLMeterElement.cpp 2891 2891 JSHTMLModElement.cpp 2892 JSHTMLOrForeignElement.cpp 2892 2893 JSHTMLOListElement.cpp 2893 2894 JSHTMLObjectElement.cpp -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r249177 r249212 11991 11991 AAC08CF015F941FC00F1E188 /* AccessibilitySVGRoot.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilitySVGRoot.cpp; sourceTree = "<group>"; }; 11992 11992 AAC08CF115F941FC00F1E188 /* AccessibilitySVGRoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilitySVGRoot.h; sourceTree = "<group>"; }; 11993 AACC83D62316569E00EB6BF5 /* HTMLOrForeignElement.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = HTMLOrForeignElement.idl; sourceTree = "<group>"; }; 11994 AACC83D72316576A00EB6BF5 /* JSHTMLOrForeignElement.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JSHTMLOrForeignElement.h; sourceTree = "<group>"; }; 11995 AACC83D82316576B00EB6BF5 /* JSHTMLOrForeignElement.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLOrForeignElement.cpp; sourceTree = "<group>"; }; 11993 11996 AAE27B7416CBFC0D00623043 /* PlatformSpeechSynthesizerMock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlatformSpeechSynthesizerMock.cpp; sourceTree = "<group>"; }; 11994 11997 AAE27B7516CBFC0D00623043 /* PlatformSpeechSynthesizerMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformSpeechSynthesizerMock.h; sourceTree = "<group>"; }; … … 21526 21529 A81369BE097374F500D74463 /* HTMLOptionsCollection.h */, 21527 21530 85DF2F920AA3C9B600AD64C5 /* HTMLOptionsCollection.idl */, 21531 AACC83D62316569E00EB6BF5 /* HTMLOrForeignElement.idl */, 21528 21532 4AD01005127E642A0015035F /* HTMLOutputElement.cpp */, 21529 21533 4AD01006127E642A0015035F /* HTMLOutputElement.h */, … … 22796 22800 448A29BE0A46D9CB0030759F /* JSHTMLOptionsCollection.cpp */, 22797 22801 448A29BD0A46D9CB0030759F /* JSHTMLOptionsCollection.h */, 22802 AACC83D82316576B00EB6BF5 /* JSHTMLOrForeignElement.cpp */, 22803 AACC83D72316576A00EB6BF5 /* JSHTMLOrForeignElement.h */, 22798 22804 4AD0173A127E82860015035F /* JSHTMLOutputElement.cpp */, 22799 22805 4AD0173B127E82860015035F /* JSHTMLOutputElement.h */, -
trunk/Source/WebCore/dom/StaticRange.h
r249079 r249212 26 26 #pragma once 27 27 28 #include "ExceptionOr.h" 28 29 #include <wtf/Ref.h> 29 30 #include <wtf/RefCounted.h> -
trunk/Source/WebCore/html/HTMLElement.idl
r248784 r249212 30 30 [CEReactions] attribute boolean translate; 31 31 [CEReactions] attribute DOMString dir; 32 readonly attribute DOMStringMap dataset; // FIXME: Should be [SameObject].33 32 34 33 // User interaction. 35 34 [CEReactions, Reflect] attribute boolean hidden; 36 35 void click(); 37 [CEReactions, ImplementedAs=tabIndexForBindings] attribute long tabIndex;38 void focus();39 void blur();40 36 [CEReactions, Reflect] attribute DOMString accessKey; 41 37 // readonly attribute DOMString accessKeyLabel; // FIXME: Not supported. … … 74 70 HTMLElement implements ElementCSSInlineStyle; 75 71 HTMLElement implements GlobalEventHandlers; 72 HTMLElement implements HTMLOrForeignElement; -
trunk/Source/WebCore/svg/SVGElement.idl
r248784 r249212 32 32 readonly attribute SVGAnimatedString className; 33 33 34 [CEReactions=NotNeeded, ImplementedAs=tabIndexForBindings] attribute long tabIndex;35 36 34 // FIXME: Using "undefined" as default parameter value is wrong. 37 35 // This method is deprecated, and we'd like to remove it someday. 38 36 DeprecatedCSSOMValue getPresentationAttribute(optional DOMString name = "undefined"); 39 40 void focus();41 void blur();42 43 readonly attribute DOMStringMap dataset;44 37 }; 45 38 46 39 SVGElement implements ElementCSSInlineStyle; 47 40 SVGElement implements GlobalEventHandlers; 41 SVGElement implements HTMLOrForeignElement;
Note:
See TracChangeset
for help on using the changeset viewer.