[Webkit-unassigned] [Bug 211351] New: lh / rlh units don't work properly for some elements.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 3 06:45:13 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211351

            Bug ID: 211351
           Summary: lh / rlh units don't work properly for some elements.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io
                CC: koivisto at iki.fi, simon.fraser at apple.com,
                    twilco.o at protonmail.com
            Blocks: 195180

There's a bunch of setLineHeight calls in RenderTheme / StyleAdjuster that happen when all other CSS values have already been computed.

So the lh units will refer to a line-height that's fundamentally wrong.

I filed https://github.com/w3c/csswg-drafts/issues/3257 on that a while ago but it seems WebKit has implemented the broken behavior :(


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=195180
[Bug 195180] [css-values-4] Support font-relative lh and rlh unit
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200503/96a006cc/attachment.htm>


More information about the webkit-unassigned mailing list