Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Reasoning
We already have started again to use
:has()
in many places. It might be time to bring all these back as well. I couldn't notice any performance issues in Firefox this time.Changelog
Breaking changes
<k-item>
: Removeddata-has-image
anddata-only-option
attributes<k-dialog>
: Removeddata-has-footer
attribute<k-date-field>
: Removeddata-has-time
attribute<k-toggles-input>
: Removeddata-disabled
attribute<k-writer-input>
: Removeddata-toolbar-inline
attribute<k-page-view>
,<k-site-view>
,<k-file-view>
,<k-user-view>
: Removeddata-has-tabs
attribute andhasTabs
computed props<k-bubble>
: Removeddata-has-text
attribute<k-header>
: Removeddata-has-buttons
attribute<k-button>
: Removeddata-has-image
anddata-has-text
attributes<k-tag>
: Removeddata-has-image
anddata-has-toggle
attributes<k-tree>
: Removeddata-has-subtree
attributeReady?
For review team