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

Issue 175263002: Implement will-change-based creation of layers, stacking contexts, and containing blocks (Closed)

Created:
6 years, 10 months ago by ajuma
Modified:
6 years, 9 months ago
Reviewers:
Ian Vollick, jamesr, esprehn
CC:
blink-reviews, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, ed+blinkwatch_opera.com, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, pdr., rune+blink, rwlbuis, Vangelis Kokkevis, ernstm
Visibility:
Public.

Description

Implement will-change-based creation of layers, stacking contexts, and containing blocks This uses an element's will-change value to determine whether it should be composited, create a stacking context, or become a containing block. will-change is currently behind a runtime flag. Intent-to-implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/M62y2nKZ-gE Spec: http://tabatkins.github.io/specs/css-will-change/ BUG=313532 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168134

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Always create a stacking context for will-change:position #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+872 lines, -35 lines) Patch
A LayoutTests/compositing/will-change/composited-layers.html View 1 2 3 4 5 1 chunk +108 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/composited-layers-expected.txt View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/containing-block-added.html View 1 2 3 1 chunk +53 lines, -0 lines 1 comment Download
A LayoutTests/compositing/will-change/containing-block-added-expected.html View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/containing-block-creation.html View 1 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/containing-block-creation-expected.html View 1 1 chunk +51 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/containing-block-removed.html View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/containing-block-removed-expected.html View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/stacking-context-creation.html View 1 1 chunk +173 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/stacking-context-creation-expected.html View 1 1 chunk +159 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 4 5 3 chunks +37 lines, -0 lines 4 comments Download
M Source/core/rendering/RenderBox.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBoxModelObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableRow.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.cpp View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download
M Source/platform/graphics/CompositingReasons.h View 1 2 3 4 3 chunks +36 lines, -31 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
ajuma
6 years, 10 months ago (2014-02-26 15:54:13 UTC) #1
Ian Vollick
https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp#newcode175 Source/core/css/resolver/StyleAdjuster.cpp:175: case CSSPropertyZIndex: z-index only creates a sc if the ...
6 years, 10 months ago (2014-02-26 16:21:12 UTC) #2
ajuma
https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp#newcode175 Source/core/css/resolver/StyleAdjuster.cpp:175: case CSSPropertyZIndex: On 2014/02/26 16:21:12, Ian Vollick wrote: > ...
6 years, 10 months ago (2014-02-26 17:00:30 UTC) #3
Ian Vollick
On 2014/02/26 17:00:30, ajuma wrote: > https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp > File Source/core/css/resolver/StyleAdjuster.cpp (right): > > https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp#newcode175 > ...
6 years, 10 months ago (2014-02-26 18:30:25 UTC) #4
Ian Vollick
On 2014/02/26 17:00:30, ajuma wrote: > https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp > File Source/core/css/resolver/StyleAdjuster.cpp (right): > > https://codereview.chromium.org/175263002/diff/220001/Source/core/css/resolver/StyleAdjuster.cpp#newcode175 > ...
6 years, 10 months ago (2014-02-26 18:30:28 UTC) #5
ajuma
+jamesr for Source/platform
6 years, 10 months ago (2014-02-26 18:36:57 UTC) #6
jamesr
/platform/ lgtm, but the style change seems a bit iffy and should be looked at ...
6 years, 10 months ago (2014-02-26 23:56:21 UTC) #7
ajuma
https://codereview.chromium.org/175263002/diff/240001/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/175263002/diff/240001/Source/core/css/resolver/StyleAdjuster.cpp#newcode176 Source/core/css/resolver/StyleAdjuster.cpp:176: case CSSPropertyPosition: On 2014/02/26 23:56:22, jamesr wrote: > this ...
6 years, 10 months ago (2014-02-27 00:05:46 UTC) #8
ajuma
esprehn, PTAL at the style change (see jamesr's comments above).
6 years, 9 months ago (2014-02-27 19:40:24 UTC) #9
esprehn
Sadly the style change is correct unless you want to write a unit test. Ideally ...
6 years, 9 months ago (2014-02-27 20:58:30 UTC) #10
ajuma
On 2014/02/27 20:58:30, esprehn wrote: > btw I don't think your description is correct, do ...
6 years, 9 months ago (2014-02-27 21:56:23 UTC) #11
esprehn
lgtm, note that we need to get a spec change for this. The alternative is ...
6 years, 9 months ago (2014-02-27 22:05:27 UTC) #12
ajuma
On 2014/02/27 22:05:27, esprehn wrote: > lgtm, note that we need to get a spec ...
6 years, 9 months ago (2014-02-27 22:19:46 UTC) #13
ajuma
The CQ bit was checked by ajuma@chromium.org
6 years, 9 months ago (2014-02-27 22:56:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/175263002/240001
6 years, 9 months ago (2014-02-27 22:56:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/175263002/240001
6 years, 9 months ago (2014-02-28 01:07:04 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 03:16:59 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=29557
6 years, 9 months ago (2014-02-28 03:17:00 UTC) #18
ajuma
The CQ bit was checked by ajuma@chromium.org
6 years, 9 months ago (2014-02-28 14:03:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/175263002/240001
6 years, 9 months ago (2014-02-28 14:04:07 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 15:05:51 UTC) #21
Message was sent while issue was closed.
Change committed as 168134

Powered by Google App Engine
This is Rietveld 408576698