This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 9725763 html: add footer tag
9725763 is described below
commit 97257630141a774225c0ebfb2b4d26852f005127
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Jan 28 11:36:48 2020 +0100
html: add footer tag
---
.../HTML/src/main/resources/html-manifest.xml | 1 +
.../org/apache/royale/html/elements/Footer.as | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/frameworks/projects/HTML/src/main/resources/html-manifest.xml
b/frameworks/projects/HTML/src/main/resources/html-manifest.xml
index 87367e5..24072b4 100644
--- a/frameworks/projects/HTML/src/main/resources/html-manifest.xml
+++ b/frameworks/projects/HTML/src/main/resources/html-manifest.xml
@@ -31,6 +31,7 @@
<component id="Colgroup" class="org.apache.royale.html.elements.Colgroup"
/>
<component id="Div" class="org.apache.royale.html.elements.Div" />
<component id="Em" class="org.apache.royale.html.elements.Em" />
+ <component id="Footer" class="org.apache.royale.html.elements.Footer" />
<component id="Form" class="org.apache.royale.html.elements.Form" />
<component id="Header" class="org.apache.royale.html.elements.Header" />
<component id="H1" class="org.apache.royale.html.elements.H1" />
diff --git
a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/elements/Footer.as
b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/elements/Footer.as
new file mode 100644
index 0000000..b665156
--- /dev/null
+++
b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/elements/Footer.as
@@ -0,0 +1,60 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.html.elements
+{
+ COMPILE::JS
+ {
+ import org.apache.royale.core.WrappedHTMLElement;
+ import org.apache.royale.html.util.addElementToWrapper;
+ }
+ import org.apache.royale.html.NodeElementBase;
+ import org.apache.royale.html.TextNodeContainerBase;
+
+ /**
+ * The Footer class represents an HTML <footer> element
+ *
+ *
+ * @toplevel
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion Royale 0.9.7
+ */
+ public class Footer extends TextNodeContainerBase
+ {
+ /**
+ * constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion Royale 0.9.7
+ */
+ public function Footer()
+ {
+ super();
+ }
+
+ COMPILE::JS
+ override protected function createElement():WrappedHTMLElement
+ {
+ return addElementToWrapper(this,'footer');
+ }
+ }
+}