CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 02:16:01 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/w3c/epubcheck.git
etag: W/"f0c2a4c5cfb4de1049be9d28396b01ac"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=yTTW664XqE5q%2FkDtYYSLScXqbI8L%2BeNp4HExK4%2F44kTFqHgXSak8UyiV%2BiJEYbuYHVWOQ93lS0c2mPMVjIS%2FhzAcd17MgbSvBfkrGbhUvfYUVMh3g8arfxGsVPaQcAsfvT3GNAAl2scuQbFH10ZfZ%2BJ5fEmZS1DUyW%2BBzwiPeGJzoLFz%2BFDMU7yIripaxcXx%2FHRd23gdrMM%2F%2ByMHLFq9C3HJ7rbHM7wcXleHeBLeQW03B%2BBLykeaWd5Uy5tWbYdTFNHQGkgwHNUj%2BdxvLhZbXQ%3D%3D--e0Fcd4zfJMTGgJBh--biSzwnTOl441HRmgOxrdZQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1994255225.1760235360; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 02:16:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 02:16:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DE84:2994BB:B2F182:F06BD0:68EB0F60
feat: check discouraged HTML elements (base, rp, embed) · w3c/epubcheck@afb28cb · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/MessageId.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
Copy file name to clipboardExpand all lines: src/test/resources/epub3/content-document-xhtml.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub3/content-publication.feature
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: src/test/resources/epub3/files/epub/content-xhtml-svg-reference-valid/EPUB/content_001.xhtml
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit afb28cb
committed
feat: check discouraged HTML elements (base, rp, embed)
EPUB 3.3 discourages the use of the following elements:
- `base`
- `rp`
- `embed`
This commits:
- adds a new check HTM-055 to report all uses of discouraged elements
- add tests for discouraged constructs
- tweak existing tests that used discouraged constructs
Fix #12711 parent 8d77b0f commit afb28cbCopy full SHA for afb28cb
File tree
Expand file treeCollapse file tree
10 files changed
+78
-3
lines changedFilter options
- src
- main
- java/com/adobe/epubcheck
- messages
- ops
- resources/com/adobe/epubcheck/messages
- test/resources/epub3
- files
- content-document-xhtml
- epub/content-xhtml-svg-reference-valid/EPUB
Expand file treeCollapse file tree
10 files changed
+78
-3
lines changedCollapse file: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
| 139 | + | |
139 | 140 |
| |
140 | 141 |
| |
141 | 142 |
| |
|
Collapse file: src/main/java/com/adobe/epubcheck/messages/MessageId.java
src/main/java/com/adobe/epubcheck/messages/MessageId.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/MessageId.java+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
| 133 | + | |
133 | 134 |
| |
134 | 135 |
| |
135 | 136 |
| |
|
Collapse file: src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java
src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java+19-1Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
299 | 299 |
| |
300 | 300 |
| |
301 | 301 |
| |
302 |
| - | |
303 | 302 |
| |
| 303 | + | |
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
| |||
387 | 388 |
| |
388 | 389 |
| |
389 | 390 |
| |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
390 | 408 |
| |
391 | 409 |
| |
392 | 410 |
| |
|
Collapse file: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
| 126 | + | |
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
|
Collapse file: src/test/resources/epub3/content-document-xhtml.feature
src/test/resources/epub3/content-document-xhtml.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub3/content-document-xhtml.feature+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
787 | 787 |
| |
788 | 788 |
| |
789 | 789 |
| |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + |
Collapse file: src/test/resources/epub3/content-publication.feature
src/test/resources/epub3/content-publication.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub3/content-publication.feature+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| 45 | + | |
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
| |||
213 | 215 |
| |
214 | 216 |
| |
215 | 217 |
| |
216 |
| - | |
| 218 | + | |
217 | 219 |
| |
218 | 220 |
| |
219 | 221 |
| |
|
Collapse file: src/test/resources/epub3/files/content-document-xhtml/discouraged-base-warning.xhtml
src/test/resources/epub3/files/content-document-xhtml/discouraged-base-warning.xhtml
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Collapse file: src/test/resources/epub3/files/content-document-xhtml/discouraged-embed-warning.xhtml
src/test/resources/epub3/files/content-document-xhtml/discouraged-embed-warning.xhtml
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Collapse file: src/test/resources/epub3/files/content-document-xhtml/discouraged-rp-warning.xhtml
src/test/resources/epub3/files/content-document-xhtml/discouraged-rp-warning.xhtml
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Collapse file: src/test/resources/epub3/files/epub/content-xhtml-svg-reference-valid/EPUB/content_001.xhtml
src/test/resources/epub3/files/epub/content-xhtml-svg-reference-valid/EPUB/content_001.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/epub3/files/epub/content-xhtml-svg-reference-valid/EPUB/content_001.xhtml-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
|
You can’t perform that action at this time.
0 commit comments