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

Issue 348493003: Don't force full invalidation on box-sizing change (Closed)

Created:
6 years, 6 months ago by Xianzhu
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Don't force full invalidation on box-sizing change The renderer can already correctly handle invalidations of geometry changes caused by box-sizing change. BUG=375876 TEST=fast/repaint/box-sizing.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176716

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Update test expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
A LayoutTests/fast/repaint/box-sizing.html View 1 chunk +22 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/box-sizing-expected.txt View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Xianzhu
6 years, 6 months ago (2014-06-19 01:00:31 UTC) #1
esprehn
This lgtm, but can you explain in the change description why it's okay not to ...
6 years, 6 months ago (2014-06-20 08:15:15 UTC) #2
Xianzhu
Done modifying description. https://codereview.chromium.org/348493003/diff/1/LayoutTests/fast/repaint/box-sizing-expected.txt File LayoutTests/fast/repaint/box-sizing-expected.txt (right): https://codereview.chromium.org/348493003/diff/1/LayoutTests/fast/repaint/box-sizing-expected.txt#newcode12 LayoutTests/fast/repaint/box-sizing-expected.txt:12: (rect 0.00 80.00 440.00 20.00) On ...
6 years, 6 months ago (2014-06-20 16:06:17 UTC) #3
Xianzhu
Can't CQ because it needs https://codereview.chromium.org/312193004/ to work properly.
6 years, 6 months ago (2014-06-20 17:06:14 UTC) #4
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 6 months ago (2014-06-23 00:57:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/348493003/20001
6 years, 6 months ago (2014-06-23 00:58:39 UTC) #6
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 6 months ago (2014-06-23 01:07:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/348493003/40001
6 years, 6 months ago (2014-06-23 01:07:23 UTC) #8
commit-bot: I haz the power
Change committed as 176716
6 years, 6 months ago (2014-06-23 02:08:00 UTC) #9
ojan
Can you also test the case of the box-sizing changing but the width/height of the ...
6 years, 6 months ago (2014-06-23 05:03:06 UTC) #10
Xianzhu
6 years, 6 months ago (2014-06-23 18:49:44 UTC) #11
Message was sent while issue was closed.
On 2014/06/23 05:03:06, OOO-only-code-yellow-reviews wrote:
> Can you also test the case of the box-sizing changing but the width/height of
> the element staying the same? For example, change the box-sizing, but adjust
the
> border/padding so it stays the same size.

Thanks for the suggestion. Added cases in
https://codereview.chromium.org/350043003/.

Powered by Google App Engine
This is Rietveld 408576698