Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Issue 2318243002: Promote opaque fixed position elements. (Closed)

Created:
4 years, 3 months ago by flackr
Modified:
4 years, 2 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Promote opaque fixed position elements. BUG=626200 TEST=CompositedLayerMappingTest.PromoteOpaqueFixedPosition CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/5c0e46df680c3284a99ae05aafaf52078674ea2d Cr-Commit-Position: refs/heads/master@{#421986}

Patch Set 1 #

Patch Set 2 : Remove early out for fixed position in opaque check and rebase tests. #

Patch Set 3 : Add CompositedLayerMappingTest.PromoteOpaqueFixedPosition unit test. #

Patch Set 4 : Put behind the flag CompositeOpaqueFixedPosition #

Total comments: 1

Patch Set 5 : Merge with master #

Total comments: 2

Patch Set 6 : Restore flags after test. #

Patch Set 7 : Use ScopedRuntimeEnabledFeatureForTest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp View 1 2 3 4 5 6 2 chunks +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
flackr
Hey, This change adds automatic promotion for opaque fixed position elements. I still have some ...
4 years, 3 months ago (2016-09-23 17:45:03 UTC) #9
chrishtr
Please put this behind a new flag.
4 years, 3 months ago (2016-09-23 17:49:38 UTC) #11
flackr
On 2016/09/23 at 17:49:38, chrishtr wrote: > Please put this behind a new flag. I ...
4 years, 3 months ago (2016-09-23 18:19:22 UTC) #12
flackr
https://codereview.chromium.org/2318243002/diff/60001/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/2318243002/diff/60001/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp#newcode172 third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp:172: && layer->layoutObject()->style()->position() != StickyPosition) This is just an early ...
4 years, 3 months ago (2016-09-23 18:19:35 UTC) #13
flackr
ping?
4 years, 2 months ago (2016-09-29 13:38:34 UTC) #14
chrishtr
https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp (right): https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp#newcode626 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp:626: RuntimeEnabledFeatures::setCompositeOpaqueFixedPositionEnabled(true); Restore these flags at the end of the ...
4 years, 2 months ago (2016-09-29 17:25:25 UTC) #15
flackr
https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp (right): https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp#newcode626 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp:626: RuntimeEnabledFeatures::setCompositeOpaqueFixedPositionEnabled(true); On 2016/09/29 at 17:25:25, chrishtr wrote: > Restore ...
4 years, 2 months ago (2016-09-29 18:01:28 UTC) #16
chrishtr
On 2016/09/29 at 18:01:28, flackr wrote: > https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp > File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp (right): > > https://codereview.chromium.org/2318243002/diff/80001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp#newcode626 ...
4 years, 2 months ago (2016-09-29 18:20:34 UTC) #17
flackr
On 2016/09/29 at 18:20:34, chrishtr wrote: > On 2016/09/29 at 18:01:28, flackr wrote: > > ...
4 years, 2 months ago (2016-09-29 18:43:09 UTC) #18
chrishtr
lgtm
4 years, 2 months ago (2016-09-29 22:33:37 UTC) #20
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/2318243002/120001
4 years, 2 months ago (2016-09-29 22:34:02 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-09-30 00:12:29 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 00:15:42 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5c0e46df680c3284a99ae05aafaf52078674ea2d
Cr-Commit-Position: refs/heads/master@{#421986}

Powered by Google App Engine
This is Rietveld 408576698