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

commit 20e76838b080081f4fbc4e328186fcb08edd0143
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Oct 15 14:56:06 2025 -0700

    compiler-jx: some more tests for CSS attributes
---
 compiler-jx/src/test/resources/royale/files/CSSTestSource.css  |  8 ++++++++
 .../resources/royale/files/CSSTestSource_encoded_result.txt    |  8 ++++++++
 .../src/test/resources/royale/files/CSSTestSource_result.css   | 10 ++++++++++
 3 files changed, 26 insertions(+)

diff --git a/compiler-jx/src/test/resources/royale/files/CSSTestSource.css 
b/compiler-jx/src/test/resources/royale/files/CSSTestSource.css
index c68648728..d5626ddae 100755
--- a/compiler-jx/src/test/resources/royale/files/CSSTestSource.css
+++ b/compiler-jx/src/test/resources/royale/files/CSSTestSource.css
@@ -170,4 +170,12 @@ p:not(.primary) {
 
 #my-id ~ h1:first-child span.subtitle {
   color: #fff;
+}
+
+[href*="example.com"] {
+  color: #fff;
+}
+
+a[title] {
+  color: #fff;
 }
\ No newline at end of file
diff --git 
a/compiler-jx/src/test/resources/royale/files/CSSTestSource_encoded_result.txt 
b/compiler-jx/src/test/resources/royale/files/CSSTestSource_encoded_result.txt
index 3b08e57fe..b2cb32f5d 100755
--- 
a/compiler-jx/src/test/resources/royale/files/CSSTestSource_encoded_result.txt
+++ 
b/compiler-jx/src/test/resources/royale/files/CSSTestSource_encoded_result.txt
@@ -156,5 +156,13 @@ function() {this["color"] = 16777215},
 0,
 1,
 "span.subtitle",
+function() {this["color"] = 16777215},
+0,
+1,
+"[href*=\"example.com\"]",
+function() {this["color"] = 16777215},
+0,
+1,
+"a[title]",
 function() {this["color"] = 16777215}];
 
diff --git 
a/compiler-jx/src/test/resources/royale/files/CSSTestSource_result.css 
b/compiler-jx/src/test/resources/royale/files/CSSTestSource_result.css
index 1a10074d3..b9af121c6 100755
--- a/compiler-jx/src/test/resources/royale/files/CSSTestSource_result.css
+++ b/compiler-jx/src/test/resources/royale/files/CSSTestSource_result.css
@@ -193,4 +193,14 @@ p:not(.primary) {
 }
 
 
+[href*="example.com"] {
+        color: #fff;
+}
+
+
+a[title] {
+        color: #fff;
+}
+
+
 

Reply via email to