[Webkit-unassigned] [Bug 183179] New: CSS ::selection stroke-color and stroke-width are not applied to selected text in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 27 14:20:57 PST 2018


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

            Bug ID: 183179
           Summary: CSS ::selection stroke-color and stroke-width are not
                    applied to selected text in SVG
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: zimmermann at kde.org

Similar to the issue in bug #183178, we need to teach the SVGInlineTextBox::paint() to query RenderElement::selectionPseudoStyle() for styles of the ::selection pseudo element so that ::selection:window-inactive { ... } are applied to selected text when the page becomes deactivated. 

For completeness, SVGInlineTextBox::paint() calls RenderElement::getCachedPseudoStyle() at <http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp?rev=229031#L268>. But these styles never change when the page becomes deactivated.

-- 
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/20180227/86b1f8ef/attachment.html>


More information about the webkit-unassigned mailing list