DescriptionDon't add to uncommonAttributeRules for non-sharable cases.
Like for siblingRules in [1], we don't need to add rules to
uncommonAttributeRules if the attribute selectors are left of ::content,
::slotted, :host, or :host-context as two elements only may share style
if they match the same elements left of the two former, and anything
left of the two latter may never match.
[1] https://codereview.chromium.org/1695393002/
R=kochi@chromium.org
Committed: https://crrev.com/71d114fe5969d9b1def4d91657409537ff88b886
Cr-Commit-Position: refs/heads/master@{#376106}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|