Change how NGConstraintSpaceBuilder specified destination space.
The way writing_mode for NGConstraintSpaceBuilder was set was
confusing. This change makes the API more explicit about how
output writing mode is set.
NGConstraintSpaceBuilder::writing_mode_ is eliminated
NGConstraintSpaceBuilder::SetWritingMode is eliminated
instead, writing mode becomes a parameter to:
NGConstraintSpaceBuilder::ToConstraintSpace(NGWritingMode output_mode)
BUG=635619
Review-Url: https://codereview.chromium.org/2692643002
Cr-Commit-Position: refs/heads/master@{#450163}
Committed: https://chromium.googlesource.com/chromium/src/+/b22faaaadbb08c37ceca6c55c9d5557966b85b21
3 years, 10 months ago
(2017-02-11 00:43:00 UTC)
#2
Patchset #1 (id:1) has been deleted
atotic
ptal
3 years, 10 months ago
(2017-02-11 00:43:35 UTC)
#3
ptal
Gleb Lanbin
just a couple of minor comments. https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode731 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:731: FromPlatformWritingMode(Style().getWritingMode())); add a ...
3 years, 10 months ago
(2017-02-13 19:33:30 UTC)
#4
ptal. All comments have a response. https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode731 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:731: FromPlatformWritingMode(Style().getWritingMode())); On 2017/02/13 ...
3 years, 10 months ago
(2017-02-13 21:49:52 UTC)
#7
ptal. All comments have a response. https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2692643002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode731 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:731: FromPlatformWritingMode(Style().getWritingMode())); On 2017/02/13 ...
3 years, 10 months ago
(2017-02-13 21:49:54 UTC)
#8
On 2017/02/13 at 19:41:51, cbiesinger wrote: > I like this concept, but it feels weird ...
3 years, 10 months ago
(2017-02-13 23:28:30 UTC)
#12
On 2017/02/13 at 19:41:51, cbiesinger wrote:
> I like this concept, but it feels weird to only have this for the writing mode
but not the direction -- how do others feel about that?
I have no opinion, since I do not know how is NGConstraintSpace's writing mode
used.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago
(2017-02-13 23:54:53 UTC)
#13
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1487030287107120, "parent_rev": "5fcf0e88e39cbba1b2aa74668224383c1c14029f", "commit_rev": "b22faaaadbb08c37ceca6c55c9d5557966b85b21"}
3 years, 10 months ago
(2017-02-14 00:06:41 UTC)
#17
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1487030287107120,
"parent_rev": "5fcf0e88e39cbba1b2aa74668224383c1c14029f", "commit_rev":
"b22faaaadbb08c37ceca6c55c9d5557966b85b21"}
commit-bot: I haz the power
Description was changed from ========== Change how NGConstraintSpaceBuilder specified destination space. The way writing_mode for ...
3 years, 10 months ago
(2017-02-14 00:07:15 UTC)
#18
Message was sent while issue was closed.
Description was changed from
==========
Change how NGConstraintSpaceBuilder specified destination space.
The way writing_mode for NGConstraintSpaceBuilder was set was
confusing. This change makes the API more explicit about how
output writing mode is set.
NGConstraintSpaceBuilder::writing_mode_ is eliminated
NGConstraintSpaceBuilder::SetWritingMode is eliminated
instead, writing mode becomes a parameter to:
NGConstraintSpaceBuilder::ToConstraintSpace(NGWritingMode output_mode)
BUG=635619
==========
to
==========
Change how NGConstraintSpaceBuilder specified destination space.
The way writing_mode for NGConstraintSpaceBuilder was set was
confusing. This change makes the API more explicit about how
output writing mode is set.
NGConstraintSpaceBuilder::writing_mode_ is eliminated
NGConstraintSpaceBuilder::SetWritingMode is eliminated
instead, writing mode becomes a parameter to:
NGConstraintSpaceBuilder::ToConstraintSpace(NGWritingMode output_mode)
BUG=635619
Review-Url: https://codereview.chromium.org/2692643002
Cr-Commit-Position: refs/heads/master@{#450163}
Committed:
https://chromium.googlesource.com/chromium/src/+/b22faaaadbb08c37ceca6c55c9d5...
==========
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/b22faaaadbb08c37ceca6c55c9d5557966b85b21
3 years, 10 months ago
(2017-02-14 00:07:16 UTC)
#19
Issue 2692643002: Change how NGConstraintSpaceBuilder specified destination space.
(Closed)
Created 3 years, 10 months ago by atotic
Modified 3 years, 10 months ago
Reviewers: cbiesinger, Gleb Lanbin, ikilpatrick
Base URL:
Comments: 8