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

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Specify HTML alignment as text-align: -webkit-{left,right,center} ==
All browser engines implement [the HTML align attribute](https://html.spec.whatwg.org/#flow-content-3:attr-div-align) 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 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10388 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 4 June 2024 12:32:24 UTC