Re: [csswg-drafts] [css-text-4] Text-spacing is too strict

The CSS Working Group just discussed `Text-spacing is too strict`, and agreed to the following:

* `RESOLVED: Add a new text-spacing:auto value, which is not the initial value.`

<details><summary>The full IRC log of that discussion</summary>
&lt;heycam> Topic: Text-spacing is too strict<br>
&lt;heycam> github: https://github.com/w3c/csswg-drafts/issues/3229<br>
&lt;heycam> myles: this is about text-spacing property, has a buynch of examples that control spacing between script changes on a single line<br>
&lt;heycam> ... desirable for mixed CJK and latin on a single line<br>
&lt;heycam> ... good typo style says if you have a bunch of ideographic characters then some latin words, between those two things should be a bit of extra space<br>
&lt;heycam> ... also things like because CJK punctuation tried to fit in a whole em block there's usually a lot of white space<br>
&lt;heycam> ... two punctuation characters next to each other is to push them together<br>
&lt;heycam> ... this is a good thing<br>
&lt;heycam> ... the concern we have is that there are different typographic design houses with different style guides<br>
&lt;heycam> ... and how much space to add between full width kana vs a latin character, etc.<br>
&lt;heycam> ... so different design studios have different rules abotu where they insert these spaces and how much to add<br>
&lt;heycam> ... we'd like to implement this property, but the definition is very strict<br>
&lt;heycam> ... lists which characters and how much space to add<br>
&lt;heycam> ... we understanding this came from jlreq, and that's a good starting place, but since this is up to typo conventions of the platform you're on, it would be good to looosen this for some wiggle room<br>
&lt;heycam> ... I've listd a few examples<br>
&lt;heycam> florian: without going throguh the examples, at the conceptual level yes there are different opinions on spacing<br>
&lt;heycam> ... some of these topics we can find agreement on, others not<br>
&lt;heycam> florian: for people who don't care, it doesn't matter<br>
&lt;heycam> ... for people who do care, they will only turn it on if it's predictable<br>
&lt;heycam> ... if they can't quite know what they'll get out of it, they'll do it manually<br>
&lt;heycam> myles: this is a property for changing general behavior, I understand a particular publisher doesn't like the way a particular impl or the whole web does it, and they may impl it thsemelves<br>
&lt;heycam> ... but a ua should be able to improve the typography of the entire web<br>
&lt;heycam> astearns: if you loosen things, you have an inconsistency between UAs, and authors are put in a bind<br>
&lt;heycam> ... the problem your'e pointing out means we need more properties to change the way we deal with spacing to hit those uses cases<br>
&lt;heycam> ... so a publishing house could say this variation is the one I want<br>
&lt;heycam> myles: I don't think the proposal is contrary to that<br>
&lt;heycam> ... the thing that I'm aiming for is a way to have platform dependent spacing<br>
&lt;heycam> ... also having a way to have a specific well defined one, that's great too<br>
&lt;heycam> ... conceptually an auto value is distinct<br>
&lt;heycam> florian: could we keep the existing auto value as that? [...]<br>
&lt;heycam> koji: I think I'm with myles in general. I agree with florian that some people want exact typographic characteristics, but currently we dont have anyhting<br>
&lt;heycam> ... two things that people want. if we dont have either, better to start with a looser definition<br>
&lt;heycam> ... if they say they really want some particular behavior we can add some more strict definitions<br>
&lt;heycam> florian: I think having an auto value would be nice for that general case of 'I want better typo'<br>
&lt;heycam> ... I'm concerned that this will cause compat problems<br>
&lt;heycam> ... that's when you end up with 1 line in one browser and 2 lines in another<br>
&lt;heycam> ... I wouldn't be opposed to an auto value, but that is a concern<br>
&lt;heycam> ... make the existing values fuzzy doesn't sound great<br>
&lt;heycam> myles: i share concern about web compat<br>
&lt;heycam> ... there would need to be an investigation phase<br>
&lt;heycam> florian: adding another value would be nice<br>
&lt;heycam> ... if we start changing in different browsers what they do that sounds scary<br>
&lt;heycam> myles: the question about whether it should be the default value, I don't think we have information yet<br>
&lt;heycam> florian: I suspect auto can't be default<br>
&lt;heycam> fantasai: i would love it if auto did beautiful typo by default<br>
&lt;heycam> drott: ...<br>
&lt;heycam> florian: there are many things affected by this property. in the french context, you have a space before a column, a narrow non breakable space<br>
&lt;heycam> ... but not in markup<br>
&lt;heycam> ... this property allows you to inject the right kind of space<br>
&lt;heycam> ... you could give some flexibility to the browser, to choose 1/4em or 1/6em<br>
&lt;heycam> ... there's also things relating to collapsing white space<br>
&lt;heycam> ... e.g. in CJK punctuations<br>
&lt;heycam> ... the boundary between characters<br>
&lt;heycam> drott: my question was how many values would we need<br>
&lt;heycam> ... to make it possible for the user to specify that<br>
&lt;heycam> ... within a run of the same script could be handle by opentype<br>
&lt;heycam> ... but how many additional ones would be needed<br>
&lt;heycam> fantasai: the spec triggers the opentype features when the settings are set<br>
&lt;heycam> ... you might want to be able to control particular spacing operations, so we will use the right OT things, but it won't do them automatically<br>
&lt;heycam> ... trimming/spacing controls depends on context<br>
&lt;heycam> ... and it crosses text runs in the same language<br>
&lt;heycam> ... OT can't do this for us<br>
&lt;heycam> ...but we can use OT to do the glyph transformations or make full width be typset half width for example<br>
&lt;heycam> myles: so you're asking how many combinations are required to do....?<br>
&lt;heycam> drott: one was 1/4 em ...<br>
&lt;heycam> florian: the existing property have 15 keywords<br>
&lt;heycam> ... not all combinations of them are valid<br>
&lt;heycam> drott: for these 15, I'm trying to get an idea of how many lengths you'd need to specify<br>
&lt;heycam> ... just to gauge how many additional values you'd need<br>
&lt;heycam> fantasai: if we're adding control over lengths, it would be in a separate property, so you could switch the behavior on and off without having to reset at every stage the length you want to set<br>
&lt;heycam> florian: do we want to resolve on an auto value, which lets the UA do whatever it feels like?<br>
&lt;heycam> fantasai: the initial value is normal<br>
&lt;heycam> ... happy with that or add an auto to do something<br>
&lt;heycam> myles: is there interop on what normal means?<br>
&lt;heycam> florian: yes, the initial value is what the web does today<br>
&lt;heycam> ... it's just not good typography<br>
&lt;heycam> ... for now, the auto value, isn't the default, since it's different from what UAs do<br>
&lt;heycam> fantasai: if you want to try having it be the initial value ...<br>
&lt;heycam> florian: that's going to break every good typographic website<br>
&lt;heycam> ... if you do it on top of them doing it manually<br>
&lt;heycam> ... maybe the spacing between latin and ideographic might be web compatible?'<br>
&lt;heycam> ... I suggest adding an auto and experimenting with it<br>
&lt;heycam> fantasai: if they're experimenting to see with what the initial value can do, may as well do it for normal itself<br>
&lt;heycam> myles: right now I think adding a new auto value is the best way to go<br>
&lt;heycam> RESOLVED: Add a new text-spacing:auto value, which is not the initial value.<br>
&lt;heycam> florian: I encourage looking at what subset of auto behavior could move to the initial normal value<br>
&lt;heycam> -- lunch break until 1pm --<br>
&lt;heycam> (1:10pm)<br>
&lt;eae> ScribeNick: eae<br>
</details>


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

Received on Monday, 22 October 2018 18:25:59 UTC