[Webkit-unassigned] [Bug 226724] `text-decoration: underline` is not applied to web component

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 8 02:34:15 PDT 2021


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

--- Comment #8 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Antti Koivisto from comment #7)
> > Hm... I feel like we should be checking the slot assignment here
> > but I suppose we don't let a node inside a UA shadow root assigned to an
> > author defined shadow tree,
> > and we don't really set text decoration within UA shadow tree so it's
> > probably okay.
> > It might be still good to add a comment in the code explaining why this is
> > okay though.
> 
> I don't think we should really have this test at all. UA shadow trees that
> don't want to inherit the effective text-decoration should simply set it
> themselves. That is a riskier change though and we probably don't have good
> test coverage.

What do you mean by "simply set it"? It's not possible to get rid of text decorations, right? -webkit-text-decorations-in-effect is a readonly CSS property.

-- 
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/20210608/5e75d207/attachment.htm>


More information about the webkit-unassigned mailing list