- From: Florian Rivoal <florian@rivoal.net>
- Date: Tue, 10 Nov 2015 13:46:28 +0900
- To: Koji Ishii <kojiishi@gmail.com>
- Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
- Message-Id: <520AAE1C-8773-4C15-8125-58E00D575C04@rivoal.net>
> On 09 Nov 2015, at 23:43, Koji Ishii <kojiishi@gmail.com> wrote: > > 2015-11-09 16:30 GMT+09:00 Florian Rivoal <florian@rivoal.net <mailto:florian@rivoal.net>>: > > > On 09 Nov 2015, at 13:55, fantasai <fantasai.lists@inkedblade.net <mailto:fantasai.lists@inkedblade.net>> wrote: > > > > b) wrapping after each space > > Anyway, I think making it possible for authors to get the "b" mode is important. > If it's not the one we get by default (current spec), I want a switch (proposal > above). > > A switch is more preferable than changing the default behavior of pre-wrap to me; pre-wrap serves other use cases than code editors today. Well, "change the default behavior"... Everybody is behaving differently, including ways that are not allowed by the spec... But anyway, yes, adding a switch was my initial proposal, and the way I recall the discussion, the conclusion was that if that's the behavior we want, let's have it by default rather than opt-in. > Two things I think we would need consensus on: > > 1. Assuming this is a code editor use case, I still believe any editors that wraps before space also wraps in the mid of words. Visual Studio, NotePad, TextEdit do so. On the other hand, Atom does not wrap in the mid of words but does not wrap before space either. Having an example of "wrap before space but not mid of words" would be helpful if you want this combination. Agree on having 2 different behaviors. I'm proposing to trigger the first one with overflow-wrap: break-word, and the other one with a new value, overflow-wrap: break-spaces. > 2. It may depends on above, but it feels me that the value should belong to word-break rather than white-space. I think it goes into overflow-wrap (aka word-wrap) rather than word-break, but open for discussion. - Florian
Received on Tuesday, 10 November 2015 04:47:01 UTC