W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/markup/schema media.rnc,1.2,1.3

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 02 Feb 2010 05:22:37 +0000
To: public-html-commits@w3.org
Message-Id: <E1NcBDh-00009v-Lh@lionel-hutz.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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 February 2010 05:22:40 GMT