Add states attribute to notebook

review485002
This commit is contained in:
Cédric Krier
2012-09-10 14:59:58 +02:00
parent 28ce541b24
commit fa66090697
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add states attribute to notebook
* Allow to use tuple for Reference
* Add constant interpolation on line graph
* Add create/delete field access
+2
View File
@@ -303,6 +303,8 @@ It adds a notebook widget which can contain page tags.
* ``colspan``: see in common-attributes-colspan_.
* ``states``: see in common-attributes-states_.
page
^^^^
+1
View File
@@ -145,6 +145,7 @@ attlist.button &= attribute name { text }
attlist.button &= attribute states { text }?
notebook = element notebook { attlist.notebook, page* }
attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
attlist.notebook &= attribute states { text }?
page =
element page {
attlist.page,
+5
View File
@@ -566,6 +566,11 @@
<attribute name="colspan" a:defaultValue="4"/>
</optional>
</define>
<define name="attlist.notebook" combine="interleave">
<optional>
<attribute name="states"/>
</optional>
</define>
<define name="page">
<element name="page">
<ref name="attlist.page"/>