Skip to content

[css-borders] Standardize groove/ridge/inset/outset border-color computations #9393

@nt1m

Description

@nt1m

It would be good to standardize those.

WebKit honors the border-color and uses a specific algorithm that has contrast issues: https://bugs.webkit.org/show_bug.cgi?id=261847

Chromium does not honor the border-color afaik and hardcodes to gray.

Gecko honors the border-color and doesn't have contrast issues: https://searchfox.org/mozilla-central/rev/077fc34d03b85b09add26b5f99f1a3a3a72c8720/gfx/wr/webrender/res/cs_border_segment.glsl#140

Metadata

Metadata

Assignees

No one assigned

    Labels

    Agenda+ LaterLower-priority items that are flagged for CSSWG discussioncss-borders-4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions