[Webkit-unassigned] [Bug 184604] New: StyleSheet cssText does not return escaped tag names

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 13 14:57:36 PDT 2018


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

            Bug ID: 184604
           Summary: StyleSheet cssText does not return escaped tag names
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pascal at logrocket.com

Created attachment 337924

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

Simple reproduction

Given a custom tag name with a colon in it (e.g. foo\:bar { font-weight; bold }), the cssText property should return a properly escaped string.

Instead, the backslash gets dropped. Attached a simple example; in Chrome and Firefox pressing the button has no visible effect, in Safari the text changes color.

This is potentially a regression:

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

-- 
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/20180413/6bdc7f22/attachment.html>


More information about the webkit-unassigned mailing list