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

The CSS Working Group just discussed `[css-text] Specify HTML alignment as text-align: -webkit-{left,right,center}`, and agreed to the following:

* `RESOLVED: Specify the -webkit-* values for text-align in the Compat spec.`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> emilio: WEbsites try to depend on this -webkit value being exposed<br>
&lt;TabAtkins> emilio: Right now nobody implements the justify-items:legacy stuff<br>
&lt;TabAtkins> emilio: My original idea was to just spec reality here, which is a bit underwhelming<br>
&lt;TabAtkins> emilio: but i'm okay trying to implement justify-items<br>
&lt;TabAtkins> emilio: But we'll probably need to keep the -webkit value for compat<br>
&lt;TabAtkins> emilio: So we should probably choose to spec -webkit-left/right/center either in Alignment or Compat (probably Compat), and let browsers implement Alignment eventually<br>
&lt;TabAtkins> TabAtkins: So your proposal is we spec the -webkit in Compat, and have HTML refer to those, and later see if we can compat-wise fix to Alignment?<br>
&lt;TabAtkins> emilio: Yes. We can possibly have HTML refer to Alignment.<br>
&lt;TabAtkins> TabAtkins: I don't think HTML would take a patch for features that aren't impelmented yet.<br>
&lt;TabAtkins> emilio: Yeah, possibly.<br>
&lt;TabAtkins> astearns: So two steps. First, add -wekbit value to text-align because we have to, not becuase we want to.<br>
&lt;TabAtkins> emilio: yes, because widely depended on<br>
&lt;TabAtkins> astearns: But then a little unclear what the second step is<br>
&lt;TabAtkins> astearns: Oriol talksa bout using justify-items:legacy opting into those values, but I thought the point was sites depending on the values without using justify-items<br>
&lt;TabAtkins> emilio: Right, you have to support the text-align values anyway.<br>
&lt;astearns> ack dbaron<br>
&lt;TabAtkins> emilio: So my pref is to keep them both defined, and then start with having HTML referring to the text-align values, and later switch to justify-items once implemented<br>
&lt;TabAtkins> dbaron: This sounds reasonable to me<br>
&lt;iank_> q+<br>
&lt;TabAtkins> dbaron: Given that everyone does the same thing, and it's not completely clear what the space of changes we can make compatibly *is*, it seems reasonable to spec what we currently have, maybe with a note about what we want to change it to in the future.<br>
&lt;TabAtkins> dbaron: This legacy thing is defined in a way that's supposed to deal with this issue, but it's not clear, for example, how much pages depend on this actually working via text-align<br>
&lt;TabAtkins> dbaron: Because for example you can override this inherited behavior by setting another value on text-align. We need to see if that's something that's ok to break.<br>
&lt;TabAtkins> dbaron: So i'm supportive of moving closer ot reality.<br>
&lt;astearns> ack iank_<br>
&lt;TabAtkins> iank_: dbaron just said what I was gonna<br>
&lt;TabAtkins> astearns: so proposed resolution is: specify the -webkit value for text-align, with a note about what we'd like to do in the future<br>
&lt;TabAtkins> emilio: I think we should specify them without a note, and have HTML take the note about the intended migration<br>
&lt;TabAtkins> dbaron: Sounds fine.<br>
&lt;TabAtkins> TabAtkins: speciy in Text or in Compat?<br>
&lt;TabAtkins> astearns: Compat sounds slightly easier to quarantine<br>
&lt;TabAtkins> emilio: sounds fine, don't mind either way<br>
&lt;TabAtkins> RESOLVED: Specify the -webkit-* values for text-align in the Compat spec.<br>
&lt;TabAtkins> astearns: Who's doing the HTML patch?<br>
&lt;TabAtkins> emilio: I can.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10388#issuecomment-2233714476 using your GitHub account


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

Received on Wednesday, 17 July 2024 16:25:26 UTC