|
|
|
|
|
by P5fRxh5kUvp2th
1383 days ago
|
|
Back in my day we could search for child elements with specific attributes without needing the intermediate elements to know anything about it. What REALLY happened is the shadow DOM. People decided it was too slow and created an intermediate representation. That then created all kinds of OTHER problems that started resulting in solutions that wouldn't have been necessary without the shadow DOM. A shadow DOM is basically a cache, with all the problems that entails. |
|
https://developer.mozilla.org/en-US/docs/Web/Web_Components/...