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

Issue 1819603003: Shift flowthread-to-visual coordinate space conversion one level up in the tree. (Closed)

Created:
4 years, 9 months ago by mstensho (USE GERRIT)
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, mstensho (USE GERRIT), pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shift flowthread-to-visual coordinate space conversion one level up in the tree. The conversion now takes place between the flow thread and its parent multicol container, rather than between the flow thread and its children. This is both conceptually more correct, and it also matches what mapToVisibleRectInAncestorSpace() already does. Having all machineries do this at the same place in the tree is what fixes the editing-specific bug 596070. As for layer clipping bug 527709, it just so happens that we specify the flow thread as ancestor in mapLocalToAncestor(), which is invoked via localToAncestorPoint() from PaintLayerClipper::calculateClipRects(). PaintLayerClipper does its work *before* fragments have been collected and set up for a given layer, so it doesn't want mapLocalToAncestor() or anyone to change to the visual coordinate space. BUG=527709, 596070 R=leviw@chromium.org Committed: https://crrev.com/8796ca1186b3ff3e3da105b3ee41f1698be01821 Cr-Commit-Position: refs/heads/master@{#382339}

Patch Set 1 #

Patch Set 2 : Update unit tests. #

Messages

Total messages: 7 (2 generated)
leviw_travelin_and_unemployed
Beautiful. LGTM.
4 years, 9 months ago (2016-03-21 17:18:48 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819603003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819603003/20001
4 years, 9 months ago (2016-03-21 17:19:27 UTC) #3
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-21 18:43:27 UTC) #4
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/8796ca1186b3ff3e3da105b3ee41f1698be01821 Cr-Commit-Position: refs/heads/master@{#382339}
4 years, 9 months ago (2016-03-21 18:44:23 UTC) #6
mstensho (USE GERRIT)
4 years, 8 months ago (2016-04-18 18:41:14 UTC) #7
Message was sent while issue was closed.
This also fixed bug 470978.

Powered by Google App Engine
This is Rietveld 408576698