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

Issue 2836143003: Invalidate border/outline on color change only if they use current color (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 8 months ago
Reviewers:
wkorman
CC:
chromium-reviews, szager+layoutwatch_chromium.org, blink-reviews-style_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate border/outline on color change only if they use current color The new ComputedStyle::HasBorderColorReferencingCurrentColor() is also useful for fixing crbug.com/713680. BUG=713680 Review-Url: https://codereview.chromium.org/2836143003 Cr-Commit-Position: refs/heads/master@{#466923} Committed: https://chromium.googlesource.com/chromium/src/+/5ce0f7d183fa6870c877696c6ef1302a945f2e5e

Patch Set 1 #

Total comments: 2

Patch Set 2 : - #

Patch Set 3 : rebaselined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -251 lines) Patch
A third_party/WebKit/LayoutTests/paint/invalidation/border-current-color.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/border-current-color-expected.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/border-current-color-expected.txt View 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/inline-outline-repaint-2-expected.txt View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/outline-current-color.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/outline-current-color-expected.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/outline-current-color-expected.txt View 1 chunk +24 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296-expected.txt View 1 2 2 chunks +0 lines, -54 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/inline-outline-repaint-2-expected.txt View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/inline-outline-repaint-2-expected.txt View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/inline-outline-repaint-2-expected.txt View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.txt View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/BorderData.h View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleTest.cpp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Xianzhu
3 years, 8 months ago (2017-04-24 20:38:37 UTC) #3
wkorman
lgtm https://codereview.chromium.org/2836143003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2836143003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1546 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1546: if (Style()->HasBorderColorReferencingCurrentColor() || Could add unit tests for ...
3 years, 8 months ago (2017-04-24 22:05:42 UTC) #5
Xianzhu
https://codereview.chromium.org/2836143003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2836143003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1546 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1546: if (Style()->HasBorderColorReferencingCurrentColor() || On 2017/04/24 22:05:41, wkorman wrote: > ...
3 years, 8 months ago (2017-04-24 22:36:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2836143003/20001
3 years, 8 months ago (2017-04-24 22:37:32 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/429203)
3 years, 8 months ago (2017-04-25 00:36:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2836143003/40001
3 years, 8 months ago (2017-04-25 06:31:21 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 08:25:29 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5ce0f7d183fa6870c877696c6ef1...

Powered by Google App Engine
This is Rietveld 408576698