Bug 235868 - CSS3 @supports is reported as an error in edditor
CSS3 @supports is reported as an error in edditor
Status: NEW
Product: web
Classification: Unclassified
Component: CSS Editor
8.2
PC Windows 7
: P4 with 8 votes (vote)
: TBD
Assigned To: Milutin Kristofic
Vladimir Riha
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-12 10:54 UTC by Sladex
Modified: 2017-06-26 21:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sladex 2013-09-12 10:54:34 UTC
http://caniuse.com/#feat=css-featurequeries
http://www.w3.org/TR/css3-conditional/#at-supports

Examples:

@supports (flex-wrap: wrap) { }
Unexpected token LPAREN found
Unexpected token WS found
Unexpected token RPAREN found

@supports not (flex-wrap: wrap) { }
Unexpected token NOT found
Unexpected token LPAREN found
Comment 1 JanGen 2016-01-18 11:48:08 UTC
Stumble on this issue in production, so a fix/enhancement/support is welcome

It is a Candidate Recommendation at the moment

https://developer.mozilla.org/en-US/docs/Web/CSS/@supports
Comment 2 Sarke 2016-10-25 20:03:12 UTC
This is still an issue.

@supports is a very useful feature and I would hate to not use it simply because it breaks the syntax highlighting in the rest of the document.

It is currently supported by Chrome, Firefox, Opera, Safari (incl iOS), and Edge.

http://caniuse.com/#feat=css-supports-api


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo