Primary eng (and PM) emails
Link to “Intent to Deprecate” thread
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/YHObTvjl1tU
Summary
Remove getElementsByClassName(), getElementsByTagName() and getElementsByTagNameNS() on ShadowRoot.
Note: getElementById() is not involved in any way.
Motivation
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23620 Follow the link for more context. In summary, this was agreed upon a year ago.
(copied-and-pasted from "Intent to Deprecated" thread)
Usage information from UseCounter
ShadowRootGetElementsByClassName: <=0.0001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/623
ShadowRootGetElementsByTagName: 0.0039%
https://www.chromestatus.com/metrics/feature/timeline/popularity/624
ShadowRootGetElementsByTagNameNS: <=0.0001% https://www.chromestatus.com/metrics/feature/timeline/popularity/625
Entry on chromestatus.com
https://www.chromestatus.com/feature/4507242028072960
Compatibility Risk
Any content using these methods will throw exceptions.LGTM2
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.