-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup affected-by-has flag setting logic in CheckPseudoHas
Cleanup logic of setting AncestorsOrAncestorSiblingsAffectedByHas and SiblingsAffectedByHasFlags. To simplify the logic, CheckPseudoHasArgumentTraversalIterator behavior was changed to traverse until it reaches to the :has() scope element, even for fixed adjacent distance. With the changed logic, we can set SiblingsAffectedByHasFlags in addition to AncestorsOrAncestorSiblingsAffectedByHas while traversing. Bug: 669058 Change-Id: I2cc18127d49aef6f6d09ecd41f71018dad028fde Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3624879 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Byungwoo Lee <blee@igalia.com> Cr-Commit-Position: refs/heads/main@{#1001342}
- Loading branch information
Showing
4 changed files
with
891 additions
and
285 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
Oops, something went wrong.