Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Issue 2906233002: [LayoutNG] Use logical left of the line box to apply text-align (Closed)

Created:
3 years, 6 months ago by kojii
Modified:
3 years, 6 months ago
Reviewers:
Gleb Lanbin, lchoi, eae
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, cbiesinger, chromium-reviews, dgrogan+ng_chromium.org, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, lchoi+reviews_chromium.org, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Use logical left of the line box to apply text-align This patch changes text-align to use the logical left of the line box to apply the CSS text-align property. This is set to the offset of NGPhysicalLineBoxFragment, which is then copiped to RootInlineBox::LogicalLeft. This way is more efficient to move, the same as what the legacy does, and better for painting since the line box does not have unused spaces. BUG=636993 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Review-Url: https://codereview.chromium.org/2906233002 Cr-Commit-Position: refs/heads/master@{#475728} Committed: https://chromium.googlesource.com/chromium/src/+/a1680fcaff1aa1c755f52a2b8942cf871b773a32

Patch Set 1 #

Patch Set 2 : ngtextalign #

Patch Set 3 : #

Patch Set 4 : Cleanup #

Patch Set 5 : Fix NGInlineLayoutAlgorithmTest.TextFloatsAroundFloatsBefore #

Messages

Total messages: 26 (20 generated)
kojii
PTAL. lchoi@, I saw you're working on supporting center alignment. Could you rebase on top ...
3 years, 6 months ago (2017-05-29 16:16:48 UTC) #16
eae
LGTM
3 years, 6 months ago (2017-05-30 15:01:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906233002/80001
3 years, 6 months ago (2017-05-30 17:59:39 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_layout_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 6 months ago (2017-05-30 20:01:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906233002/80001
3 years, 6 months ago (2017-05-31 01:37:36 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 01:42:22 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a1680fcaff1aa1c755f52a2b8942...

Powered by Google App Engine
This is Rietveld 408576698