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

Issue 2479873002: Descendants may become or cease to be spanners when an ancestor changes style. (Closed)

Created:
4 years, 1 month ago by mstensho (USE GERRIT)
Modified:
4 years, 1 month ago
Reviewers:
eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews, mstensho (USE GERRIT)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Descendants may become or cease to be spanners when an ancestor changes style. When building the tree, when inserting something that looks like a column spanner, we first examine all the parents all the way up to the multicol container, to make sure that they are all valid spanner containers. This already works fine. In our implementation, a valid column spanner container is, roughly, a "regular" in-flow block. Among other things, it may not establish a new block formatting context. Nor transforms. And a few other things. If the style of a valid column spanner container changes, it may end up as no longer being a valid spanner container, and vice versa: an invalid spanner container may become a valid spanner container, all of a sudden. Detect this during style change. If a block ceases to be a valid spanner container, we need to check its subtree for spanners, and turn them into regular column content. And, vice versa, if a block is turned into a valid spanner container, we need to check its subtree for column-span:all objects, which may have to be changed from regular column content into spanners. BUG=661761 Committed: https://crrev.com/d97ab241d0580e1a2478e07963faa0b1f0004c9b Cr-Commit-Position: refs/heads/master@{#430005}

Patch Set 1 #

Total comments: 1

Messages

Total messages: 14 (9 generated)
mstensho (USE GERRIT)
An inline continuation and a column spanner walk into a bar. Some time later, a ...
4 years, 1 month ago (2016-11-04 20:09:42 UTC) #7
eae
Not the least bit funny sadly but at least it is well documented! LGTM
4 years, 1 month ago (2016-11-04 20:31:39 UTC) #8
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/2479873002/1
4 years, 1 month ago (2016-11-04 20:33:31 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-04 20:39:30 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 20:42:35 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d97ab241d0580e1a2478e07963faa0b1f0004c9b
Cr-Commit-Position: refs/heads/master@{#430005}

Powered by Google App Engine
This is Rietveld 408576698