| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| 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. |
| |
| --> |
| <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:js="library://ns.apache.org/royale/basic" |
| xmlns:html="library://ns.apache.org/royale/html" > |
| <fx:Style> |
| @namespace "http://www.w3.org/1999/xhtml"; |
| div{ |
| |
| } |
| h1{font-size: 32px; margin: .67em 0 } |
| h2{font-size: 24px; margin: .75em 0 } |
| h3{font-size: 19px; margin: .83em 0 } |
| h4{font-size: 16px; margin: .1em 0 } |
| h5{font-size: 14px; margin: 1.5em 0 } |
| h6{font-size: 13px; margin: 1.67em 0 } |
| h1, h2, h3, h4, h5, h6{ |
| font-weight: bolder; |
| } |
| </fx:Style> |
| <js:valuesImpl> |
| <js:SimpleCSSValuesImpl /> |
| </js:valuesImpl> |
| <js:initialView> |
| <js:View> |
| <html:Div> |
| <html:H1 text="Header 1"/> |
| <html:H2 text="Header 2"/> |
| <html:H3 text="Header 3"/> |
| <html:H4 text="Header 4"/> |
| <html:H5 text="Header 5"/> |
| <html:H6 text="Header 6"/> |
| </html:Div> |
| </js:View> |
| </js:initialView> |
| </js:Application> |