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

Issue 2394383002: Preserve original border colors for border-style inset | outset.

Created:
4 years, 2 months ago by cavalcantii1
Modified:
3 years, 6 months ago
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews, Rick Byers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Preserve original border colors for border-style inset | outset. This will fix the case where a color is set to a parent element and the expected behavior is children elements to render with the same color previously defined. BUG=316559

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
cavalcantii1
4 years, 2 months ago (2016-10-06 23:29:35 UTC) #4
Rick Byers
Thanks for the fix! I don't work in the style code myself, so removing myself ...
4 years, 2 months ago (2016-10-07 00:11:20 UTC) #7
alancutter (OOO until 2018)
+1 to adding tests. Are there tests for the colour of ridge and groove border ...
4 years, 2 months ago (2016-10-07 00:39:28 UTC) #8
meade_UTC10
I'll also +1 tests. Also, there are 485 layout tests broken by this change. Please ...
4 years, 2 months ago (2016-10-07 04:03:29 UTC) #11
cavalcantii1
@Rick No problem, this one looked like an easy fix. @Alan Sure thing, I will ...
4 years, 2 months ago (2016-10-08 00:54:49 UTC) #12
meade_UTC10
On 2016/10/08 00:54:49, cavalcantii1 wrote: > @Rick > No problem, this one looked like an ...
4 years, 2 months ago (2016-10-11 06:22:10 UTC) #13
cavalcantii1
@Eddy Thanks for pointing it out, I will have a closer look on it. That ...
4 years, 2 months ago (2016-10-11 17:45:33 UTC) #14
mstensho (USE GERRIT)
Why keep this behavior for ridge and groove at all?
3 years, 6 months ago (2017-06-01 13:06:34 UTC) #17
cavalcantii1
As groove and ridge has other issues and I was planning to fix it in ...
3 years, 6 months ago (2017-06-02 00:12:01 UTC) #18
mstensho (USE GERRIT)
On 2017/06/02 00:12:01, cavalcantii1 wrote: > As groove and ridge has other issues and I ...
3 years, 6 months ago (2017-06-08 09:17:01 UTC) #19
cavalcantii1
When I fixed Safari (as also Mozilla Servo), I noticed that the spec could be ...
3 years, 6 months ago (2017-06-08 18:09:49 UTC) #20
cavalcantii1
As it was decided in the w3c css wg conf call, there would be an ...
3 years, 6 months ago (2017-06-08 18:19:10 UTC) #21
cavalcantii1
I would be willing to rebase/port the fix on the issue if there is some ...
3 years, 6 months ago (2017-06-08 18:37:58 UTC) #22
mstensho (USE GERRIT)
3 years, 6 months ago (2017-06-09 07:42:23 UTC) #23
On 2017/06/08 18:37:58, cavalcantii1 wrote:
> I would be willing to rebase/port the fix on the issue if there is some level
of
> support (e.g. people to review the patch, advice on the best way to handle the
> 800-ish tests).
> 
> That would be nice to close the full circle: 
> a) Fix affected web engines: WebKit (Done), Servo (Done), Blink (Pending)
> b) Fix the spec (Done).
> 
> :-)

Sorry - I still don't understand the conceptual difference between ridge/groove
and inset/outset here. You need to come up with two colors slightly different
from border-color, regardless of which one of those four styles you're dealing
with, no? They should have the exact same problems and challenges with black or
any other color, as far as I understand? Ignoring "color" if "border-color"
isn't specified and falling back to #eeeeee should be equally wrong for all 4
styles.

"Cramming" it all together into one CL therefore makes sense to me.

Rebaselining 800 tests is fine, as long as the change is correct. :) Use
"Tools/Scripts/webkit-patch rebaseline-cl" to rebaseline.

Powered by Google App Engine
This is Rietveld 408576698