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 8d681617d6 Cleaned up margin
8d681617d6 is described below
commit 8d681617d660df1680c5b0734e5ec12f9d69b001
Author: Harbs <[email protected]>
AuthorDate: Thu Feb 26 01:26:53 2026 +0200
Cleaned up margin
---
.../Style/src/main/resources/basic-manifest.xml | 10 -
.../royale/style/stylebeads/spacing/Margin.as | 356 +++++++++++++++++++--
.../royale/style/stylebeads/spacing/MarginBlock.as | 28 --
.../style/stylebeads/spacing/MarginBlockEnd.as | 28 --
.../style/stylebeads/spacing/MarginBlockStart.as | 28 --
.../style/stylebeads/spacing/MarginBottom.as | 28 --
.../style/stylebeads/spacing/MarginInline.as | 28 --
.../style/stylebeads/spacing/MarginInlineEnd.as | 28 --
.../style/stylebeads/spacing/MarginInlineStart.as | 28 --
.../royale/style/stylebeads/spacing/MarginLeft.as | 28 --
.../royale/style/stylebeads/spacing/MarginRight.as | 28 --
.../royale/style/stylebeads/spacing/MarginTop.as | 28 --
12 files changed, 326 insertions(+), 320 deletions(-)
diff --git a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
index 1495d10698..0a3840ac96 100644
--- a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
@@ -195,16 +195,6 @@
<component id="Visibility"
class="org.apache.royale.style.stylebeads.layout.Visibility"/>
<component id="ZIndex"
class="org.apache.royale.style.stylebeads.layout.ZIndex"/>
<component id="Margin"
class="org.apache.royale.style.stylebeads.spacing.Margin"/>
- <component id="SpacingMarginBlock"
class="org.apache.royale.style.stylebeads.spacing.MarginBlock"/>
- <component id="MarginBlockEnd"
class="org.apache.royale.style.stylebeads.spacing.MarginBlockEnd"/>
- <component id="MarginBlockStart"
class="org.apache.royale.style.stylebeads.spacing.MarginBlockStart"/>
- <component id="MarginBottom"
class="org.apache.royale.style.stylebeads.spacing.MarginBottom"/>
- <component id="SpacingMarginInline"
class="org.apache.royale.style.stylebeads.spacing.MarginInline"/>
- <component id="MarginInlineEnd"
class="org.apache.royale.style.stylebeads.spacing.MarginInlineEnd"/>
- <component id="MarginInlineStart"
class="org.apache.royale.style.stylebeads.spacing.MarginInlineStart"/>
- <component id="MarginLeft"
class="org.apache.royale.style.stylebeads.spacing.MarginLeft"/>
- <component id="MarginRight"
class="org.apache.royale.style.stylebeads.spacing.MarginRight"/>
- <component id="MarginTop"
class="org.apache.royale.style.stylebeads.spacing.MarginTop"/>
<component id="Padding"
class="org.apache.royale.style.stylebeads.spacing.Padding"/>
<component id="Fill" class="org.apache.royale.style.stylebeads.svg.Fill"/>
<component id="BorderCollapse"
class="org.apache.royale.style.stylebeads.tables.BorderCollapse"/>
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Margin.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Margin.as
index b8fff8cce3..70cd884346 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Margin.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Margin.as
@@ -18,47 +18,343 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.royale.style.stylebeads.spacing
{
- import org.apache.royale.style.stylebeads.SingleStyleBase;
- import org.apache.royale.debugging.assert;
- import org.apache.royale.style.util.ThemeManager;
- import org.apache.royale.style.util.CSSUnit;
+ import org.apache.royale.style.stylebeads.CompositeStyle;
- public class Margin extends SingleStyleBase
+ /**
+ * @royalesuppressexport
+ */
+ public class Margin extends CompositeStyle
{
- public function Margin(selectorPrefix:String = "m",
rulePrefix:String = "margin")
+ public function Margin()
{
- super(selectorPrefix, rulePrefix);
+ super();
+ styles = [];
}
public var unit:String = "px";
- private function toSelector(value:String):String
+
+ private var marginStyle:Marg;
+ private var topStyle:Top;
+ private var rightStyle:Right;
+ private var bottomStyle:Bottom;
+ private var leftStyle:Left;
+ private var blockStyle:Block;
+ private var blockStartStyle:BlockStart;
+ private var blockEndStyle:BlockEnd;
+ private var inlineStyle:Inline;
+ private var inlineStartStyle:InlineStart;
+ private var inlineEndStyle:InlineEnd;
+ private var _margin:*;
+
+ public function get margin():*
+ {
+ return _margin;
+ }
+ public function set margin(value:*):void
+ {
+ if(!marginStyle)
+ {
+ marginStyle = new Marg();
+ marginStyle.unit = unit;
+ styles.push(marginStyle);
+ }
+ marginStyle.value = value;
+ _margin = value;
+ }
+ private var _top:*;
+
+ public function get top():*
+ {
+ return _top;
+ }
+
+ public function set top(value:*):void
+ {
+ if(!topStyle)
+ {
+ topStyle = new Top();
+ topStyle.unit = unit;
+ styles.push(topStyle);
+ }
+ topStyle.value = value;
+ _top = value;
+ }
+ private var _right:*;
+
+ public function get right():*
+ {
+ return _right;
+ }
+
+ public function set right(value:*):void
+ {
+ if(!rightStyle)
+ {
+ rightStyle = new Right();
+ rightStyle.unit = unit;
+ styles.push(rightStyle);
+ }
+ rightStyle.value = value;
+ _right = value;
+ }
+ private var _bottom:*;
+
+ public function get bottom():*
+ {
+ return _bottom;
+ }
+
+ public function set bottom(value:*):void
+ {
+ if(!bottomStyle)
+ {
+ bottomStyle = new Bottom();
+ bottomStyle.unit = unit;
+ styles.push(bottomStyle);
+ }
+ bottomStyle.value = value;
+ _bottom = value;
+ }
+ private var _left:*;
+
+ public function get left():*
+ {
+ return _left;
+ }
+
+ public function set left(value:*):void
+ {
+ if(!leftStyle)
+ {
+ leftStyle = new Left();
+ leftStyle.unit = unit;
+ styles.push(leftStyle);
+ }
+ leftStyle.value = value;
+ _left = value;
+ }
+ private var _block:*;
+
+ public function get block():*
+ {
+ return _block;
+ }
+
+ public function set block(value:*):void
+ {
+ if(!blockStyle)
+ {
+ blockStyle = new Block();
+ blockStyle.unit = unit;
+ styles.push(blockStyle);
+ }
+ blockStyle.value = value;
+ _block = value;
+ }
+ private var _blockStart:*;
+
+ public function get blockStart():*
+ {
+ return _blockStart;
+ }
+
+ public function set blockStart(value:*):void
+ {
+ if(!blockStartStyle)
+ {
+ blockStartStyle = new BlockStart();
+ blockStartStyle.unit = unit;
+ styles.push(blockStartStyle);
+ }
+ blockStartStyle.value = value;
+ _blockStart = value;
+ }
+ private var _blockEnd:*;
+
+ public function get blockEnd():*
{
- return value.replace(" ", "-");
+ return _blockEnd;
}
- private var savedPrefix:String;
- override public function set value(value:*):void
+
+ public function set blockEnd(value:*):void
{
- COMPILE::JS
+ if(!blockEndStyle)
{
- var selectorValue:String = value;
- var ruleValue:String = selectorValue;
- assert(selectorValue.indexOf("--") != 0, "css
variables for grid-template-columns not yet supported: " + value);
- if(int(value) == value)
+ blockEndStyle = new BlockEnd();
+ blockEndStyle.unit = unit;
+ styles.push(blockEndStyle);
+ }
+ blockEndStyle.value = value;
+ _blockEnd = value;
+ }
+ private var _inline:*;
+
+ public function get inline():*
+ {
+ return _inline;
+ }
+
+ public function set inline(value:*):void
+ {
+ if(!inlineStyle)
+ {
+ inlineStyle = new Inline();
+ inlineStyle.unit = unit;
+ styles.push(inlineStyle);
+ }
+ inlineStyle.value = value;
+ _inline = value;
+ }
+ private var _inlineStart:*;
+
+ public function get inlineStart():*
+ {
+ return _inlineStart;
+ }
+
+ public function set inlineStart(value:*):void
+ {
+ if(!inlineStartStyle)
+ {
+ inlineStartStyle = new InlineStart();
+ inlineStartStyle.unit = unit;
+ styles.push(inlineStartStyle);
+ }
+ inlineStartStyle.value = value;
+ _inlineStart = value;
+ }
+ private var _inlineEnd:*;
+
+ public function get inlineEnd():*
+ {
+ return _inlineEnd;
+ }
+
+ public function set inlineEnd(value:*):void
+ {
+ if(!inlineEndStyle)
+ {
+ inlineEndStyle = new InlineEnd();
+ inlineEndStyle.unit = unit;
+ styles.push(inlineEndStyle);
+ }
+ inlineEndStyle.value = value;
+ _inlineEnd = value;
+ }
+ }
+}
+
+
+import org.apache.royale.style.stylebeads.SingleStyleBase;
+import org.apache.royale.debugging.assert;
+import org.apache.royale.style.util.ThemeManager;
+import org.apache.royale.style.util.CSSUnit;
+
+class Marg extends SingleStyleBase
+{
+ public function Marg(selectorPrefix:String = "m", rulePrefix:String =
"margin")
+ {
+ super(selectorPrefix, rulePrefix);
+ }
+ public var unit:String = "px";
+ private function toSelector(value:String):String
+ {
+ return value.replace(" ", "-");
+ }
+ private var savedPrefix:String;
+ override public function set value(value:*):void
+ {
+ COMPILE::JS
+ {
+ var selectorValue:String = value;
+ var ruleValue:String = selectorValue;
+ assert(selectorValue.indexOf("--") != 0, "css variables
for grid-template-columns not yet supported: " + value);
+ if(int(value) == value)
+ {
+ if(value < 0)
{
- if(value < 0)
- {
- if(!savedPrefix)
- savedPrefix =
_selectorPrefix;
-
- _selectorPrefix = "-" +
savedPrefix;
- selectorValue = "" + (-value);
- }
- var pixelValue:Number =
ThemeManager.instance.activeTheme.spacing * value;
- ruleValue = CSSUnit.convert(pixelValue,
CSSUnit.PX, unit) + unit;
+ if(!savedPrefix)
+ savedPrefix = _selectorPrefix;
+
+ _selectorPrefix = "-" + savedPrefix;
+ selectorValue = "" + (-value);
}
- _value = value;
- calculatedRuleValue = ruleValue.trim();
- calculatedSelector =
toSelector(selectorValue.trim());
+ var pixelValue:Number =
ThemeManager.instance.activeTheme.spacing * value;
+ ruleValue = CSSUnit.convert(pixelValue,
CSSUnit.PX, unit) + unit;
}
+ _value = value;
+ calculatedRuleValue = ruleValue.trim();
+ calculatedSelector = toSelector(selectorValue.trim());
}
}
-}
\ No newline at end of file
+}
+class Top extends Marg
+{
+ public function Top()
+ {
+ super("mt", "margin-top");
+ }
+}
+class Left extends Marg
+{
+ public function Left()
+ {
+ super("ml", "margin-left");
+ }
+}
+class Right extends Marg
+{
+ public function Right()
+ {
+ super("mr", "margin-right");
+ }
+}
+class Bottom extends Marg
+{
+ public function Bottom()
+ {
+ super("mb", "margin-bottom");
+ }
+}
+class Block extends Marg
+{
+ public function Block()
+ {
+ super("my", "margin-block");
+ }
+}
+class BlockStart extends Marg
+{
+ public function BlockStart()
+ {
+ super("my-start", "margin-block-start");
+ }
+}
+
+class BlockEnd extends Marg
+{
+ public function BlockEnd()
+ {
+ super("my-end", "margin-block-end");
+ }
+}
+class Inline extends Marg
+{
+ public function Inline()
+ {
+ super("mx", "margin-inline");
+ }
+}
+class InlineEnd extends Marg
+{
+ public function InlineEnd()
+ {
+ super("me", "margin-inline-end");
+ }
+}
+class InlineStart extends Marg
+{
+ public function InlineStart()
+ {
+ super("ms", "margin-inline-start");
+ }
+}
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlock.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlock.as
deleted file mode 100644
index f2c49fa4d0..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlock.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginBlock extends Margin
- {
- public function MarginBlock()
- {
- super("my", "margin-block");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockEnd.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockEnd.as
deleted file mode 100644
index cc17006c0c..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockEnd.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginBlockEnd extends Margin
- {
- public function MarginBlockEnd()
- {
- super("mbe", "margin-block-end");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockStart.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockStart.as
deleted file mode 100644
index 09c2561941..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBlockStart.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginBlockStart extends Margin
- {
- public function MarginBlockStart()
- {
- super("mbs", "margin-block-start");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBottom.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBottom.as
deleted file mode 100644
index 48af939c2e..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginBottom.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginBottom extends Margin
- {
- public function MarginBottom()
- {
- super("mb", "margin-bottom");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInline.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInline.as
deleted file mode 100644
index 2c4eb35714..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInline.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginInline extends Margin
- {
- public function MarginInline()
- {
- super("mx", "margin-inline");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineEnd.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineEnd.as
deleted file mode 100644
index e86dc0791b..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineEnd.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginInlineEnd extends Margin
- {
- public function MarginInlineEnd()
- {
- super("me", "margin-inline-end");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineStart.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineStart.as
deleted file mode 100644
index 702b54928b..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginInlineStart.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginInlineStart extends Margin
- {
- public function MarginInlineStart()
- {
- super("ms", "margin-inline-start");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginLeft.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginLeft.as
deleted file mode 100644
index 8ff80898d3..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginLeft.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginLeft extends Margin
- {
- public function MarginLeft()
- {
- super("ml", "margin-left");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginRight.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginRight.as
deleted file mode 100644
index 3c706f8cc4..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginRight.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginRight extends Margin
- {
- public function MarginRight()
- {
- super("mr", "margin-right");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginTop.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginTop.as
deleted file mode 100644
index af28703438..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/MarginTop.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.spacing
-{
- public class MarginTop extends Margin
- {
- public function MarginTop()
- {
- super("mt", "margin-top");
- }
- }
-}
\ No newline at end of file