From 05e7b6b11bcab2427b4961f7b1131799772330ad Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Thu, 21 Apr 2005 11:41:00 +0000 Subject: [PATCH] Allow common attributes on HTML table elements; allow orient, pgwide, tabstyle, and floatstyle on HTML table element --- docbook/relaxng/docbook/src/htmltbl.rnc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docbook/relaxng/docbook/src/htmltbl.rnc b/docbook/relaxng/docbook/src/htmltbl.rnc index 1206a80b9..8aa89d253 100644 --- a/docbook/relaxng/docbook/src/htmltbl.rnc +++ b/docbook/relaxng/docbook/src/htmltbl.rnc @@ -40,7 +40,11 @@ db.html.events &= attribute onkeydown { text }?, attribute onkeyup { text }? -db.html.attrs &= db.html.coreattrs, db.html.i18n, db.html.events +db.html.attrs = + db.common.attributes + & db.html.coreattrs + & db.html.i18n + & db.html.events db.html.cellhalign &= attribute align { "left" | "center" | "right" | "justify" | "char" }?, @@ -73,6 +77,10 @@ div { db.html.table.attlist = db.html.attrs + & db.orient.attribute? + & db.pgwide.attribute? + & db.tabstyle.attribute? + & db.floatstyle.attribute? & attribute summary { text }? & attribute width { text }? & attribute border { text }? @@ -326,4 +334,3 @@ div { (db.all.inlines* | db.all.blocks*) } } - -- 2.49.0