Custom elements: Add element.attachInternals() and ElementInternals interface#4324
Custom elements: Add element.attachInternals() and ElementInternals interface#4324domenic merged 6 commits intowhatwg:masterfrom
Conversation
|
@domenic Would you review this please? |
domenic
left a comment
There was a problem hiding this comment.
Looks good with some nits! Unsure when we should land, as adding a no-op interface to the spec feels a bit silly, but let me know what you think.
I also feel it's silly, however I'd like to merge this PR with the empty interface. It makes writing the next PR easier and makes the next PR smaller. |
|
@tkent-google you can create a new PR that contains these commits as well as the new commit. You'd have to rebase once this is merged and force push. |
bd1a53b to
5c962da
Compare
domenic
left a comment
There was a problem hiding this comment.
LGTM.
I would be OK merging this now as long as we added a warning to the ElementInternals section saying "for now this interface has no functionality; follow [tracking bug] to watch progress on adding it." Or, we could do the dependent PRs, like @annevk said.
…res'. This change is for whatwg/html#4324, and a follow-up of #15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa
so that it matches to a specification PR; whatwg/html#4324 - Check 'is value' for customized built-in elements - Throws NotSupportedError instead of InvalidStateError in some cases - Remove the upstreamed test Bug: 905922 Change-Id: Ibe8db0ecde129f09a70c273cdc526f578ace1c33 Reviewed-on: https://chromium-review.googlesource.com/c/1482272 Auto-Submit: Kent Tamura <[email protected]> Commit-Queue: Hayato Ito <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Cr-Commit-Position: refs/heads/master@{#635024}
…res'. This change is for whatwg/html#4324, and a follow-up of #15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380}
…res'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380}
…res'. This change is for whatwg/html#4324, and a follow-up of #15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380}
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516
Follows latest developments in whatwg/html#4324.
This was discussed as part of WICG/webcomponents#758, and integrates with whatwg/html#4324.
|
Bugs for ElementInternals/attachInternals/disabledFeatures:
I'll let tkent determine whether we want any more tracking bugs on the Blink side. |
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856
…res'. This change is for whatwg/html#4324, and a follow-up of #15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380}
Follows latest developments in whatwg/html#4324.
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: 2f7275c284b18453bbbbfc0eb474542588bcb65e
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: 91b75e0e8324befa1731b448285c8bcc9411d410
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: fd7d7f58d4afb2159a5d7d55d94169932e464326
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: e89bf41687f50e862ace8bb7077aaa06e2f6a8b9
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856 UltraBlame original commit: a29b743876db0cb6b71a0b169456d98409803000
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: 2f7275c284b18453bbbbfc0eb474542588bcb65e
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: 91b75e0e8324befa1731b448285c8bcc9411d410
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: fd7d7f58d4afb2159a5d7d55d94169932e464326
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: e89bf41687f50e862ace8bb7077aaa06e2f6a8b9
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: 2f7275c284b18453bbbbfc0eb474542588bcb65e
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: 91b75e0e8324befa1731b448285c8bcc9411d410
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123 UltraBlame original commit: fd7d7f58d4afb2159a5d7d55d94169932e464326
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <tkentchromium.org> Reviewed-by: Hayato Ito <hayatochromium.org> Commit-Queue: Kent Tamura <tkentchromium.org> Cr-Commit-Position: refs/heads/master{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516 UltraBlame original commit: e89bf41687f50e862ace8bb7077aaa06e2f6a8b9
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856 UltraBlame original commit: a29b743876db0cb6b71a0b169456d98409803000
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856 UltraBlame original commit: a29b743876db0cb6b71a0b169456d98409803000
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516
…Element.attachInternals(), a=testonly Automatic update from web-platform-tests html,custom-elements: Add tests for HTMLElement.attachInternals() (#15123) Specification PR: whatwg/html#4324 -- wpt-commits: 4c70b5a6f3169400dc809ba540b8e4e425396b2d wpt-pr: 15123
…istry.html for 'disabledFeatures'., a=testonly Automatic update from web-platform-tests custom-elements: Update CustomElementRegistry.html for 'disabledFeatures'. This change is for whatwg/html#4324, and a follow-up of web-platform-tests/wpt#15123 Bug: crbug.com/905922 Change-Id: I3eceb5d21ab555c23ed877ded17d359fe004e2aa Reviewed-on: https://chromium-review.googlesource.com/c/1482361 Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Hayato Ito <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#635380} -- wpt-commits: 1aa5413b0c0a03d3c93e07d18bf8cc78e19ca611 wpt-pr: 15516
…ls(), a=testonly Automatic update from web-platform-tests Update error type test for attachInternals() (#16856) Follows latest developments in whatwg/html#4324. -- wp5At-commits: dc4519e0a9b6a0b5f53e622a31b420cb22d3a100 wpt-pr: 16856
This fixes WICG/webcomponents#758
WPT: web-platform-tests/wpt#15123
WPT: web-platform-tests/wpt#15516
/custom-elements.html ( diff )
/dom.html ( diff )
/index.html ( diff )
/infrastructure.html ( diff )