Skip to content

[css-color] "transparent" keyword being a special color value, which resolves to rgba(0,0,0,0) by default? #2722

@jonjohnjohnson

Description

@jonjohnjohnson

https://drafts.csswg.org/css-color-4/#transparent-color

@tabatkins -> https://twitter.com/tabatkins/status/1001884320229830656

I used to forget about gradient interop issues with the transparent keyword all the time (https://stackoverflow.com/questions/30673204/css-linear-gradient-transparency-misbehaving-only-in-safari) and I know safari still doesn't "automagically" (https://twitter.com/tabatkins/status/1001885856716615680) treat the case described.

Is it possible that implementation of transparent isn't beyond tweaking the spec to *fix this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions