-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dir=auto traversal exclusions to apply to assigned nodes in a slot.
This fixes Chromium code and web platform tests to match half of the spec update in whatwg/html#10488 and whatwg/html#10561 . Prior to this change (in both spec and Chromium implementation) subtrees that were intended to be excluded from dir=auto traversal were not being excluded if they were an assigned node in a slot with dir=auto (which has a special traversal to traverse in the order of the assigned nodes, despite the general traversal being on the dom tree and not the flat tree). This fix is behind the DirAutoFixSlotExclusions flag in case we need to disable it. This also updates the test for bdi elements to only check for bdi elements in the HTML namespace. Bug: 576815, 352191350 Change-Id: I58a3bef05d27ba83a7e6b8e34d7bba74a8e0a482
- Loading branch information
1 parent
2668e1d
commit 360ac54
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters