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

Issue 2065233002: Force flattening for elements with non-initial value of opacity (Closed)

Created:
4 years, 6 months ago by trchen
Modified:
4 years, 6 months ago
Reviewers:
chrishtr
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force flattening for elements with non-initial value of opacity As specified in latest editor's draft of [css-transforms], non-initial value of opacity should force the used value transform-style to become flat. Approved Intent to Implement and Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/eBIp90_il1o BUG=617798 Committed: https://crrev.com/696f27afa62eb426545c29cefe0b0b43feeafe94 Cr-Commit-Position: refs/heads/master@{#401197}

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix tests #

Patch Set 3 : get rid of early out #

Patch Set 4 : fix assert. (overflow needs to be adjusted prior to querying used transform-style) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -140 lines) Patch
M third_party/WebKit/LayoutTests/compositing/geometry/preserve-3d-switching.html View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow-trumps-transform-style.html View 1 1 chunk +43 lines, -33 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/overflow-trumps-transform-style-expected.html View 1 1 chunk +45 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/overflow-trumps-transform-style-expected.txt View 1 2 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/compositing/geometry/preserve-3d-switching-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/platform/android/compositing/overflow-trumps-transform-style-expected.txt View 1 2 1 chunk +0 lines, -43 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/preserve-3d-switching-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/compositing/geometry/preserve-3d-switching-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/transforms/opacity-forces-flatten.html View 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/transforms/opacity-forces-flatten-expected.html View 1 chunk +45 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 3 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 29 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065233002/1
4 years, 6 months ago (2016-06-14 21:17:08 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/239025)
4 years, 6 months ago (2016-06-14 22:39:15 UTC) #6
chrishtr
https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1265 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1265: if (transformStyle3D() == TransformStyle3DFlat) Does this really matter for ...
4 years, 6 months ago (2016-06-15 16:06:41 UTC) #7
trchen
https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1265 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1265: if (transformStyle3D() == TransformStyle3DFlat) On 2016/06/15 16:06:41, chrishtr wrote: ...
4 years, 6 months ago (2016-06-18 00:27:09 UTC) #8
chrishtr
lgtm https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2065233002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1265 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1265: if (transformStyle3D() == TransformStyle3DFlat) On 2016/06/18 at 00:27:09, ...
4 years, 6 months ago (2016-06-18 08:22:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065233002/40001
4 years, 6 months ago (2016-06-20 22:22:22 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/247067)
4 years, 6 months ago (2016-06-20 23:17:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065233002/40001
4 years, 6 months ago (2016-06-21 21:38:27 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/242795)
4 years, 6 months ago (2016-06-21 23:03:43 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065233002/60001
4 years, 6 months ago (2016-06-22 02:13:33 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 03:33:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065233002/60001
4 years, 6 months ago (2016-06-22 03:36:21 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-22 03:40:45 UTC) #27
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 03:42:05 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/696f27afa62eb426545c29cefe0b0b43feeafe94
Cr-Commit-Position: refs/heads/master@{#401197}

Powered by Google App Engine
This is Rietveld 408576698