Skip to content

[css-color-adjust-1] What happens with multiple <meta>s? #3846

@tabatkins

Description

@tabatkins

What should be the behavior if there are multiple <meta name=color-scheme> elements with different values?

My preference is that we honor the first and ignore the rest. This allows us to paint the background correctly as soon as possible.

However, Device Adaptation specifies that the relevant metas should be interpreted as style elements specifying a @viewport, so that they can cascade together; this means that the last meta affecting a particular @Viewport descriptor "wins".

What rule should we use?

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