Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the wrong directionality of slots #27954

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 9, 2021

After the CL that introduced the cache of the directionality of the
element at https://crrev.com/c/2666349, Slots have a wrong
directionality, and this CL supplements additionally as follows:

  • Resolve the directionality and propagate it to descendant if the
    slot element or it's parent has dir=auto
  • Propagate the directionality to the assigned nodes if the slot
    element has a valid dir attribute
  • Resolve the directionality if the assigned node or its parent
    have dir=auto
  • Resolve the directionality when the assigned node is a text node

Bug: 1185781
Change-Id: I9c3bba672f3c9580a1c687539cb3215b0f4f2f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2744562
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861868}

Copy link
Collaborator

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

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.

@wpt-pr-bot wpt-pr-bot added the html label Mar 9, 2021
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2744562 branch 5 times, most recently from 4e7438b to 0ffc6c6 Compare March 11, 2021 02:46
After the CL that introduced the cache of the directionality of the
element at https://crrev.com/c/2666349, Slots have a wrong
directionality, and this CL supplements additionally as follows:

- Resolve the directionality and propagate it to descendant if the
  slot element or it's parent has dir=auto
- Propagate the directionality to the assigned nodes if the slot
  element has a valid dir attribute
- Resolve the directionality if the assigned node or its parent
  have dir=auto
- Resolve the directionality when the assigned node is a text node

Bug: 1185781
Change-Id: I9c3bba672f3c9580a1c687539cb3215b0f4f2f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2744562
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861868}
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 126ec5c into master Mar 11, 2021
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-2744562 branch March 11, 2021 06:40
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.

3 participants