Mercurial > urweb
annotate tests/xcomments.ur @ 2062:795b5b75453c
Add 'role' data attribute.
Note, that 'role' attribute is a part of reach ARIA API described here:
http://www.w3.org/TR/wai-aria/
Among 'role', it defines lots of aria-* attributes
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Mon, 07 Jul 2014 10:05:04 +0400 |
parents | 43ca083678f8 |
children |
rev | line source |
---|---|
adam@1283 | 1 fun foo () = <xml>Hi!</xml> |
adam@1283 | 2 |
adam@1283 | 3 (* fun bar () = return (* No *)<xml>Yes!</xml> *) |
adam@1283 | 4 |
adam@1283 | 5 fun main () = return <xml><body> |
adam@1283 | 6 A (* B *) C (* D (* E *) F *) D<br/> |
adam@1284 | 7 <b>A</b> <i>(* B *) C <b>D (* E <!-- 7 --> *) F {foo ()}</b></i> |
adam@1284 | 8 A <!-- B --> C <!-- D (* E *) F --> D<br/> |
adam@1284 | 9 <b>A</b> <i><!-- B --> C <b>D <!-- E --> F {foo ()}</b></i> |
adam@1283 | 10 </body></xml> |