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

Issue 2951213005: [LayoutNG] Support objects that are opaque to whitespace collapsing (Closed)

Created:
3 years, 5 months ago by kojii
Modified:
3 years, 5 months ago
Reviewers:
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] Support objects that are opaque to whitespace collapsing This patch changes following objects opaque to whitespace collapsing; i.e., spaces before such objects and after can collapse. - Out-of-flow objects (floats, absolute positioned objects.) - Open/close tags. - Bidi controls. The ability (AppendAsOpaqueToSpaceCollapsing) originally existed and used for bidi controls, but removed in [1] due to lack of spec and tests. Above cases were tested in 4 browsers and re-implemented to be interoperable. This patch also stops injecting Object Replacement Character for OOF objects. This is not specified, and was not possible before, but 0-length item was supported for open/close tags, and this behavior is interopeable with Blink/Edge/WebKit. [1] https://codereview.chromium.org/2749013003 BUG=636993, 733609 Review-Url: https://codereview.chromium.org/2951213005 Cr-Commit-Position: refs/heads/master@{#482152} Committed: https://chromium.googlesource.com/chromium/src/+/0a3ecc6715b7ad1c10bc6b4384d0bad5c8e0d165

Patch Set 1 #

Patch Set 2 : Cleanup and update -expected.txt's #

Total comments: 1

Patch Set 3 : Renamed to AppendOpaque #

Messages

Total messages: 37 (30 generated)
kojii
PTAL.
3 years, 5 months ago (2017-06-23 18:43:04 UTC) #15
eae
LGTM w/optional suggestion https://codereview.chromium.org/2951213005/diff/40001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.h File third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.h (right): https://codereview.chromium.org/2951213005/diff/40001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.h#newcode70 third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.h:70: void AppendAsOpaqueToSpaceCollapsing(NGInlineItem::NGInlineItemType, UChar); These names are ...
3 years, 5 months ago (2017-06-23 18:49:09 UTC) #16
kojii
On 2017/06/23 at 18:49:09, eae wrote: > These names are a little too verbose, how ...
3 years, 5 months ago (2017-06-23 19:56:20 UTC) #25
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/2951213005/80001
3 years, 5 months ago (2017-06-23 19:56:53 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_layout_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_layout_ng/builds/560)
3 years, 5 months ago (2017-06-24 01:08:24 UTC) #30
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/2951213005/80001
3 years, 5 months ago (2017-06-24 07:36:17 UTC) #33
commit-bot: I haz the power
3 years, 5 months ago (2017-06-24 17:20:40 UTC) #37
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0a3ecc6715b7ad1c10bc6b4384d0...

Powered by Google App Engine
This is Rietveld 408576698