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

Issue 2761863002: Add StyleDifference::needsVisualRectUpdate (Closed)

Created:
3 years, 9 months ago by Xianzhu
Modified:
3 years, 9 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add StyleDifference::needsVisualRectUpdate It's set when a style change will change visual rect (without changing layout, as visual rect update is implied by layout change). BTW optimized paint invalidation of box with resizer. We no longer force full paint invalidation for box with resizer when resized. The resizer will be invlaidated in PaintInvalidationCapableScrollableArea if needed. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2761863002 Cr-Commit-Position: refs/heads/master@{#458313} Committed: https://chromium.googlesource.com/chromium/src/+/4e0d0f9ddd68e59dccda0a8c9a096c1813a1bd44

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 4

Patch Set 4 : - #

Patch Set 5 : Still keep visibility change detection for full paint invalidation. Will optimize in later CLs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -29 lines) Patch
M third_party/WebKit/LayoutTests/paint/invalidation/textarea-appearance-none-resize-handle-expected.txt View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 3 chunks +23 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleDifference.h View 5 chunks +13 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (18 generated)
Xianzhu
3 years, 9 months ago (2017-03-20 20:36:32 UTC) #9
pdr.
https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1015 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1015: if (visibility() != other.visibility()) Where was this logic before ...
3 years, 9 months ago (2017-03-20 21:23:04 UTC) #10
Xianzhu
https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1015 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1015: if (visibility() != other.visibility()) On 2017/03/20 21:23:04, pdr. wrote: ...
3 years, 9 months ago (2017-03-20 22:26:35 UTC) #11
pdr.
On 2017/03/20 at 22:26:35, wangxianzhu wrote: > https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp > File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): > > https://codereview.chromium.org/2761863002/diff/40001/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1015 ...
3 years, 9 months ago (2017-03-20 22:29:17 UTC) #12
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/2761863002/60001
3 years, 9 months ago (2017-03-20 22:34:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/412575)
3 years, 9 months ago (2017-03-20 23:57:57 UTC) #16
wkorman
On 2017/03/20 23:57:57, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-21 00:20:03 UTC) #17
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/2761863002/80001
3 years, 9 months ago (2017-03-21 01:07:00 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/410833)
3 years, 9 months ago (2017-03-21 01:57:56 UTC) #22
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/2761863002/80001
3 years, 9 months ago (2017-03-21 02:09:33 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 9 months ago (2017-03-21 03:08:05 UTC) #26
pdr.
On 2017/03/21 at 03:08:05, commit-bot wrote: > Try jobs failed on following builders: > linux_layout_tests_slimming_paint_v2 ...
3 years, 9 months ago (2017-03-21 03:11:14 UTC) #27
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/2761863002/80001
3 years, 9 months ago (2017-03-21 03:43:43 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/4e0d0f9ddd68e59dccda0a8c9a096c1813a1bd44
3 years, 9 months ago (2017-03-21 05:01:35 UTC) #32
Xianzhu
3 years, 9 months ago (2017-03-27 16:07:49 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2772353002/ by wangxianzhu@chromium.org.

The reason for reverting is: BUG=702748.

Powered by Google App Engine
This is Rietveld 408576698