[Webkit-unassigned] [Bug 211436] New: Web Inspector: CSSAgent always returns variable names lowercase; must be case-sensitive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 4 23:35:24 PDT 2020


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

            Bug ID: 211436
           Summary: Web Inspector: CSSAgent always returns variable names
                    lowercase; must be case-sensitive
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com

CSS variable names are case-sensitive. CSSAgent.getMatchedStylesForNode() and CSSAgent.getInlineStylesForNode() returns variables always in lowercase.

Steps:
1. Open data:text/html;,<body style="--lineWidth:5;border-top:calc(var(--lineWidth)*1px) solid magenta">
2. Inspect body
3. Change --lineWidth value to 10

Expected:
The border is 10px wide now.

Actual:
The border is no longer visible.

<rdar://61711536>

-- 
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/20200505/764d5964/attachment.htm>


More information about the webkit-unassigned mailing list