Define as option the type attribute of image

issue10140
This commit is contained in:
Cédric Krier committed 2021-03-20 12:50:28 +01:00
1 parent 71dcac9bbc
commit aa6037385f
2 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ attlist.field &=
attlist.field &= attribute symbol { text }?
image = element image { attlist.image, empty }
attlist.image &= attribute name { text }
attlist.image &= [a:defaultValue = "icon"] attribute type { "icon" | "url" }
attlist.image &= [a:defaultValue = "icon"] attribute type { "icon" | "url" }?
attlist.affix &= attribute url_size { text }?
attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }?
attlist.image &=
+9 -7
View File
@@ -506,13 +506,15 @@
</attribute>
</define>
<define name="attlist.image" combine="interleave">
<attribute a:defaultValue="icon">
<name ns="">type</name>
<choice>
<value>icon</value>
<value>url</value>
</choice>
</attribute>
<optional>
<attribute a:defaultValue="icon">
<name ns="">type</name>
<choice>
<value>icon</value>
<value>url</value>
</choice>
</attribute>
</optional>
</define>
<define name="attlist.affix" combine="interleave">
<optional>