Thank you for the very detailed answer, Koji! Reading your response, I
agree that this probably wouldn't be a web-compatible thing to change at
the UA-stylesheet level, but great to have it available soon, so it can go
in one's personal or community-maintained CSS frameworks.

On Thu, Jun 22, 2023 at 6:53 PM Koji Ishii <ko...@chromium.org> wrote:

> Hi, thank you for the question.
>
> On Thu, Jun 22, 2023 at 5:15 PM Thomas Steiner <to...@google.com> wrote:
>
>> Just as a side question: is this and the headlines feature too
>> opinionated to become part of user-agent stylesheets? I’m not immediately
>> saying it should be, I’m just curious if this was considered?
>>
>
> The short answer at this point is no, we're not changing the user-agent
> stylesheets, but as you pointed out, there are two aspects in your question
> -- whether it should be or not, and how.
>
> I think I can come up with cases where it should be, but at this point, I
> don't have enough confidence that it always should be. There are a wide
> variety of situations where browser's text rendering is used, including
> apps like text editors, games, forms, ASCII arts, and so forth. Also
> different languages have different typographic rules. Among them, I can
> find certain cases where it should not be. When changing the default
> settings, all such cases will need to be inspected. Web compatibility and
> the performance implication also need to be investigated more.
>
> When a conclusion is reached, then the "how" part. Generally speaking, the
> user-agent stylesheets are where browsers are expected to be interoperable,
> so I think it should be discussed at the CSSWG. If you have opinions, you
> can post at <https://github.com/w3c/csswg-drafts/issues>.
>
> On the other hand, the initial value `wrap` of the `text-wrap` property
> <https://github.com/w3c/csswg-drafts/issues> allows UA to use the
> algorithm for `pretty`, so UA can choose to do it without changing the
> user-agent stylesheets. I don't have a plan for doing it at this point as
> above, but if we reach a conclusion that Blink should do so, we will go
> through this "Intent to Ship" process as it will be a breaking change.
>
> I hope this clarifies your question.
>


-- 
Thomas Steiner, PhD—Developer Relations Engineer (https://blog.tomayac.com,
https://twitter.com/tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.3.4 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck0fjumBl3DCharaCTersAttH3b0ttom.
hTtPs://xKcd.cOm/1181/
----- END PGP SIGNATURE -----

-- 
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/CALgRrLmpNbtaMZ7K5V%2BU62tK0DfrN_K_oX5ppCx4kMGOSYrK4A%40mail.gmail.com.

Reply via email to