On Tue, Feb 28, 2023 at 9:06 PM fantasai <fantasai.li...@inkedblade.net> wrote: > I don't think this should ship until the relationship between white-space and > text-wrap is fully resolved and implemented. That just seems like a bad idea. > I don't think it will be difficult or time consuming, but I think it needs to > be done.
I don't understand what issues you might be thinking of. white-space has effects on wrapping, yes, but text-wrap:balance is just using the wrapping algorithm, *whatever* it is, and choosing different wrap opportunities (as if the box was slightly narrower, generally) than it would otherwise have. If you think there are specific issues that need to be fixed (that don't equally need to be fixed for text-wrap:wrap), could you list them? > Also, as the editor of the spec, I'd also be interested to know if any > specific aspects of the `text-wrap: balance` definition need improving, now > that there's some implementation experience... Relatedly, from an authoring > perspective, will this be sufficiently useful without any integration into > intrinsic sizing? Does it actually solve the problems authors want it to > solve, or is there something still unsatisfied here? Do we have any real > feedback on this from the prototype? I'll let Koji provide more detail, but the only thing I'm aware of is that the "10 lines" limit the spec currently allows for bailing out appears to be too large. I think our initial implementation is bailing on >4 lines. > Lastly, there had been some discussion about more control over the length of > the last line, having it be not just "anything" or "same as the rest of the > paragraph" but things like "at least 4em" or "at least 15% of a full line". > Doing something like that would split this control into its own independent > property, rather than being a keyword on `text-wrap`. Has there been any > investigation in that direction? Are we sure we don't want to go there? We probably do want some type of control for orphan words, but it's an unrelated problem; *all* of the text-wrap options can want it. Likely it belongs in its own property. ~TJ -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAAWBYDBEeH0Z9HFWJe5%2BAjiOoCEkEkQ_CGtJRyQ%3D0nLdPROe5g%40mail.gmail.com.