Changeset 267011 in webkit
- Timestamp:
- Sep 14, 2020 8:28:02 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r267010 r267011 1 2020-09-14 Sam Weinig <weinig@apple.com> 2 3 [WebIDL] Split DOM Parsing related functions out of Element and ShadowRoot and into their own IDL files to match specs 4 https://bugs.webkit.org/show_bug.cgi?id=216461 5 6 Reviewed by Darin Adler. 7 8 * js/dom/dom-static-property-for-in-iteration-expected.txt: 9 * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: 10 * platform/ios-wk2/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/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt: 13 Update for change in iteration order due to use of partial interfaces. 14 1 15 2020-09-14 Philippe Normand <pnormand@igalia.com> 2 16 -
trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt
r266801 r267011 152 152 PASS a["clientWidth"] is 0 153 153 PASS a["clientHeight"] is 0 154 PASS a["innerHTML"] is nerget155 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>156 154 PASS a["oncopy"] is null 157 155 PASS a["oncut"] is null 158 156 PASS a["onpaste"] is null 157 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a> 158 PASS a["innerHTML"] is nerget 159 159 PASS a["previousElementSibling"] is [object HTMLDivElement] 160 160 PASS a["nextElementSibling"] is [object HTMLScriptElement] -
trunk/LayoutTests/platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt
r266801 r267011 155 155 PASS a["clientWidth"] is 0 156 156 PASS a["clientHeight"] is 0 157 PASS a["innerHTML"] is nerget158 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>159 157 PASS a["oncopy"] is null 160 158 PASS a["oncut"] is null 161 159 PASS a["onpaste"] is null 160 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a> 161 PASS a["innerHTML"] is nerget 162 162 PASS a["previousElementSibling"] is [object HTMLDivElement] 163 163 PASS a["nextElementSibling"] is [object HTMLScriptElement] -
trunk/LayoutTests/platform/ios-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt
r266801 r267011 142 142 PASS a["clientWidth"] is 0 143 143 PASS a["clientHeight"] is 0 144 PASS a["innerHTML"] is nerget145 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>146 144 PASS a["oncopy"] is null 147 145 PASS a["oncut"] is null 148 146 PASS a["onpaste"] is null 147 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a> 148 PASS a["innerHTML"] is nerget 149 149 PASS a["previousElementSibling"] is [object HTMLDivElement] 150 150 PASS a["nextElementSibling"] is [object HTMLScriptElement] -
trunk/LayoutTests/platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt
r266801 r267011 156 156 PASS a["clientWidth"] is 0 157 157 PASS a["clientHeight"] is 0 158 PASS a["innerHTML"] is nerget159 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>160 158 PASS a["oncopy"] is null 161 159 PASS a["oncut"] is null 162 160 PASS a["onpaste"] is null 161 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a> 162 PASS a["innerHTML"] is nerget 163 163 PASS a["previousElementSibling"] is [object HTMLDivElement] 164 164 PASS a["nextElementSibling"] is [object HTMLScriptElement] -
trunk/LayoutTests/platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt
r266801 r267011 154 154 PASS a["clientWidth"] is 0 155 155 PASS a["clientHeight"] is 0 156 PASS a["innerHTML"] is nerget157 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>158 156 PASS a["oncopy"] is null 159 157 PASS a["oncut"] is null 160 158 PASS a["onpaste"] is null 159 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a> 160 PASS a["innerHTML"] is nerget 161 161 PASS a["previousElementSibling"] is [object HTMLDivElement] 162 162 PASS a["nextElementSibling"] is [object HTMLScriptElement] -
trunk/Source/WebCore/CMakeLists.txt
r266926 r267011 794 794 dom/DragEvent.idl 795 795 dom/Element.idl 796 dom/ElementDOMParsing.idl 796 797 dom/ErrorEvent.idl 797 798 dom/Event.idl … … 806 807 dom/IdleRequestCallback.idl 807 808 dom/IdleRequestOptions.idl 809 dom/InnerHTML.idl 808 810 dom/InputEvent.idl 809 811 dom/KeyboardEvent.idl -
trunk/Source/WebCore/ChangeLog
r267009 r267011 1 2020-09-14 Sam Weinig <weinig@apple.com> 2 3 [WebIDL] Split DOM Parsing related functions out of Element and ShadowRoot and into their own IDL files to match specs 4 https://bugs.webkit.org/show_bug.cgi?id=216461 5 6 Reviewed by Darin Adler. 7 8 No behavior change, just cleaning up which IDL files DOM Parsing related operations 9 live to match specs. 10 11 * CMakeLists.txt: 12 * DerivedSources-input.xcfilelist: 13 * DerivedSources-output.xcfilelist: 14 * DerivedSources.make: 15 * WebCore.xcodeproj/project.pbxproj: 16 * dom/Element.idl: 17 * dom/ElementDOMParsing.idl: Added. 18 * dom/InnerHTML.idl: Added. 19 * dom/ShadowRoot.idl: 20 1 21 2020-09-14 Chris Lord <clord@igalia.com> 2 22 -
trunk/Source/WebCore/DerivedSources-input.xcfilelist
r266926 r267011 712 712 $(PROJECT_DIR)/dom/DragEvent.idl 713 713 $(PROJECT_DIR)/dom/Element.idl 714 $(PROJECT_DIR)/dom/ElementDOMParsing.idl 714 715 $(PROJECT_DIR)/dom/ErrorEvent.idl 715 716 $(PROJECT_DIR)/dom/Event.idl … … 727 728 $(PROJECT_DIR)/dom/IdleRequestCallback.idl 728 729 $(PROJECT_DIR)/dom/IdleRequestOptions.idl 730 $(PROJECT_DIR)/dom/InnerHTML.idl 729 731 $(PROJECT_DIR)/dom/InputEvent.idl 730 732 $(PROJECT_DIR)/dom/KeyboardEvent.idl -
trunk/Source/WebCore/DerivedSources-output.xcfilelist
r266926 r267011 621 621 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementCSSInlineStyle.cpp 622 622 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementCSSInlineStyle.h 623 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementDOMParsing.cpp 624 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementDOMParsing.h 623 625 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEndingType.cpp 624 626 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEndingType.h … … 1045 1047 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageSmoothingQuality.cpp 1046 1048 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageSmoothingQuality.h 1049 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInnerHTML.cpp 1050 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInnerHTML.h 1047 1051 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInputEvent.cpp 1048 1052 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInputEvent.h -
trunk/Source/WebCore/DerivedSources.make
r266926 r267011 744 744 $(WebCore)/dom/DragEvent.idl \ 745 745 $(WebCore)/dom/Element.idl \ 746 $(WebCore)/dom/ElementDOMParsing.idl \ 746 747 $(WebCore)/dom/ErrorEvent.idl \ 747 748 $(WebCore)/dom/Event.idl \ … … 757 758 $(WebCore)/dom/IdleRequestCallback.idl \ 758 759 $(WebCore)/dom/IdleRequestOptions.idl \ 760 $(WebCore)/dom/InnerHTML.idl \ 759 761 $(WebCore)/dom/InputEvent.idl \ 760 762 $(WebCore)/dom/KeyboardEvent.idl \ -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r267003 r267011 10373 10373 7CD70C4324A28BEC00E61040 /* SVGStringList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SVGStringList.cpp; sourceTree = "<group>"; }; 10374 10374 7CD70C4624A28CD700E61040 /* SVGTransformList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SVGTransformList.cpp; sourceTree = "<group>"; }; 10375 7CDA7912250E88F0007D1B36 /* InnerHTML.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = InnerHTML.idl; sourceTree = "<group>"; }; 10376 7CDA7919250E8C92007D1B36 /* ElementDOMParsing.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = ElementDOMParsing.idl; sourceTree = "<group>"; }; 10375 10377 7CDE73961F9BD59500390312 /* Settings.yaml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Settings.yaml; sourceTree = "<group>"; }; 10376 10378 7CDE8EBC1F193BC500168FE7 /* CSSStyleDeclaration.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSStyleDeclaration.cpp; sourceTree = "<group>"; }; … … 29296 29298 B5B7A16F17C1080600E4AA0A /* ElementData.cpp */, 29297 29299 B5B7A16E17C1048000E4AA0A /* ElementData.h */, 29300 7CDA7919250E8C92007D1B36 /* ElementDOMParsing.idl */, 29298 29301 2D2BEB2F2234A334005544CA /* ElementIdentifier.h */, 29299 29302 E4AE7C1517D1BB950009FB31 /* ElementIterator.h */, … … 29377 29380 AA4C3A740B2B1679002334A2 /* InlineStyleSheetOwner.cpp */, 29378 29381 AA4C3A750B2B1679002334A2 /* InlineStyleSheetOwner.h */, 29382 7CDA7912250E88F0007D1B36 /* InnerHTML.idl */, 29379 29383 2EB767551DA19B99003E23B5 /* InputEvent.cpp */, 29380 29384 2EB767541DA19B67003E23B5 /* InputEvent.h */, -
trunk/Source/WebCore/dom/Element.idl
r266662 r267011 89 89 readonly attribute double clientHeight; // FIXME: Should be of type long. 90 90 91 // Extensions to Element from DOM Parsing and Serialization specification.92 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-element-interface93 [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML;94 [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML;95 [CEReactions, MayThrowException] undefined insertAdjacentHTML(DOMString position, DOMString text);96 97 91 // Extensions from Full Screen API (https://fullscreen.spec.whatwg.org/#api). 98 92 // FIXME: Should we add unprefixed versions? … … 157 151 Element includes ParentNode; 158 152 Element includes Slotable; 153 Element includes InnerHTML; -
trunk/Source/WebCore/dom/ShadowRoot.idl
r266662 r267011 30 30 readonly attribute ShadowRootMode mode; 31 31 readonly attribute Element host; 32 33 // FIXME: Seems to have been dropped from the Shadow DOM API. 34 [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML; 32 // FIXME: Implement 'onslotchange'. 33 // attribute EventHandler onslotchange; 35 34 }; 36 35 37 36 ShadowRoot includes DocumentOrShadowRoot; 37 ShadowRoot includes InnerHTML;
Note: See TracChangeset
for help on using the changeset viewer.