[ https://issues.apache.org/jira/browse/NETBEANS-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748015#comment-16748015 ]
Pete Whelpton commented on NETBEANS-1457: ----------------------------------------- Able to replicate in NB 10.0. According to the W3C CSS3 spec [https://www.w3.org/TR/css-text-3/#text-align-property] text-align can have the following values: start | end | left | right | center | justify | match-parent | justify-all (as well as the standard values of inherit | initial) The NB css parser seems configured for: [ [ start | !string ]? [ start | end | left | right | center | justify | match-parent ] ] | inherit | initial i.e in NB, *text-align: start right;* will not show valid CSS, but *text-align: start;* will show as an error. This appears to be the wrong way around. Confirmed via W3C validator that what NB allows, *text-align: start right;*, is invalid CSS. Suspect the NB parser was based on an earlier draft of the CSS3 spec !textalignerror.PNG! ? > CSS text-align poroperty value start is unsupported > --------------------------------------------------- > > Key: NETBEANS-1457 > URL: https://issues.apache.org/jira/browse/NETBEANS-1457 > 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: textalignerror.PNG > > > The following code shows as a warning cause of start value for text-align > property > {code:java} > .tooltip { > text-align: start; > } > {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