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

Pete Whelpton commented on NETBEANS-1458:
-----------------------------------------

Able to replicate in NB 10.0

 

NB's CSS parser seems to be based on an early version of the CSS3 3D Transforms 
specification: 
[http://www.w3.org/TR/2009/WD-css3-3d-transforms-20090320/#perspective-property]

and accepts *none* | *<number>*

 

This was changed in a later specification, 
[http://www.w3.org/TR/2013/WD-css-transforms-1-20131126/#perspective-property|http://www.w3.org/TR/2013/WD-css-transforms-1-20131126/#perspective-property,]

to be *none* | *<length>*

 

_However_, the perspective property appears to have been removed from the 
latest 3D Transforms specification entirely? 

Does anybody know if the perspective property is still in CSS3 specification, 
perhaps moved to another module? 

 

Even if the perspective property is out of spec now, a lot of browsers seem to 
support the perspective property already, so should NB?

 

!perspectiveerror.PNG!

 

> CSS3 perspective property doesn't support pixels value
> ------------------------------------------------------
>
>                 Key: NETBEANS-1458
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1458
>             Project: NetBeans
>          Issue Type: Bug
>          Components: web - CSS Editor
>    Affects Versions: 9.0
>         Environment: Windows 10
>            Reporter: Artur Stępień
>            Priority: Minor
>              Labels: easyfix
>         Attachments: perspectiveerror.PNG
>
>
> The following code causes warning cause of pixels value in perspective 
> attribute
> {code:java}
> .carousel-item {
>   perspective: 1000px;
> }
> {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