Skip to content

Revert recent changes to inheritance of direction and language for <slot> elements. - #42811

Merged
DanielRyanSmith merged 1 commit into
masterfrom
chromium-export-cl-4984312
Oct 30, 2023
Merged

DanielRyanSmith merged 1 commit into
masterfrom
chromium-export-cl-4984312

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Oct 27, 2023 •

Copy link
Copy Markdown
Collaborator

This changes the way <slot> elements inherit the HTML concepts of
direction and language to inherit from their parent, rather than from
their shadow root's host.

This matches the changes that I'm proposing in:
whatwg/html#9880

These changes are all behind flags that are slated to ship in M120:
CSSPseudoDir for the direction changes and HTMLLangNewInheritance for
the language changes.

Bug: 576815, 1490711
Change-Id: I152d8e21e24e77c9359744019b3ab875c2a21727
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4984312
Reviewed-by: Di Zhang <[email protected]>
Commit-Queue: David Baron <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1216286}

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

…lot> elements.

This changes the way <slot> elements inherit the HTML concepts of
direction and language to inherit from their parent, rather than from
their shadow root's host.

This matches the changes that I'm proposing in:
whatwg/html#9880

These changes are all behind flags that are slated to ship in M120:
CSSPseudoDir for the direction changes and HTMLLangNewInheritance for
the language changes.

Bug: 576815, 1490711
Change-Id: I152d8e21e24e77c9359744019b3ab875c2a21727
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4984312
Reviewed-by: Di Zhang <[email protected]>
Commit-Queue: David Baron <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1216286}
@past past closed this Oct 30, 2023
@past past reopened this Oct 30, 2023
@DanielRyanSmith
DanielRyanSmith merged commit e873a33 into master Oct 30, 2023
@DanielRyanSmith
DanielRyanSmith deleted the chromium-export-cl-4984312 branch October 30, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants