mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
bring back and deprecate hgroup element (WEB-23578)
This commit is contained in:
@@ -341,6 +341,11 @@ common.attrs.other =
|
||||
}+
|
||||
}
|
||||
|
||||
## color for <link rel="mask-icon"> and <meta name="theme-color">
|
||||
|
||||
common.data.color =
|
||||
w:color
|
||||
|
||||
## MIME types
|
||||
|
||||
common.data.mimetype =
|
||||
|
||||
@@ -162,6 +162,7 @@ datatypes w = "http://whattf.org/datatype-draft"
|
||||
& shared-hyperlink.attrs.type?
|
||||
& referrerpolicy?
|
||||
& link.attrs.sizes?
|
||||
& link.attrs.color?
|
||||
# link.attrs.title included in common.attrs
|
||||
& embedded.content.attrs.crossorigin?
|
||||
& ( common.attrs.aria.role.link
|
||||
@@ -207,6 +208,10 @@ datatypes w = "http://whattf.org/datatype-draft"
|
||||
attribute sizes {
|
||||
w:string "any" | common.data.sizes
|
||||
}
|
||||
link.attrs.color =
|
||||
attribute color {
|
||||
common.data.color
|
||||
}
|
||||
link.inner =
|
||||
( empty )
|
||||
|
||||
|
||||
@@ -107,6 +107,31 @@
|
||||
|
||||
common.elem.flow |= h6.elem
|
||||
|
||||
## Heading Group: <hgroup>
|
||||
|
||||
hgroup.elem =
|
||||
element hgroup { hgroup.inner & hgroup.attrs } & nonW3C
|
||||
hgroup.attrs =
|
||||
( common.attrs
|
||||
& ( common.attrs.aria.implicit.heading
|
||||
| common.attrs.aria.role.heading
|
||||
| common.attrs.aria.role.tab
|
||||
| common.attrs.aria.role.presentation
|
||||
)?
|
||||
)
|
||||
hgroup.inner =
|
||||
( ( h1.elem
|
||||
| h2.elem
|
||||
| h3.elem
|
||||
| h4.elem
|
||||
| h5.elem
|
||||
| h6.elem
|
||||
)
|
||||
& common.elem.script-supporting*
|
||||
)+
|
||||
|
||||
common.elem.flow |= hgroup.elem
|
||||
|
||||
# #####################################################################
|
||||
## Section Meta
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
--- /Users/denofevil/Code/sandbox/checker/syntax/relaxng/sectional.rnc 2014-01-24 12:18:24.000000000 +0400
|
||||
+++ html5/sectional.rnc 2014-01-24 14:06:03.000000000 +0400
|
||||
@@ -107,31 +107,6 @@
|
||||
|
||||
common.elem.flow |= h6.elem
|
||||
|
||||
-## Heading Group: <hgroup>
|
||||
-
|
||||
- hgroup.elem =
|
||||
- element hgroup { hgroup.inner & hgroup.attrs } & nonW3C
|
||||
- hgroup.attrs =
|
||||
- ( common.attrs
|
||||
- & ( common.attrs.aria.implicit.heading
|
||||
- | common.attrs.aria.role.heading
|
||||
- | common.attrs.aria.role.tab
|
||||
- | common.attrs.aria.role.presentation
|
||||
- )?
|
||||
- )
|
||||
- hgroup.inner =
|
||||
- ( ( h1.elem
|
||||
- | h2.elem
|
||||
- | h3.elem
|
||||
- | h4.elem
|
||||
- | h5.elem
|
||||
- | h6.elem
|
||||
- )
|
||||
- & common.elem.script-supporting*
|
||||
- )+
|
||||
-
|
||||
- common.elem.flow |= hgroup.elem
|
||||
-
|
||||
# #####################################################################
|
||||
## Section Meta
|
||||
|
||||
Reference in New Issue
Block a user