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

Issue 260963012: Override repaintTreeAfterLayout for RenderSVGModelObject (Closed)

Created:
6 years, 7 months ago by fs
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, dsinclair, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink
Visibility:
Public.

Description

Override repaintTreeAfterLayout for RenderSVGModelObject RenderSVGModelObject needs to have an overload for said method, because it inherits directly from RenderObject. Also make sure RenderSVGBlock disables use of LayoutState. BUG=369486 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173372

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add LayoutStateDisablers. #

Patch Set 3 : Update TestExpectations. #

Total comments: 7

Patch Set 4 : Relocate scrollbar repaint; Hoist state-disablers; Drop braces. #

Patch Set 5 : Drop (now) unused include. #

Patch Set 6 : Update TestExpectations. #

Total comments: 12

Patch Set 7 : Additional tweaks. #

Total comments: 4

Patch Set 8 : Rebase; Adjust TC. #

Patch Set 9 : Adjust TC again for increased resilience to platform differences. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +209 lines, -0 lines 0 comments Download
A LayoutTests/svg/repaint/shape-transform-change.html View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
A + LayoutTests/svg/repaint/shape-transform-change-expected.txt View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGBlock.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGBlock.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 2 3 4 5 6 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dsinclair
https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations#newcode1534 LayoutTests/TestExpectations:1534: I'm seeing a bunch of svg/dynamic-updates expectation changes for ...
6 years, 7 months ago (2014-05-02 15:19:19 UTC) #1
fs
https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations#newcode1534 LayoutTests/TestExpectations:1534: On 2014/05/02 15:19:19, dsinclair wrote: > I'm seeing a ...
6 years, 7 months ago (2014-05-02 15:36:09 UTC) #2
dsinclair
https://codereview.chromium.org/260963012/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (right): https://codereview.chromium.org/260963012/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp#newcode145 Source/core/rendering/svg/RenderSVGModelObject.cpp:145: RenderObject::repaintTreeAfterLayout(); On 2014/05/02 15:36:09, fs wrote: > On 2014/05/02 ...
6 years, 7 months ago (2014-05-02 15:40:26 UTC) #3
fs
https://codereview.chromium.org/260963012/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (right): https://codereview.chromium.org/260963012/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp#newcode145 Source/core/rendering/svg/RenderSVGModelObject.cpp:145: RenderObject::repaintTreeAfterLayout(); On 2014/05/02 15:40:26, dsinclair wrote: > On 2014/05/02 ...
6 years, 7 months ago (2014-05-02 15:53:51 UTC) #4
fs
Uploaded version w/ state-disablers. https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/260963012/diff/1/LayoutTests/TestExpectations#newcode1534 LayoutTests/TestExpectations:1534: On 2014/05/02 15:36:09, fs wrote: ...
6 years, 7 months ago (2014-05-02 16:09:57 UTC) #5
dsinclair
non-owner lgtm.
6 years, 7 months ago (2014-05-02 18:01:01 UTC) #6
leviw_travelin_and_unemployed
https://codereview.chromium.org/260963012/diff/40001/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (right): https://codereview.chromium.org/260963012/diff/40001/Source/core/rendering/svg/RenderSVGModelObject.cpp#newcode130 Source/core/rendering/svg/RenderSVGModelObject.cpp:130: // Note: This is a reduced version of RenderBox::repaintTreeAfterLayout(). ...
6 years, 7 months ago (2014-05-02 18:30:15 UTC) #7
fs
https://codereview.chromium.org/260963012/diff/40001/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (right): https://codereview.chromium.org/260963012/diff/40001/Source/core/rendering/svg/RenderSVGModelObject.cpp#newcode150 Source/core/rendering/svg/RenderSVGModelObject.cpp:150: if (onlyNeededPositionedMovementLayout() && compositingState() != PaintsIntoOwnBacking) { On 2014/05/02 ...
6 years, 7 months ago (2014-05-05 08:27:11 UTC) #8
fs
leviw: PTAL.
6 years, 7 months ago (2014-05-05 15:41:47 UTC) #9
Julien - ping for review
https://codereview.chromium.org/260963012/diff/80002/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/260963012/diff/80002/LayoutTests/TestExpectations#newcode912 LayoutTests/TestExpectations:912: crbug.com/369486 svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr.html [ NeedsRebaseline ] What are the differences? ...
6 years, 7 months ago (2014-05-05 16:34:36 UTC) #10
fs
https://codereview.chromium.org/260963012/diff/80002/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/260963012/diff/80002/LayoutTests/TestExpectations#newcode912 LayoutTests/TestExpectations:912: crbug.com/369486 svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr.html [ NeedsRebaseline ] On 2014/05/05 16:34:37, Julien ...
6 years, 7 months ago (2014-05-05 17:33:06 UTC) #11
leviw_travelin_and_unemployed
LGTM. https://codereview.chromium.org/260963012/diff/110001/Source/core/rendering/RenderView.h File Source/core/rendering/RenderView.h (right): https://codereview.chromium.org/260963012/diff/110001/Source/core/rendering/RenderView.h#newcode366 Source/core/rendering/RenderView.h:366: LayoutStateDisabler(const RenderObject& root) This will end up conflicting ...
6 years, 7 months ago (2014-05-05 18:36:48 UTC) #12
Julien - ping for review
lgtm https://codereview.chromium.org/260963012/diff/110001/LayoutTests/svg/repaint/shape-transform-change.html File LayoutTests/svg/repaint/shape-transform-change.html (right): https://codereview.chromium.org/260963012/diff/110001/LayoutTests/svg/repaint/shape-transform-change.html#newcode18 LayoutTests/svg/repaint/shape-transform-change.html:18: <!-- Pass if there's a green 200x200 (px) ...
6 years, 7 months ago (2014-05-05 18:39:07 UTC) #13
fs
https://codereview.chromium.org/260963012/diff/110001/LayoutTests/svg/repaint/shape-transform-change.html File LayoutTests/svg/repaint/shape-transform-change.html (right): https://codereview.chromium.org/260963012/diff/110001/LayoutTests/svg/repaint/shape-transform-change.html#newcode18 LayoutTests/svg/repaint/shape-transform-change.html:18: <!-- Pass if there's a green 200x200 (px) rectangle, ...
6 years, 7 months ago (2014-05-06 07:53:38 UTC) #14
fs
The CQ bit was checked by fs@opera.com
6 years, 7 months ago (2014-05-06 09:18:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/260963012/150001
6 years, 7 months ago (2014-05-06 09:19:10 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-06 10:11:47 UTC) #17
Message was sent while issue was closed.
Change committed as 173372

Powered by Google App Engine
This is Rietveld 408576698