[ 
https://issues.apache.org/jira/browse/NETBEANS-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816081#comment-16816081
 ] 

Pete Whelpton commented on NETBEANS-1456:
-----------------------------------------

Had a crack at this last night, adding the calc() function grammar into the 
properties.  Ran into the issue that calc() allows nested functions and 
recursive grammar causes GrammarParser to overflow as it will try and resolve 
the grammar until it blows the stack...

 

More thought required.

> Unsupported calc() function in CSS stylesheets
> ----------------------------------------------
>
>                 Key: NETBEANS-1456
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1456
>             Project: NetBeans
>          Issue Type: Bug
>          Components: web - CSS Editor
>    Affects Versions: 9.0
>         Environment: Windows 10
>            Reporter: Artur Stępień
>            Priority: Minor
>              Labels: css, easy
>
> The following code in CSS Editor shows as a warning:
> {code:java}
> .modal-dialog-centered {
>   min-height: calc(100% - (0.5rem * 2));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to