CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 05:50:19 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/"84b7d5f86eaf9ee8db6c2637c76f95e2"
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 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 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 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=ctnYuM4Hn6KnxpkhWxDwbIWTerbuUi7txxTSKne6UG4VnTTcOzA4B9T9rm7K6%2BqWmY4%2FtRx3h8mEEeLLz%2FqYBaSAoDd41YRnyh9nH4ELAjUu5E%2BW%2B8lva5WUzkAD9BFD7XqAAN73Eab90RKJk%2BYSwbhHNCYjSLtaagf%2FJAdQifXZVYThONmb6119bSNEFh93T2aIhcK%2BwAqhNTXpEvS%2BKwra91HZVtQ15b0hzfcFnHrl8F90H6vlX3uWL2DPFV6xn3NiU3skTArzKmS%2F5nD9lw%3D%3D--5ZDDnTDCPv80KmA4--AkdEK%2BbQcRtqnoSJv1e4hw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1014426332.1752558618; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 05:50:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 05:50:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D8BE:1D08C4:1BDA8D:209B9D:6875EC19
feat: better check media overlays styling properties · w3c/epubcheck@6a58b8e · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/css/CSSHandler.java
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/opf/OPFHandler30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler.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/java/com/adobe/epubcheck/util/FeatureEnum.java
Copy file name to clipboardExpand all lines: src/main/java/org/idpf/epubcheck/util/css/CssGrammar.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/main/resources/com/adobe/epubcheck/schema/30/package-30.sch
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 6a58b8e
committed
feat: better check media overlays styling properties
- report schema error RSC-005 when the 'media:active-class' or
'media:playback-active-class' properties are declared more than once.
- report schema error RSC-005 when the 'media:active-class' or
'media:playback-active-class' properties define more than once class
names.
- report new usage CSS-029 when a CSS selector is found referring to
the widely-used '-epub-media-overlay-active' or '-epub-media-overlay-
playing' class names but no 'media:active-class' or 'media:playback-
active-class' properties were declared in the package document.
- report new error CSS-030 when the 'media:active-class' or
'media:playback-active-class' properties are declared but no CSS is
found in a content document with media overlays.
- added various test scenarios for the checks described above.
Closs #1218.1 parent 01a7758 commit 6a58b8eCopy full SHA for 6a58b8e
File tree
Expand file treeCollapse file tree
54 files changed
+581
-5
lines changedFilter options
- src
- main
- java
- com/adobe/epubcheck
- css
- messages
- opf
- ops
- util
- org/idpf/epubcheck/util/css
- resources/com/adobe/epubcheck
- messages
- schema/30
- test/resources/epub3
- 09-media-overlays
- files
- mediaoverlays-active-class-inline-valid
- EPUB
- META-INF
- mediaoverlays-active-class-style-not-found-error
- EPUB
- META-INF
- mediaoverlays-active-class-stylesheet-undeclared-valid
- EPUB
- META-INF
- mediaoverlays-active-class-stylesheet-valid
- EPUB
- META-INF
- mediaoverlays-playback-active-class-style-not-found-error
- EPUB
- META-INF
- D-vocabularies
- files
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
54 files changed
+581
-5
lines changedsrc/main/java/com/adobe/epubcheck/css/CSSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/css/CSSHandler.java+39Lines changed: 39 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
| 14 | + | |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
| |||
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
204 | 243 |
| |
205 | 244 |
| |
206 | 245 |
| |
|
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
| 95 | + | |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
|
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| 88 | + | |
| 89 | + | |
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
566 | 566 |
| |
567 | 567 |
| |
568 | 568 |
| |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
569 | 587 |
| |
570 | 588 |
| |
571 | 589 |
| |
|
src/main/java/com/adobe/epubcheck/ops/OPSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler.java+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| |||
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
97 |
| - | |
| 98 | + | |
98 | 99 |
| |
99 | 100 |
| |
100 |
| - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 |
| |
102 | 106 |
| |
103 | 107 |
| |
| |||
365 | 369 |
| |
366 | 370 |
| |
367 | 371 |
| |
| 372 | + | |
368 | 373 |
| |
369 | 374 |
| |
370 | 375 |
| |
|
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+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
815 | 815 |
| |
816 | 816 |
| |
817 | 817 |
| |
| 818 | + | |
818 | 819 |
| |
819 | 820 |
| |
820 | 821 |
| |
| |||
902 | 903 |
| |
903 | 904 |
| |
904 | 905 |
| |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
905 | 917 |
| |
906 | 918 |
| |
907 | 919 |
| |
|
src/main/java/com/adobe/epubcheck/util/FeatureEnum.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/FeatureEnum.java+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
| 68 | + | |
67 | 69 |
| |
68 | 70 |
| |
69 | 71 |
| |
|
src/main/java/org/idpf/epubcheck/util/css/CssGrammar.java
Copy file name to clipboardExpand all lines: src/main/java/org/idpf/epubcheck/util/css/CssGrammar.java+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
437 |
| - | |
| 437 | + | |
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
|
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| 70 | + | |
| 71 | + | |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
|
src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
420 | 424 |
| |
421 | 425 |
| |
| 426 | + | |
422 | 427 |
| |
423 | 428 |
| |
424 | 429 |
| |
425 | 430 |
| |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
426 | 435 |
| |
427 | 436 |
| |
| 437 | + | |
428 | 438 |
| |
429 | 439 |
| |
430 | 440 |
| |
|
You can’t perform that action at this time.
0 commit comments