This is an automated email from the ASF dual-hosted git repository.

greg-dove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 48f3172731b4e46b9f0ad9966ba5e455cee05584
Author: greg-dove <[email protected]>
AuthorDate: Mon Apr 27 16:10:22 2026 +1200

    fix for BoxSizing generating empty declaration.
---
 .../royale/org/apache/royale/style/stylebeads/layout/BoxSizing.as     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/BoxSizing.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/BoxSizing.as
index bd3e3f8b00..a9867d4508 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/BoxSizing.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/BoxSizing.as
@@ -32,8 +32,8 @@ package org.apache.royale.style.stylebeads.layout
                {
                        _value = value;
                        assert(value == "border-box" || value == "content-box", 
"box-sizing must be 'border-box' or 'content-box'");
-                       calculatedSelector = value;
-                       calculatedRuleValue = value.slice(0, -4); // remove 
"-box" from the end of the value for the rule
+                       calculatedSelector = value.slice(0, -4); // remove 
"-box" from the end of the value for the selector
+                       calculatedRuleValue = value;
                }
        }
 }
\ No newline at end of file

Reply via email to