- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 02 Feb 2010 17:04:56 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/schema
In directory hutz:/tmp/cvs-serv29618/schema
Modified Files:
applications.rnc assertions.sch
Log Message:
added figcaption and summary; made tweaks to build files so that we can generate a WHATWG copy
Index: applications.rnc
===================================================================
RCS file: /sources/public/html5/markup/schema/applications.rnc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- applications.rnc 28 Jan 2010 17:11:53 -0000 1.2
+++ applications.rnc 2 Feb 2010 17:04:54 -0000 1.3
@@ -243,3 +243,31 @@
common.elem.flow |= canvas.elem.flow
common.elem.phrasing |= canvas.elem.phrasing
+## Additional On-Demand Information: <details>
+
+ details.elem =
+ element details { details.inner & details.attrs }
+ details.attrs =
+ ( common.attrs
+ & details.attrs.open?
+ & common.attrs.aria.implicit.region?
+ )
+ details.attrs.open =
+ attribute open {
+ w:string "open" | w:string ""
+ }
+ details.inner =
+ ( summary.elem?
+ , common.inner.flow
+ )
+
+ common.elem.flow |= details.elem
+
+## Caption/summary for details element: <summary>
+
+ summary.elem =
+ element summary { summary.inner & summary.attrs }
+ summary.attrs =
+ ( common.attrs )
+ summary.inner =
+ ( common.inner.phrasing )
Index: assertions.sch
===================================================================
RCS file: /sources/public/html5/markup/schema/assertions.sch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- assertions.sch 1 Feb 2010 11:33:27 -0000 1.3
+++ assertions.sch 2 Feb 2010 17:04:54 -0000 1.4
@@ -19,59 +19,6 @@
“dir” attribute.
</assert>
</rule>
-
- <!-- * <rule context='h:img'> -->
- <!-- * <assert test='@src'> -->
- <!-- * An “img” element must have a -->
- <!-- * “src” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:link'> -->
- <!-- * <assert test='@href'> -->
- <!-- * A “link” element must have an “href” attribute. -->
- <!-- * </assert> -->
- <!-- * <assert test='@rel'> -->
- <!-- * A “link” element must have a “rel” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:map'> -->
- <!-- * <assert test='@name'> -->
- <!-- * A “map” element must have a “name” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:meter'> -->
- <!-- * <assert test='@value'> -->
- <!-- * An “meter” element must have a -->
- <!-- * “value” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:object'> -->
- <!-- * <assert test='@data or @type'> -->
- <!-- * An “object” element must have a -->
- <!-- * “data” attribute or a -->
- <!-- * “type” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:param'> -->
- <!-- * <assert test='@name'> -->
- <!-- * A “param” element must have an “name” attribute. -->
- <!-- * </assert> -->
- <!-- * <assert test='@value'> -->
- <!-- * A “param” element must have a “value” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
-<!-- * -->
- <!-- * <rule context='h:source'> -->
- <!-- * <assert test='@src'> -->
- <!-- * A “source” element must have a -->
- <!-- * “src” attribute. -->
- <!-- * </assert> -->
- <!-- * </rule> -->
</pattern>
<pattern name='Triggered on mutually exclusive elements and prohibited-descendant cases'>
Received on Tuesday, 2 February 2010 17:05:02 UTC