Skip to content

[css-text] Specify HTML alignment as text-align: -webkit-{left,right,center} #10388

@emilio

Description

@emilio

All browser engines implement the HTML align attribute with a special value of text-align, rather than as the HTML spec describes. Those values are -{moz,webkit}-{left,right,center}, and for mostly legacy accidents, they are exposed to stylesheets and actively used (yikes).

Rather than keeping the status quo where the specification doesn't contain these values, and the HTML spec says something that no browser does, I propose to define how these works in terms of the -webkit- prefixed version.

Is there any reason not to do that? cc @bfgeek @frivoal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions