Contact emailskeitha...@github.com

Explainer
https://github.com/WICG/webcomponents/issues/566#issuecomment-882359087

Specificationhttps://github.com/whatwg/html/pull/9195

Summary

customElements.getName() returns the tag name of the given custom element
definition.


Blink componentBlink>HTML>CustomElements
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EHTML%3ECustomElements>


Motivation

Currently there is no way to get the local name of a custom element without
instantiating the instance and checking the localName property. This new
method allows querying the customElementRegistry to discover the localName
of a definition without creating an instance.


Initial public proposalhttps://github.com/WICG/webcomponents/issues/566

TAG review

TAG review statusPending

Risks


Interoperability and Compatibility



*Gecko*: No signal (
https://github.com/mozilla/standards-positions/issues/785)

*WebKit*: In development (https://bugs.webkit.org/show_bug.cgi?id=255778)

*Web developers*: Positive

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Debuggability



Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

Flag name

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1435389

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5199783177748480

Links to previous Intent discussions

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2B%3DRsFbg_NYoGQCOGVtB8VKWdaaaDX%3DrTOyBtk6BOa4WcfYsxg%40mail.gmail.com.

Reply via email to