Bug 168353 - Web Inspector: CSS variable uses that produce the wrong type should have warning icon
Summary: Web Inspector: CSS variable uses that produce the wrong type should have warn...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-14 20:09 PST by BJ Burg
Modified: 2017-02-14 20:09 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2017-02-14 20:09:23 PST
Testcase:

body {
background-color: var(--padding-start);
--padding-start: 10px;
}

We should warn that this usage will be ignored because the types are incompatible. Bonus points if the acceptable and actual CSS types are mentioned.
Comment 1 Radar WebKit Bug Importer 2017-02-14 20:09:52 PST
<rdar://problem/30527515>