changeset 7764:d7373a5e9cd9 8u40-b02

RT-38345: [CSS] Warning messages from CSS on touch devices Reviewed by: kevin, lisa
author David Grieve<david.grieve@oracle.com>
date Mon, 18 Aug 2014 12:30:28 -0400
parents 0fdd457a9e04
children 45c06f9196c4 0f946155b41b ffedbb480817
files modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java	Mon Aug 18 14:25:46 2014 +0200
+++ b/modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java	Mon Aug 18 12:30:28 2014 -0400
@@ -883,7 +883,9 @@
                     // If the value is a lookup, make sure to use the lower-case text so it matches the property
                     // in the Declaration. If the value is not a lookup, then use str since the value might
                     // be a string which could have some case sensitive meaning
-                    value = new ParsedValueImpl<String,String>(needsLookup ? text : str, null, needsLookup);
+                    //
+                    // TODO: isIdent is needed here because of RT-38345. This effectively undoes RT-38201
+                    value = new ParsedValueImpl<String,String>(needsLookup ? text : str, null, isIdent || needsLookup);
                 }
             }
             break;