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

Issue 2593633002: Need to be inside the flow thread before converting a visual point. (Closed)

Created:
4 years ago by mstensho (USE GERRIT)
Modified:
4 years ago
Reviewers:
eae, szager1
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Need to be inside the flow thread before converting a visual point. Before we can convert from a visual point to a flow thread point, we need the input point to be exactly relative to the flow thread, or we might end up mapping it to the wrong column. In other words, we need to add the flow thread object's location before converting into the flow thread coordinate space. While the flow thread indeed is at 0,0 (or at least close enough to 0,0) relatively to the multicol container in very many cases, this isn't true when the multicol container is in rtl writing-mode, or when it's scrollable, or even when the multicol container has borders and/or padding. BUG=663062 Committed: https://crrev.com/797ecc9d67798296b6c8fd2ced17f4716ccbb111 Cr-Commit-Position: refs/heads/master@{#439855}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -9 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 2 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp View 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
mstensho (USE GERRIT)
4 years ago (2016-12-20 15:24:55 UTC) #6
szager1
lgtm, good catch
4 years ago (2016-12-20 17:55:50 UTC) #7
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/2593633002/1
4 years ago (2016-12-20 18:43:04 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-20 18:50:49 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-20 18:54:07 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/797ecc9d67798296b6c8fd2ced17f4716ccbb111
Cr-Commit-Position: refs/heads/master@{#439855}

Powered by Google App Engine
This is Rietveld 408576698