Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "LayoutNG: Do not call UpdateLogicalWidth/Height for LayoutRep…
…laced" in M110 branch This reverts commit ca2862a. Reason: See crbug.com/1403580 Original CL description: > LayoutNG: Do not call UpdateLogicalWidth/Height for LayoutReplaced > > We should not call UpdateLogicalWidth() and UpdateLogicalHeight() from > UpdateLayout() of LayoutReplaced subclasses. > > We need ReplacedContentRect() with the last layout result and > ReplacedContentRect() with the new layout result in UpdateLayout(). > So, this CL updates ReplacedContentRect() and functions used by it > so that they take source data (border-box size and border-padding > strut) as arguments, and UpdateLayout() passes > - Data from LayoutBox fields, or > - Data from BoxLayoutExtraInput. > > This CL should have no behavior changes. > > Bug: 1353190 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4059933 Bug: 1353190, 1403580 Change-Id: Ibc8c9aedb7b2b1a21346185fee1f6937ec5dfa9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4170010 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#371} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
1 parent
154fd68
commit be0142a
Showing
9 changed files
with
25 additions
and
76 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
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