File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
main/resources/com/adobe/epubcheck/schema/20/rng/xhtml Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 5
5
<define name =" del" >
6
6
<element name =" del" >
7
7
<ref name =" del.attlist" />
8
- <ref name =" Inline .model" />
8
+ <ref name =" Flow .model" />
9
9
</element >
10
10
</define >
11
11
18
18
<element name =" ins" >
19
19
<ref name =" Common.attrib" />
20
20
<ref name =" ins.attlist" />
21
- <ref name =" Inline .model" />
21
+ <ref name =" Flow .model" />
22
22
</element >
23
23
</define >
24
24
Original file line number Diff line number Diff line change
1
+ < ?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+ < html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en ">
4
+ < head >
5
+ < title > Minimal EPUB</ title >
6
+ </ head >
7
+ < body >
8
+ < del datetime ="2011-09-02 ">
9
+ < h1 > Title Old</ h1 >
10
+ </ del >
11
+ < ins datetime ="2011-09-02 ">
12
+ < h1 > Title New</ h1 >
13
+ </ ins >
14
+ < p > Call me Ishmael.</ p >
15
+ </ body >
16
+ </ html >
Original file line number Diff line number Diff line change @@ -76,6 +76,11 @@ Feature: EPUB 2 ▸ Open Publication Structure ▸ XHTML Document Checks
76
76
Scenario : Verify attributes allowed on `ins` and `del` are not restricted (issue 293)
77
77
When checking document 'edit-attributes-valid.xhtml'
78
78
Then no errors or warnings are reported
79
+
80
+ Scenario : Verify `ins` and `del` elements can contain block content
81
+ See https://github.com/w3c/epubcheck/issues/1522
82
+ When checking document 'edit-block-content-valid.xhtml'
83
+ Then no errors or warnings are reported
79
84
80
85
### Identifiers
81
86
You can’t perform that action at this time.
0 commit comments