This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new bbdd1ee003 interact
bbdd1ee003 is described below
commit bbdd1ee0033db703fab630f5011ea5cdac64544f
Author: Harbs <[email protected]>
AuthorDate: Wed Feb 25 16:24:27 2026 +0200
interact
---
.../style/stylebeads/interact/AccentColor.as | 58 ++++++++++++++++++++++
.../royale/style/stylebeads/interact/Appearance.as | 36 ++++++++++++++
.../royale/style/stylebeads/interact/CaretColor.as | 58 ++++++++++++++++++++++
.../style/stylebeads/interact/ColorScheme.as | 39 +++++++++++++++
.../royale/style/stylebeads/interact/Cursor.as | 37 ++++++++++++++
.../style/stylebeads/interact/FieldSizing.as | 37 ++++++++++++++
.../style/stylebeads/interact/PointerEvents.as | 37 ++++++++++++++
.../royale/style/stylebeads/interact/Resize.as | 52 +++++++++++++++++++
.../style/stylebeads/interact/ScrollBehavior.as | 37 ++++++++++++++
.../style/stylebeads/interact/ScrollMargin.as | 36 ++++++++++++++
.../style/stylebeads/interact/ScrollPadding.as | 36 ++++++++++++++
.../style/stylebeads/interact/ScrollSnapAlign.as | 41 +++++++++++++++
.../style/stylebeads/interact/ScrollSnapStop.as | 37 ++++++++++++++
.../style/stylebeads/interact/ScrollSnapType.as | 37 ++++++++++++++
.../style/stylebeads/interact/TouchAction.as | 37 ++++++++++++++
.../royale/style/stylebeads/interact/UserSelect.as | 36 ++++++++++++++
.../royale/style/stylebeads/interact/WillChange.as | 42 ++++++++++++++++
17 files changed, 693 insertions(+)
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/AccentColor.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/AccentColor.as
new file mode 100644
index 0000000000..a538401831
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/AccentColor.as
@@ -0,0 +1,58 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class AccentColor extends SingleStyleBase
+ {
+ public function AccentColor()
+ {
+ super("accent-color", "accent-color");
+ }
+ override public function set value(value:*):void
+ {
+ var isVar:Boolean = CSSLookup.has(value);
+ assert(isVar ||
['black','white','inherit','currentColor','transparent'].indexOf(value) != -1,
"Invalid value for accent-color: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ if(isVar)
+ calculatedRuleValue =
CSSLookup.getProperty(value);
+ else
+ {
+ switch(value)
+ {
+ case "black":
+ calculatedRuleValue = "#000";
+ break;
+ case "white":
+ calculatedRuleValue = "#fff";
+ break;
+ case "inherit":
+ case "currentColor":
+ case "transparent":
+ break;
+ default:
+ assert(false, "Invalid value
for accent-color: " + value);
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Appearance.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Appearance.as
new file mode 100644
index 0000000000..842fdfc00f
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Appearance.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+
+ public class Appearance extends SingleStyleBase
+ {
+ public function Appearance()
+ {
+ super("appearance", "appearance");
+ }
+ override public function set value(value:*):void
+ {
+ assert(['auto','none'].indexOf(value) != -1, "Invalid
value for appearance: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/CaretColor.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/CaretColor.as
new file mode 100644
index 0000000000..41bad6de76
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/CaretColor.as
@@ -0,0 +1,58 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class CaretColor extends SingleStyleBase
+ {
+ public function CaretColor()
+ {
+ super("caret", "caret-color");
+ }
+ override public function set value(value:*):void
+ {
+ var isVar:Boolean = CSSLookup.has(value);
+ assert(isVar ||
['black','white','inherit','currentColor','transparent'].indexOf(value) != -1,
"Invalid value for accent-color: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ if(isVar)
+ calculatedRuleValue =
CSSLookup.getProperty(value);
+ else
+ {
+ switch(value)
+ {
+ case "black":
+ calculatedRuleValue = "#000";
+ break;
+ case "white":
+ calculatedRuleValue = "#fff";
+ break;
+ case "inherit":
+ case "currentColor":
+ case "transparent":
+ break;
+ default:
+ assert(false, "Invalid value
for accent-color: " + value);
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ColorScheme.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ColorScheme.as
new file mode 100644
index 0000000000..a915330359
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ColorScheme.as
@@ -0,0 +1,39 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ColorScheme extends SingleStyleBase
+ {
+ public function ColorScheme()
+ {
+ super("scheme", "color-scheme");
+ }
+ override public function set value(value:*):void
+ {
+ var isVar:Boolean = CSSLookup.has(value);
+ assert(["normal","dark","light","light dark","only
dark","only light"].indexOf(value) != -1, "Invalid value for color-scheme: " +
value);
+ calculatedRuleValue = _value = value;
+ calculatedSelector = value.replace(" ", "-");
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Cursor.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Cursor.as
new file mode 100644
index 0000000000..54c96da65a
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Cursor.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class Cursor extends SingleStyleBase
+ {
+ public function Cursor()
+ {
+ super("cursor", "cursor");
+ }
+ override public function set value(value:*):void
+ {
+
assert(["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"].indexOf(value)
!= -1, "Invalid value for cursor: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/FieldSizing.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/FieldSizing.as
new file mode 100644
index 0000000000..780292007b
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/FieldSizing.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class FieldSizing extends SingleStyleBase
+ {
+ public function FieldSizing()
+ {
+ super("field-sizing", "field-sizing");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["fixed","content"].indexOf(value) != -1,
"Invalid value for field-sizing: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/PointerEvents.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/PointerEvents.as
new file mode 100644
index 0000000000..8ed783da52
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/PointerEvents.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class PointerEvents extends SingleStyleBase
+ {
+ public function PointerEvents()
+ {
+ super("pointer-events", "pointer-events");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["auto","none"].indexOf(value) != -1, "Invalid
value for pointer-events: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Resize.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Resize.as
new file mode 100644
index 0000000000..e172ccb323
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/Resize.as
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class Resize extends SingleStyleBase
+ {
+ public function Resize()
+ {
+ super("resize", "resize");
+ }
+ override public function set value(value:*):void
+ {
+
assert(["none","both","horizontal","vertical"].indexOf(value) != -1, "Invalid
value for resize: " + value);
+ calculatedRuleValue = _value = value;
+ switch(value)
+ {
+ case "none":
+ calculatedSelector = "none";
+ break;
+ case "both":
+ calculatedSelector = "";
+ break;
+ case "horizontal":
+ calculatedSelector = "x";
+ break;
+ case "vertical":
+ calculatedSelector = "y";
+ break;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollBehavior.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollBehavior.as
new file mode 100644
index 0000000000..dd5209adbc
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollBehavior.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollBehavior extends SingleStyleBase
+ {
+ public function ScrollBehavior()
+ {
+ super("scroll", "scroll-behavior");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["auto","smooth"].indexOf(value) != -1, "Invalid
value for scroll-behavior: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollMargin.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollMargin.as
new file mode 100644
index 0000000000..83504a91d6
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollMargin.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollMargin extends SingleStyleBase
+ {
+ public function ScrollMargin()
+ {
+ super("scroll", "scroll-margin");
+ }
+ //TODO:
+ override public function set value(value:*):void
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollPadding.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollPadding.as
new file mode 100644
index 0000000000..5374d045f0
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollPadding.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollPadding extends SingleStyleBase
+ {
+ public function ScrollPadding()
+ {
+ super("scroll", "scroll-padding");
+ }
+ //TODO add all the scroll padding variants
+ override public function set value(value:*):void
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapAlign.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapAlign.as
new file mode 100644
index 0000000000..d15d6b9c6d
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapAlign.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollSnapAlign extends SingleStyleBase
+ {
+ public function ScrollSnapAlign()
+ {
+ super("snap", "scroll-snap-align");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["none","start","end","center"].indexOf(value)
!= -1, "Invalid value for scroll-snap-align: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ if(value == "none")
+ {
+ calculatedSelector = "align-none";
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapStop.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapStop.as
new file mode 100644
index 0000000000..5308e79587
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapStop.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollSnapStop extends SingleStyleBase
+ {
+ public function ScrollSnapStop()
+ {
+ super("snap", "scroll-snap-stop");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["normal","always"].indexOf(value) != -1,
"Invalid value for scroll-snap-stop: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapType.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapType.as
new file mode 100644
index 0000000000..cf0727f2ce
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/ScrollSnapType.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class ScrollSnapType extends SingleStyleBase
+ {
+ public function ScrollSnapType()
+ {
+ super("snap", "scroll-snap-type");
+ }
+ override public function set value(value:*):void
+ {
+ assert(["normal","always"].indexOf(value) != -1,
"Invalid value for scroll-snap-type: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/TouchAction.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/TouchAction.as
new file mode 100644
index 0000000000..0f86a8c317
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/TouchAction.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class TouchAction extends SingleStyleBase
+ {
+ public function TouchAction()
+ {
+ super("touch", "touch-action");
+ }
+ override public function set value(value:*):void
+ {
+
assert(["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-zoom","manipulation"].indexOf(value)
!= -1, "Invalid value for touch-action: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/UserSelect.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/UserSelect.as
new file mode 100644
index 0000000000..a31f66646d
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/UserSelect.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+
+ public class UserSelect extends SingleStyleBase
+ {
+ public function UserSelect()
+ {
+ super("select", "user-select");
+ }
+ override public function set value(value:*):void
+ {
+ assert(['auto','none','text','all'].indexOf(value) !=
-1, "Invalid value for user-select: " + value);
+ calculatedRuleValue = calculatedSelector = _value =
value;
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/WillChange.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/WillChange.as
new file mode 100644
index 0000000000..c2407960a7
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/interact/WillChange.as
@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.interact
+{
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.CSSLookup;
+
+ public class WillChange extends SingleStyleBase
+ {
+ public function WillChange()
+ {
+ super("will-change", "will-change");
+ }
+ [Inspectable(category="General",
enumeration="auto,scroll-position,contents,transform", defaultValue="auto")]
+ override public function set value(value:*):void
+ {
+ var isVar:Boolean = CSSLookup.has(value);
+ calculatedSelector = _value = value;
+ if(value == "scroll-position")
+ calculatedSelector = "scroll";
+
+ calculatedRuleValue = isVar ?
CSSLookup.getProperty(value) : value;
+ }
+ }
+}
\ No newline at end of file