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

Issue 1837033002: Invalidate objects when their content box changes dimensions. (Closed)

Created:
4 years, 8 months ago by rhogan
Modified:
4 years, 8 months ago
Reviewers:
Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_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

Invalidate border-box sized objects when their content box changes dimensions. If an object uses box-sizing:border-box then we need to invalidate it for painting when its content box dimensions change. Otherwise we won't paint changes in the size of the content box. BUG=597194 Committed: https://crrev.com/4245c9bdfe18f0331a8e064c935f2ffacf0ec906 Cr-Commit-Position: refs/heads/master@{#384983}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updated #

Total comments: 1

Patch Set 3 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -12 lines) Patch
A third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation-expected.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/box-sizing-expected.txt View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/box-sizing-padding-keeping-size-expected.txt View 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 3 chunks +11 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
rhogan
4 years, 8 months ago (2016-04-03 15:03:06 UTC) #2
Xianzhu
https://codereview.chromium.org/1837033002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html File third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html (right): https://codereview.chromium.org/1837033002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html#newcode5 third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html:5: transition: padding; Is this needed? https://codereview.chromium.org/1837033002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html#newcode12 third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html:12: <p>crbug.com/597194: There ...
4 years, 8 months ago (2016-04-04 03:55:45 UTC) #4
rhogan
On 2016/04/04 at 03:55:45, wangxianzhu wrote: > https://codereview.chromium.org/1837033002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html#newcode17 > third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html:17: document.body.offsetTop; > Nit: No need ...
4 years, 8 months ago (2016-04-04 18:05:24 UTC) #5
Xianzhu
lgtm https://codereview.chromium.org/1837033002/diff/20001/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html File third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html (right): https://codereview.chromium.org/1837033002/diff/20001/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html#newcode18 third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html:18: }, true); Nit: align with line 16.
4 years, 8 months ago (2016-04-04 18:20:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1837033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1837033002/40001
4 years, 8 months ago (2016-04-04 18:25:21 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-04 19:44:04 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 19:45:29 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4245c9bdfe18f0331a8e064c935f2ffacf0ec906
Cr-Commit-Position: refs/heads/master@{#384983}

Powered by Google App Engine
This is Rietveld 408576698