[Webkit-unassigned] [Bug 248567] SVG text is always underlined when SVG is wrapped by an A element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 5 11:25:20 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=248567
--- Comment #3 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Fixed it locally by adding following:
in StyleAdjuster.cpp
static bool isOutermostSVGElement (const Element* element)
{
return element && element->isSVGElement() && downcast<SVGElement>(*element).isOutermostSVGSVGElement();
}
and
following in 'shouldInheritTextDecorationsInEffect':
if (isOutermostSVGElement(element))
return false;
--
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/20230605/ceae1560/attachment.htm>
More information about the webkit-unassigned
mailing list