Skip to content

Opaque hexadecimal color values should be resolved to rgb #135

@cdoublev

Description

@cdoublev

This test expectation is wrong:

style.color = '#ffffffff';
expect(style.color).toEqual('rgba(255, 255, 255, 1)');

In Chrome/Firefox:

target.style.color = '#ffffffff'
console.log(target.style.color) // "rgb(255, 255, 255)"

Though I believe that this is not described in any specification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions