Skip to content

Commit 70576f7

Browse files
committed
Update dtd to support <details> and <summary> in tests
1 parent 6ffdab8 commit 70576f7

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

testing/dtd/xhtml1-transitional.dtd

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
- added picture tag
3636
- added source tag
3737
- adjusted possible children of a number of elements so they support the picture tag
38+
- added details and summary tag
3839
-->
3940

4041
<!--================ Character mnemonic entities =========================-->
@@ -211,7 +212,7 @@
211212
<!--=================== Text Elements ====================================-->
212213

213214
<!ENTITY % special.extra
214-
"object | applet | img | map | iframe | picture">
215+
"object | applet | img | map | iframe | picture | details | summary">
215216

216217
<!ENTITY % special.basic
217218
"br | span | bdo">
@@ -252,7 +253,7 @@
252253
<!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
253254

254255
<!ENTITY % block
255-
"p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
256+
"p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table | details | summary">
256257

257258
<!-- %Flow; mixes block and inline and is used for list items etc. -->
258259
<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc; | picture)*">
@@ -446,6 +447,18 @@
446447
%TextAlign;
447448
>
448449

450+
<!ELEMENT details %Flow;> <!-- generic language/style container -->
451+
<!ATTLIST details
452+
%attrs;
453+
%TextAlign;
454+
>
455+
456+
<!ELEMENT summary %Flow;> <!-- generic language/style container -->
457+
<!ATTLIST summary
458+
%attrs;
459+
%TextAlign;
460+
>
461+
449462
<!--=================== Paragraphs =======================================-->
450463

451464
<!ELEMENT p %Inline;>

0 commit comments

Comments
 (0)