This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 4fdacaea1 CSSTree: fix CSS attribute selectors that use an identifier
instead of a string (closes apache/royale-asjs#108)
4fdacaea1 is described below
commit 4fdacaea1500da1bbadf666c06b28a90118522df
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Feb 23 10:08:26 2026 -0800
CSSTree: fix CSS attribute selectors that use an identifier instead of a
string (closes apache/royale-asjs#108)
Example: input[type=range] instead of input[type="range"]
It was appending the string, but assigning the identifier, so the attribute
name and operator were getting forgotten when using an identifier.
---
.../src/main/antlr3/org/apache/royale/compiler/internal/css/CSSTree.g | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/compiler/src/main/antlr3/org/apache/royale/compiler/internal/css/CSSTree.g
b/compiler/src/main/antlr3/org/apache/royale/compiler/internal/css/CSSTree.g
index b027a44fe..3a68dd53e 100644
--- a/compiler/src/main/antlr3/org/apache/royale/compiler/internal/css/CSSTree.g
+++ b/compiler/src/main/antlr3/org/apache/royale/compiler/internal/css/CSSTree.g
@@ -589,7 +589,7 @@ attributeValue
: s = STRING
{ curAttribute += $s.text; }
| s1 = ID
- { curAttribute = $s1.text; }
+ { curAttribute += $s1.text; }
;