[Webkit-unassigned] [Bug 174704] New: `inherit` breaks when parent element has Shadow Root

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 20 20:10:17 PDT 2017


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

            Bug ID: 174704
           Summary: `inherit` breaks when parent element has Shadow Root
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bede.overend at gmail.com

Created attachment 316062

  --> https://bugs.webkit.org/attachment.cgi?id=316062&action=review

HTML file reproducing inherit bug

When an element has a style property set to `inherit`, the `inherit` doesn't appear to be applied if the parent element has a Shadow Root. Note that it's only if that property by default does is not `inherit` e.g. `border` whereas something like color is inherited fine.

Other elements which match the same style selector rules seem to also break, even when their parent does not have a Shadow Root, however is fixed when re-applying styles (perhaps just triggering a redraw?)

-- 
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/20170721/76ac9e55/attachment-0001.html>


More information about the webkit-unassigned mailing list