Hi Koji,

Looks like the tests are in
https://wpt.fyi/results/css/css-text/white-space?label=master&label=experimental&aligned&view=subtest&q=balance.
There's one failing test there, do you know why that is? And overall, are
you happy with the test coverage here, does it cover most important corner
cases?

Best regards,
Philip

On Sun, Mar 5, 2023 at 9:26 PM Tab Atkins Jr. <jackalm...@gmail.com> wrote:

> On Thu, Mar 2, 2023 at 6:59 PM fantasai <fantasai.li...@inkedblade.net>
> wrote:
> > On 3/2/23 17:48, Tab Atkins Jr. wrote:
> > > 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?
> >
> > The 'text-wrap' property is a longhand of 'white-space'. If you don't
> > implement it as such, the way that 'text-wrap' and 'white-space'
> declarations
> > override each other will change if/when you do.
> >
> > This intent to ship just says that you will ship 'text-wrap'. It doesn't
> say
> > that you will also implement 'white-space-collapse' (the other longhand
> of
> > 'white-space') or the shorthanding relationship between 'text-wrap' and
> > 'white-space'. I therefore assume you're shipping 'text-wrap' as an
> > independent property, and this is not going to be spec-compatible.
>
> Koji will need to speak to this.
>
> > > 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.
> >
> > How is (a hypothetical) 'last-line-length: 100%' different from
> 'text-wrap:
> > balance'? If they're the same, does it make sense to have 'text-wrap:
> balance'?
>
> They're quite different. A balanced paragraph can very easily have the
> last line *not* fill 100% of the line box, because being balanced
> actually means averaging an 80% fill, for example; there's no way to
> predict what the ideal fill is in a whole-para balance. There's also
> perf concerns - a last-line control might very reasonably only try to
> adjust the last several lines, rather than the entire paragraph, so
> that it's generally usable on all text rather than just text short
> enough to be efficiently whole-para balanceable.
>
> ~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/CAAWBYDAmKU3T-M-yyM5SywbSVj2iTUcdqWXCNSdSV6Xco3TGdw%40mail.gmail.com
> .
>

-- 
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/CAARdPYdZTqRA5x2qpsBZq00Dzvv%3DW-y9cGT4UKxVZXKExfs0HA%40mail.gmail.com.

Reply via email to