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

Issue 2750153002: getClientRects() shouldn't clip against any ancestors. (Closed)

Created:
3 years, 9 months ago by mstensho (USE GERRIT)
Modified:
3 years, 9 months 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/heads/master
Project:
chromium
Visibility:
Public.

Description

getClientRects() shouldn't clip against any ancestors. Inside multicol we used to clip against the column box of each fragment. Since fragments don't really exist in our implementation (we rather have this tall flow thread which we slice into columns, when appropriate), we still need to clip in the block direction, to properly fake the fragments. Removed fragmentainerInFlowThread(), since it's no longer used. Added a parameter to the clip rectangle calculation code, to be able to only limit the clip rectangles in the block direction. BUG=685927 Review-Url: https://codereview.chromium.org/2750153002 Cr-Commit-Position: refs/heads/master@{#458109} Committed: https://chromium.googlesource.com/chromium/src/+/350e4e8fb42a8010e96506fc8bbcab6ca75b5639

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase master #

Patch Set 3 : Document tests. Use width/height instead of right/bottom, since that's easier to follow. #

Messages

Total messages: 14 (8 generated)
mstensho (USE GERRIT)
3 years, 9 months ago (2017-03-15 22:16:45 UTC) #6
eae
Do you want to include a test for getBoundingClientRect as well to ensure it still ...
3 years, 9 months ago (2017-03-18 20:23:25 UTC) #7
mstensho (USE GERRIT)
I also added a test for getBoundingClientRect(), but I'm not sure how useful it is, ...
3 years, 9 months ago (2017-03-20 09:38:22 UTC) #8
eae
Thanks and let's keep the test for now, there are some cases where we've seen ...
3 years, 9 months ago (2017-03-20 15:48:10 UTC) #9
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/2750153002/40001
3 years, 9 months ago (2017-03-20 15:48:47 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 17:27:34 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/350e4e8fb42a8010e96506fc8bbc...

Powered by Google App Engine
This is Rietveld 408576698