- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 02 Feb 2010 05:22:37 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/schema
In directory hutz:/tmp/cvs-serv301/schema
Modified Files:
media.rnc
Log Message:
added figure and figcaption
Index: media.rnc
===================================================================
RCS file: /sources/public/html5/markup/schema/media.rnc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- media.rnc 28 Jan 2010 17:11:53 -0000 1.2
+++ media.rnc 2 Feb 2010 05:22:34 -0000 1.3
@@ -110,3 +110,26 @@
common.elem.flow |= audio.elem.flow
common.elem.phrasing |= audio.elem.phrasing
+## Captioned Content: <figure>
+
+ figure.elem =
+ element figure { figure.inner & figure.attrs }
+ figure.attrs =
+ ( common.attrs
+ & common.attrs.aria.implicit.img?
+ )
+ figure.inner =
+ ( ( figcaption.elem, common.inner.flow )
+ | ( common.inner.flow, figcaption.elem? )
+ )
+
+ common.elem.flow |= figure.elem
+
+## Figure caption: <figcaption>
+
+ figcaption.elem =
+ element figcaption { figcaption.inner & figcaption.attrs }
+ figcaption.attrs =
+ ( common.attrs )
+ figcaption.inner =
+ ( common.inner.phrasing )
Received on Tuesday, 2 February 2010 05:22:39 UTC