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

Issue 302083002: Always give RenderParts a RenderLayer. (Closed)

Created:
6 years, 6 months ago by ojan
Modified:
6 years, 6 months ago
Reviewers:
Ian Vollick, esprehn
CC:
abarth-chromium, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1, jbroman
Visibility:
Public.

Description

Always give RenderParts a RenderLayer. This lays the groundwork for removing scheduleLayerUpdate calls in RenderLayerCompositor for iframes. Instead of changing the layer type when the frame is composited, change it so that the layer type remains ForcedLayer, but the isSelfPainting bit respects the m_compositing bit on RenderLayerCompositor. This exposed a bug in RenderBox::nodeAtPoint where it wouldn't recurse correctly because the child now has a layer, but isn't self-painting. Before we'd never hit this code path with a non-self-painting layer. The rebaselines are all just cases of things getting a layer where they didn't used to. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175436

Patch Set 1 #

Total comments: 2

Patch Set 2 : update expectations #

Patch Set 3 : improve comment #

Patch Set 4 : add win/mac needsrebaselines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3151 lines, -2794 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 chunks +57 lines, -5 lines 0 comments Download
M LayoutTests/compositing/framesets/composited-frame-alignment-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/fast/block/float/4145535Crash-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/frames/002-expected.txt View 1 chunk +21 lines, -18 lines 0 comments Download
M LayoutTests/fast/frames/calculate-fixed-expected.txt View 1 chunk +224 lines, -222 lines 0 comments Download
M LayoutTests/fast/frames/calculate-order-expected.txt View 1 chunk +77 lines, -96 lines 0 comments Download
M LayoutTests/fast/frames/calculate-percentage-expected.txt View 1 chunk +140 lines, -138 lines 0 comments Download
M LayoutTests/fast/frames/calculate-relative-expected.txt View 1 chunk +119 lines, -114 lines 0 comments Download
M LayoutTests/fast/frames/calculate-round-expected.txt View 1 chunk +476 lines, -408 lines 0 comments Download
M LayoutTests/fast/frames/empty-cols-attribute-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/empty-frame-src-expected.txt View 1 chunk +21 lines, -18 lines 0 comments Download
M LayoutTests/fast/frames/frame-length-fractional-expected.txt View 1 chunk +56 lines, -48 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-rotation-hit-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-3d-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-centered-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-hit-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-rotate-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/frame-set-scaling-skew-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/fast/frames/invalid-expected.txt View 1 chunk +217 lines, -186 lines 0 comments Download
M LayoutTests/fast/frames/no-frame-borders-expected.txt View 1 chunk +21 lines, -18 lines 0 comments Download
M LayoutTests/fast/frames/valid-expected.txt View 1 chunk +217 lines, -186 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-001-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-002-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-003-expected.txt View 1 chunk +6 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-004-expected.txt View 1 chunk +6 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-005-expected.txt View 1 chunk +6 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt View 1 chunk +40 lines, -35 lines 0 comments Download
M LayoutTests/platform/linux/editing/pasteboard/pasting-object-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/block/basic/013-expected.txt View 2 chunks +13 lines, -12 lines 0 comments Download
M LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt View 1 chunk +19 lines, -17 lines 0 comments Download
M LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/frames/001-expected.txt View 2 chunks +14 lines, -12 lines 0 comments Download
M LayoutTests/platform/linux/fast/frames/frame-navigation-expected.txt View 1 chunk +23 lines, -21 lines 0 comments Download
M LayoutTests/platform/linux/fast/frames/frame-scrolling-attribute-expected.txt View 1 chunk +104 lines, -96 lines 0 comments Download
M LayoutTests/platform/linux/fast/frames/frameElement-frame-expected.txt View 1 chunk +10 lines, -9 lines 0 comments Download
M LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.txt View 1 chunk +33 lines, -31 lines 0 comments Download
M LayoutTests/platform/linux/fast/loader/text-document-wrapping-expected.txt View 1 chunk +16 lines, -15 lines 0 comments Download
M LayoutTests/platform/linux/fast/parser/001-expected.txt View 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/replaced/007-expected.txt View 2 chunks +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/fast/replaced/border-radius-clip-expected.txt View 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/replaced/replaced-breaking-expected.txt View 2 chunks +4 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt View 1 chunk +40 lines, -35 lines 0 comments Download
M LayoutTests/platform/linux/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt View 1 chunk +8 lines, -7 lines 0 comments Download
M LayoutTests/platform/linux/svg/as-image/img-preserveAspectRatio-support-1-expected.txt View 8 chunks +70 lines, -62 lines 0 comments Download
M LayoutTests/platform/linux/svg/as-image/img-preserveAspectRatio-support-2-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/svg/as-object/object-box-sizing-no-width-height-expected.txt View 1 chunk +28 lines, -24 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/embedding-external-svgs-expected.txt View 2 chunks +45 lines, -44 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/getsvgdocument-expected.txt View 1 1 chunk +20 lines, -18 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-no-size-attributes-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-sizing-expected.txt View 2 chunks +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-sizing-explicit-height-expected.txt View 1 chunk +64 lines, -56 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-sizing-explicit-width-expected.txt View 1 chunk +64 lines, -56 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-sizing-explicit-width-height-expected.txt View 1 chunk +32 lines, -28 lines 0 comments Download
M LayoutTests/platform/linux/svg/custom/object-sizing-no-width-height-expected.txt View 1 chunk +8 lines, -7 lines 0 comments Download
M LayoutTests/platform/linux/svg/hixie/intrinsic/003-expected.txt View 1 chunk +6 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/svg/hixie/text/003-expected.txt View 1 chunk +18 lines, -16 lines 0 comments Download
M LayoutTests/platform/linux/svg/in-html/by-reference-expected.txt View 1 chunk +24 lines, -20 lines 0 comments Download
M LayoutTests/platform/linux/svg/wicd/rightsizing-grid-expected.txt View 2 chunks +265 lines, -248 lines 0 comments Download
M LayoutTests/platform/linux/svg/wicd/sizing-flakiness-expected.txt View 1 chunk +14 lines, -13 lines 0 comments Download
M LayoutTests/platform/linux/svg/wicd/test-rightsizing-a-expected.txt View 3 chunks +26 lines, -24 lines 0 comments Download
M LayoutTests/platform/linux/svg/wicd/test-rightsizing-b-expected.txt View 2 chunks +52 lines, -48 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt View 1 8 chunks +70 lines, -62 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt View 1 chunk +40 lines, -35 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt View 1 1 chunk +19 lines, -18 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt View 1 1 chunk +19 lines, -18 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt View 1 chunk +14 lines, -12 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt View 2 chunks +35 lines, -34 lines 0 comments Download
M LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt View 1 1 chunk +19 lines, -18 lines 0 comments Download
M LayoutTests/svg/zoom/page/zoom-svg-as-object-expected.txt View 1 chunk +7 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderEmbeddedObject.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderEmbeddedObject.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderIFrame.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderPart.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
ojan
The NeedsRebaseline lines conflict with some NeedsManualRebaseline lines, so don't CQ. I'm hoping they'll be ...
6 years, 6 months ago (2014-05-29 23:48:58 UTC) #1
ojan
ping. I'd like to land this so I can test https://codereview.chromium.org/302093002/ on the trybot.
6 years, 6 months ago (2014-06-03 03:08:45 UTC) #2
esprehn
lgtm https://codereview.chromium.org/302083002/diff/1/Source/core/rendering/RenderEmbeddedObject.cpp File Source/core/rendering/RenderEmbeddedObject.cpp (right): https://codereview.chromium.org/302083002/diff/1/Source/core/rendering/RenderEmbeddedObject.cpp#newcode69 Source/core/rendering/RenderEmbeddedObject.cpp:69: // This just use RenderPart::layerTypeRequired, because RenderLayerCompositor typo, ...
6 years, 6 months ago (2014-06-03 03:49:17 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/302083002/1
6 years, 6 months ago (2014-06-03 03:50:09 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 03:50:29 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderEmbeddedObject.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-03 03:50:30 UTC) #6
ojan
The CQ bit was unchecked by ojan@chromium.org
6 years, 6 months ago (2014-06-03 03:50:34 UTC) #7
ojan
This isn't ready to commit since the rebaselines are stale now. Will update tomorrow and ...
6 years, 6 months ago (2014-06-03 03:50:57 UTC) #8
ojan
Had to add back in RenderEmbeddedObject::layerTypeRequired. It was just removed in https://codereview.chromium.org/309763002.
6 years, 6 months ago (2014-06-03 18:26:10 UTC) #9
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 6 months ago (2014-06-03 18:26:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/302083002/40001
6 years, 6 months ago (2014-06-03 18:28:50 UTC) #11
ojan
The CQ bit was unchecked by ojan@chromium.org
6 years, 6 months ago (2014-06-03 18:57:49 UTC) #12
ojan
Sigh...I'm conflicting with other NeedsRebaseline lines. drpanke: FYI, this is the sort of thing that ...
6 years, 6 months ago (2014-06-03 18:58:55 UTC) #13
Dirk Pranke
On 2014/06/03 18:58:55, ojan wrote: > drpanke: FYI, this is the sort of thing that ...
6 years, 6 months ago (2014-06-03 19:19:09 UTC) #14
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 6 months ago (2014-06-03 22:48:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/302083002/40001
6 years, 6 months ago (2014-06-03 22:48:47 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-04 01:48:16 UTC) #17
ojan
The CQ bit was unchecked by ojan@chromium.org
6 years, 6 months ago (2014-06-04 01:49:21 UTC) #18
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 6 months ago (2014-06-04 01:50:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/302083002/50001
6 years, 6 months ago (2014-06-04 01:50:30 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 03:25:26 UTC) #21
Message was sent while issue was closed.
Change committed as 175436

Powered by Google App Engine
This is Rietveld 408576698