NEW 178636
Web Inspector: Styles: Make inline widgets work with CSS functions (var(), calc(), etc.)
https://bugs.webkit.org/show_bug.cgi?id=178636
Summary Web Inspector: Styles: Make inline widgets work with CSS functions (var(), ca...
Nikita Vasilyev
Reported 2017-10-21 15:30:02 PDT
Web Inspector doesn't show inline widgets (WI.InlineSwatch) for colors, gradients, cubic-bezier and spring function if they are or have CSS function (such as calc, var, or min/max) in them. For example, Web Inspector doesn't currently shows color picker for `color: var(--text-color)`. None of these functions can parse CSS variables, calc() or min/max() correctly: WI.CubicBezier.fromString WI.Spring.fromString WI.Color.fromString WI.Gradient.fromString E.g.: -> WI.Color.fromString("linear-gradient(#fff2db, var(--myVar))") <- null
Attachments
Radar WebKit Bug Importer
Comment 1 2017-10-21 15:30:24 PDT
Note You need to log in before you can comment on or make changes to this bug.