tldr: We should allow part names to also be selected as full custom pseudo-elements names, a la my-component::--heading in addition to my-component::part(heading). However, Maciej's point is still ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Vivek Yadav, an engineering manager from ...
::slotted pseudo elements allow tree-abiding pseudo elements to follow according to [1], but ::part is not specified as a tree-abiding pseudo in [2] or [3]. Still, it would make sense to allow ::part ...
We have all styled HTML elements with various sort of CSS. The styling applies to whole of the element. But have we ever tried applying different CSS to one single character, i.e. one half with one ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results