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

Issue 1987283003: Use counters for opacity with transform-style:preserve-3d (Closed)

Created:
4 years, 7 months ago by trchen
Modified:
4 years, 7 months ago
Reviewers:
chrishtr, Steven Holte
CC:
asvitkine+watch_chromium.org, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use counters for opacity with transform-style:preserve-3d This CL add a use counter for elements that have opacity, preserve-3d, and 3D-transformed descendants at the same time. This is done as a part of CSS transform spec research to collect statistics about compatibility quirks. Currently all vendors implement this corner case as applying opacity to each descendant planes separately, but latest W3C editor's draft recommends forcing transform-style to flat. BUG=612913, 598917 Committed: https://crrev.com/9d8ea9509008c684392a42d688dfd3ababdf9f66 Cr-Commit-Position: refs/heads/master@{#394920}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 3

Patch Set 3 : revised #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -11 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 4 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
trchen
4 years, 7 months ago (2016-05-18 22:06:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987283003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987283003/1
4 years, 7 months ago (2016-05-18 22:06:57 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/8006) ios-device-gn on ...
4 years, 7 months ago (2016-05-18 22:09:46 UTC) #6
trchen
+holte for histogram
4 years, 7 months ago (2016-05-18 22:23:33 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987283003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987283003/20001
4 years, 7 months ago (2016-05-18 22:23:33 UTC) #10
chrishtr
https://codereview.chromium.org/1987283003/diff/20001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (right): https://codereview.chromium.org/1987283003/diff/20001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#newcode108 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:108: if (style.preserves3D() && style.hasOpacity() && layer.has3DTransformedDescendant()) Does this account ...
4 years, 7 months ago (2016-05-18 23:16:03 UTC) #11
chrishtr
https://codereview.chromium.org/1987283003/diff/20001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (right): https://codereview.chromium.org/1987283003/diff/20001/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#newcode108 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:108: if (style.preserves3D() && style.hasOpacity() && layer.has3DTransformedDescendant()) On 2016/05/18 at ...
4 years, 7 months ago (2016-05-18 23:22:10 UTC) #12
Steven Holte
lgtm
4 years, 7 months ago (2016-05-18 23:53:45 UTC) #14
chrishtr
lgtm
4 years, 7 months ago (2016-05-19 00:01:58 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987283003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987283003/40001
4 years, 7 months ago (2016-05-19 00:32:24 UTC) #17
trchen
The 3rd patchset fixes the assertion failure by invoking update3DTransformedDescendantStatus() from CLM. I don't think ...
4 years, 7 months ago (2016-05-19 00:33:29 UTC) #18
chrishtr
https://codereview.chromium.org/1987283003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/1987283003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode559 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:559: m_owningLayer.update3DTransformedDescendantStatus(); This is a linear-time operation in the depth ...
4 years, 7 months ago (2016-05-19 00:51:35 UTC) #19
trchen
On 2016/05/19 00:51:35, chrishtr wrote: > https://codereview.chromium.org/1987283003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > File > third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > (right): > > ...
4 years, 7 months ago (2016-05-19 01:22:06 UTC) #20
chrishtr
On 2016/05/19 at 01:22:06, trchen wrote: > On 2016/05/19 00:51:35, chrishtr wrote: > > https://codereview.chromium.org/1987283003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ...
4 years, 7 months ago (2016-05-19 01:59:58 UTC) #21
chrishtr
lgtm
4 years, 7 months ago (2016-05-19 02:00:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987283003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987283003/40001
4 years, 7 months ago (2016-05-19 02:00:55 UTC) #26
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/frame/UseCounter.h: While running git apply --index -3 -p1; error: patch ...
4 years, 7 months ago (2016-05-19 03:56:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987283003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987283003/60001
4 years, 7 months ago (2016-05-19 21:19:33 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 00:16:01 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 00:17:11 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d8ea9509008c684392a42d688dfd3ababdf9f66
Cr-Commit-Position: refs/heads/master@{#394920}

Powered by Google App Engine
This is Rietveld 408576698