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

Issue 612323011: Use fragmented bounding box for hit-test/paint clipping. (Closed)

Created:
6 years, 2 months ago by rune
Modified:
6 years, 2 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use fragmented bounding box for hit-test/paint clipping. When calculating the bounding box used for hit testing and paint clipping, use the visual bounding box from the union of the fragments instead of the flow thread coordinates. The physicalBoundingBox method returned a bounding box in flow thread coordinates and not visual coordinates. Rename it to boundingBox and introduce a fragmentedBoundingBox to find the visual one. Fixed a bug negation bug in previously unused convertToLayerCoords that takes a LayoutRect. This fixes the regressions introduced by 18e0c42d. R=mstensho@opera.com BUG=359877 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183251

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fixed review issues #

Patch Set 3 : Calculate offset from enclosingPaginationLayer instead of compensating #

Total comments: 2

Patch Set 4 : Undid renaming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -10 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 3 chunks +28 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
rune
6 years, 2 months ago (2014-10-02 09:59:59 UTC) #1
rune
6 years, 2 months ago (2014-10-02 10:41:26 UTC) #3
mstensho (USE GERRIT)
lgtm, but should wait for feedback from abarth and/or jchaffraix.
6 years, 2 months ago (2014-10-02 10:57:52 UTC) #4
andersr
https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp#newcode2248 Source/core/rendering/RenderLayer.cpp:2248: LayoutRect RenderLayer::fragmentedBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot) const Is ...
6 years, 2 months ago (2014-10-02 11:01:22 UTC) #6
rune
https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp#newcode2248 Source/core/rendering/RenderLayer.cpp:2248: LayoutRect RenderLayer::fragmentedBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot) const On ...
6 years, 2 months ago (2014-10-02 11:17:34 UTC) #7
mstensho (USE GERRIT)
Anders found a regression. Please disregard my previous "looks good to me". https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp ...
6 years, 2 months ago (2014-10-02 12:43:59 UTC) #8
rune
https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/612323011/diff/1/Source/core/rendering/RenderLayer.cpp#newcode2248 Source/core/rendering/RenderLayer.cpp:2248: LayoutRect RenderLayer::fragmentedBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot) const On ...
6 years, 2 months ago (2014-10-03 09:15:46 UTC) #9
Julien - ping for review
lgtm https://codereview.chromium.org/612323011/diff/40001/Source/core/rendering/RenderLayer.h File Source/core/rendering/RenderLayer.h (left): https://codereview.chromium.org/612323011/diff/40001/Source/core/rendering/RenderLayer.h#oldcode232 Source/core/rendering/RenderLayer.h:232: LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const RenderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot) const; ...
6 years, 2 months ago (2014-10-03 21:38:49 UTC) #10
rune
https://codereview.chromium.org/612323011/diff/40001/Source/core/rendering/RenderLayer.h File Source/core/rendering/RenderLayer.h (left): https://codereview.chromium.org/612323011/diff/40001/Source/core/rendering/RenderLayer.h#oldcode232 Source/core/rendering/RenderLayer.h:232: LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const RenderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot) const; On ...
6 years, 2 months ago (2014-10-06 07:09:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/612323011/60001
6 years, 2 months ago (2014-10-06 07:11:31 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-06 08:10:52 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 183251

Powered by Google App Engine
This is Rietveld 408576698