[Webkit-unassigned] [Bug 207567] New: :host() pseudo-selector reported as :host in CSSStyleRule
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 11 11:05:32 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207567
Bug ID: 207567
Summary: :host() pseudo-selector reported as :host in
CSSStyleRule
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Minor
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jlo at logrocket.com
Created attachment 390393
--> https://bugs.webkit.org/attachment.cgi?id=390393&action=review
Minimal reproduction case
Any |:host(selector)| rules in a stylesheet are incorrectly reported as plain |:host| pseudo-selectors when accessed through CSSStyleRule.prototype.cssText or CSSStyleRule.prototype.selectorText.
See the attached test case. In Chrome and FireFox the <pre> is populated with |:host(.hidden) { display: none; }|, using Safari (Mobile and Desktop) the output is |:host { display: none; }|.
--
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/20200211/cae5c359/attachment.htm>
More information about the webkit-unassigned
mailing list