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

Issue 1455673002: Add UseCounter for border-image overriding border-widths (Closed)

Created:
5 years, 1 month ago by davve
Modified:
5 years, 1 month ago
CC:
chromium-reviews, blink-reviews, dshwang, slimming-paint-reviews_chromium.org, blink-reviews-paint_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UseCounter for border-image overriding border-widths According to the specification, if one border-style is 'none' the corresponding border-width should be zero and thus border-image-width resolve to zero. No border-image can be drawn at zero-width border. WebKit implemented an old version of the css border specification for border-image and does not reset border-widths to zero for border-style 'none' when there is a border-image. Add a use counter to get data on how many views that rely on this behavior. BUG=356802 Committed: https://crrev.com/235538d4c5836ab7651ae54ce04360eca362089d Cr-Commit-Position: refs/heads/master@{#360357}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address review comments #

Patch Set 3 : Fix c&p error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/border-image-style-none.html View 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/border-image-style-none-expected.txt View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp View 1 2 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455673002/1
5 years, 1 month ago (2015-11-17 17:08:24 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-17 18:19:37 UTC) #4
davve
Alan, having some data seemed like the first step to taking any sort of action ...
5 years, 1 month ago (2015-11-18 07:21:21 UTC) #6
alancutter (OOO until 2018)
On 2015/11/18 at 07:21:21, davve wrote: > Alan, having some data seemed like the first ...
5 years, 1 month ago (2015-11-18 08:22:23 UTC) #7
philipj_slow
lgtm https://codereview.chromium.org/1455673002/diff/1/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp File third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp (right): https://codereview.chromium.org/1455673002/diff/1/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp#newcode39 third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp:39: if ((style.borderLeftWidth() && style.borderLeft().style() == BNONE) Comment that ...
5 years, 1 month ago (2015-11-18 09:28:59 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455673002/20001
5 years, 1 month ago (2015-11-18 10:55:09 UTC) #10
davve
On 2015/11/18 08:22:23, alancutter wrote: > I don't think data is necessary to change behaviour ...
5 years, 1 month ago (2015-11-18 10:56:50 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/110216)
5 years, 1 month ago (2015-11-18 11:21:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455673002/20001
5 years, 1 month ago (2015-11-18 12:59:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/142433)
5 years, 1 month ago (2015-11-18 14:02:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455673002/40001
5 years, 1 month ago (2015-11-18 15:47:02 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-18 17:41:29 UTC) #22
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 17:42:36 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/235538d4c5836ab7651ae54ce04360eca362089d
Cr-Commit-Position: refs/heads/master@{#360357}

Powered by Google App Engine
This is Rietveld 408576698