RESOLVED INVALID Bug 211351
lh / rlh units don't work properly for some elements.
https://bugs.webkit.org/show_bug.cgi?id=211351
Summary lh / rlh units don't work properly for some elements.
Emilio Cobos Álvarez (:emilio)
Reported 2020-05-03 06:45:13 PDT
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 :(
Attachments
Emilio Cobos Álvarez (:emilio)
Comment 1 2020-05-03 11:52:38 PDT
Ah, that's a MainThreadNeverDestroyed, introduced by: https://bugs.webkit.org/show_bug.cgi?id=211264 So this is a regression from that change.
Yusuke Suzuki
Comment 2 2020-05-03 15:16:19 PDT
(In reply to Emilio Cobos Álvarez (:emilio) from comment #1) > Ah, that's a MainThreadNeverDestroyed, introduced by: > > https://bugs.webkit.org/show_bug.cgi?id=211264 > > So this is a regression from that change. Could you upload the crash trace of this? If non main thread is touching `const AtomString` generated by `MainThreadNeverDestroyed<>`, this potentially means that `MainThreadNeverDestroyed<>` finds the real bug.
Yusuke Suzuki
Comment 3 2020-05-03 15:18:35 PDT
(In reply to Yusuke Suzuki from comment #2) > (In reply to Emilio Cobos Álvarez (:emilio) from comment #1) > > Ah, that's a MainThreadNeverDestroyed, introduced by: > > > > https://bugs.webkit.org/show_bug.cgi?id=211264 > > > > So this is a regression from that change. > > Could you upload the crash trace of this? If non main thread is touching > `const AtomString` generated by `MainThreadNeverDestroyed<>`, this > potentially means that `MainThreadNeverDestroyed<>` finds the real bug. OK, found that, thanks :)
Yusuke Suzuki
Comment 4 2020-05-03 16:13:51 PDT
(In reply to Yusuke Suzuki from comment #3) > (In reply to Yusuke Suzuki from comment #2) > > (In reply to Emilio Cobos Álvarez (:emilio) from comment #1) > > > Ah, that's a MainThreadNeverDestroyed, introduced by: > > > > > > https://bugs.webkit.org/show_bug.cgi?id=211264 > > > > > > So this is a regression from that change. > > > > Could you upload the crash trace of this? If non main thread is touching > > `const AtomString` generated by `MainThreadNeverDestroyed<>`, this > > potentially means that `MainThreadNeverDestroyed<>` finds the real bug. > > OK, found that, thanks :) Looks like that patch (adding new assertions) found a GTK specific bug, which cannot be caught due to lack of GTK Debug EWS.
Emilio Cobos Álvarez (:emilio)
Comment 5 2020-05-03 16:46:35 PDT
Yes, sorry, but I pasted comment 1 in the wrong bug, should've been in bug 211355, that's why I tagged it as off-topic.
Yusuke Suzuki
Comment 6 2020-05-03 17:45:53 PDT
(In reply to Emilio Cobos Álvarez (:emilio) from comment #5) > Yes, sorry, but I pasted comment 1 in the wrong bug, should've been in bug > 211355, that's why I tagged it as off-topic. np! Thanks for reporting :D
Tyler Wilcock
Comment 7 2022-07-01 11:40:09 PDT
Rune Lillesveen
Comment 8 2022-10-14 05:32:26 PDT
Given the resolution in [1], this issue is most likely a Wontfix? [1] https://github.com/w3c/csswg-drafts/issues/3257#issuecomment-1204146452
Note You need to log in before you can comment on or make changes to this bug.