On Fri, Oct 14, 2022 at 9:32 AM Manuel Rego Casasnovas <[email protected]>
wrote:

>
>
> On 13/10/2022 16:10, Rune Lillesveen wrote:
> >         Summary
> >
> > Support for expressing CSS lengths relative to the line-height
>
> Is this only about "lh"? What about "rlh"?
>

I intentionally did not do rlh because it needs some changes
in CSSToLengthConversionData/FontSizes that would be more natural to do for
rex, ric, rch, and rlh combined (none of which are currently supported in
Blink).

> /Gecko/: No signal (https://bugzilla.mozilla.org/show_bug.cgi?id=1310170
> > <https://bugzilla.mozilla.org/show_bug.cgi?id=1310170>)
>
> Should we ask for official signals at
> https://mozilla.github.io/standards-positions/ ? (Adding Emilio in CC
> maybe he can share some thoughts).
>


> > /WebKit/: In development (https://bugs.webkit.org/show_bug.cgi?id=195180
> > <https://bugs.webkit.org/show_bug.cgi?id=195180>) Implemented behind a
> flag
>
> WebKit implemented this in 2020 but it hasn't been shipped yet because
> of bug: https://bugs.webkit.org/show_bug.cgi?id=211351
> Have we asked about plans regarding that?
>

The resolution in
https://github.com/w3c/csswg-drafts/issues/3257#issuecomment-1204146452 is
that lh units are computed against pre-adjusted line-heights on the element
itself, but on descendants it's explicitly undefined. That WebKit issue is
most likely a Wontfix. I have commented on the issue.

Is that bug an issue in Blink implementation?
>

We align with the resolution mentioned above.

Adding a test here:
https://chromium-review.googlesource.com/c/chromium/src/+/3955838

There's also one open issue in the CSSWG:
> https://github.com/w3c/csswg-drafts/issues/937
> It seems something was agreed long time ago, but nothing was reflected o
> the spec. I guess it'd be nice to clarify the status and if that implies
> any change on the implementation before shipping.
>

I spoke with Koji about this who said none of the browsers will
support line-height-step and an alternative approach is being discussed.

-- 
Rune Lillesveen

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACuPfeQw9oYX6%2B7Qrtdx%3DTH2xo_-sxOujiNDmbDYuLXd0%2B79tg%40mail.gmail.com.

Reply via email to