Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[anchor] Always resolve anchor()/anchor-size() computed-value time
This CL removes the option of evaluating anchor() and anchor-size() functions at used-value time, per recent CSSWG resolution [1]. This eliminates the need for an AnchorEvaluator to resolve a Length, which means don't need to send that around to the extent we did before. It's still needed in some cases, because AnchorEvaluatorImpl is used for some secondary purposes in absolute_utils.cc. We still use CalculationExpressionAnchorQueryNode to represent the anchor query during Length::AnchorEvaluator::Evaluate for now. A follow-up CL will address this. Except for the removal of the feature flag, there should be no behavior change. Bug: 41483417 [1] w3c/csswg-drafts#9598 Change-Id: I068a57fcb6b5c90e133a36e095e8bbf25861714d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5355673 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#1270318}
- Loading branch information
Showing
17 changed files
with
100 additions
and
395 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
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
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
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.