CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 16:33:44 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/"de0252e97470b8fdbe74da9dd584e8bf"
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=vKGO9YCQJjZa5K13sidyN5PFkg7zOZlYspWvF9Da6FVrTFjSsO9yNXcOB02wDvUU3oPTboiiNi2NMlJ9r432YsareByVWS2ywMQYMmoWUtDE9uQtFAcA2Be2UmigLALQrKJF3%2Bo5E4SqFodTM39vnXDfI6har59yeglPrMRBMjINEyNDMGCZ3GapRbUdgNolBnLWop5j9eEQKATTMwvxYS87hbxK1Lkpxc1%2BQgePqhiNVGeMn0Ck3hO19tNo2uE4N5nv2JIOS%2FSHdxiHVzZt6Q%3D%3D--SH21IGj%2FVmMEoxPT--0H3%2BsLZQ8Ta1wjDjdXjSYA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.210134171.1752510823; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 16:33:43 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 16:33:43 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E56C:3EDC8C:14DB1B7:19BACAB:68753167
feat: update viewport meta element requirements · w3c/epubcheck@9f75a1d · 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/java/org/w3c/epubcheck/util/microsyntax/ViewportMeta.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/java/org/w3c/epubcheck/util/microsyntax/ViewportSteps.java
Copy file name to clipboardExpand all lines: src/test/resources/epub3/08-layout/files/content-fxl-xhtml-viewport-duplicate-width-height-error/EPUB/content_001.xhtml
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 9f75a1d
committed
feat: update viewport meta element requirements
This commit implements the post-CR changes on the requirements for the
viewport meta element used to define the ICB in fixed-layout documents.
Viewport syntax:
- properties can now have several values
- the `ViewportMeta` object now return a list of string values when
looking up values for a name.
ICB definition checks:
- only the first `viewport` `meta` element of fixed-layout documents
is checked
- new `HTM-059` error is reported when `height` or `width` dimensions
are specified more than once
- new `HTM-060a` usage is reported for any subsequent `viewport` `meta`
element found in fixed-layout documents
- new `HTM-060b` usage is reported fo any `viewport` `meta` element
found in reflowable documents
Fix #1401, Fix #14491 parent 5fca49f commit 9f75a1dCopy full SHA for 9f75a1d
File tree
Expand file treeCollapse file tree
35 files changed
+396
-113
lines changedFilter options
- src
- main
- java
- com/adobe/epubcheck
- messages
- ops
- org/w3c/epubcheck/util/microsyntax
- resources/com/adobe/epubcheck/messages
- test
- java/org/w3c/epubcheck/util/microsyntax
- resources/epub3
- 08-layout
- files
- content-fxl-xhtml-viewport-duplicate-width-height-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-height-empty-error/EPUB
- content-fxl-xhtml-viewport-icb-missing-in-first-meta-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-multiple-usage-valid
- EPUB
- META-INF
- content-fxl-xhtml-viewport-syntax-invalid-error/EPUB
- content-fxl-xhtml-viewport-width-missing-error
- EPUB
- META-INF
- content-reflow-xhtml-viewport-height-missing-valid
- EPUB
- META-INF
- F-viewport-meta-tag
Expand file treeCollapse file tree
35 files changed
+396
-113
lines changedsrc/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
| 145 | + | |
| 146 | + | |
| 147 | + | |
145 | 148 |
| |
146 | 149 |
| |
147 | 150 |
| |
|
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+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 |
| |
140 | 143 |
| |
141 | 144 |
| |
|
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+40-26Lines changed: 40 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| |||
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| 14 | + | |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
| |||
763 | 765 |
| |
764 | 766 |
| |
765 | 767 |
| |
766 |
| - | |
767 |
| - | |
768 |
| - | |
769 |
| - | |
770 |
| - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
771 | 771 |
| |
772 |
| - | |
773 |
| - | |
| 772 | + | |
774 | 773 |
| |
775 | 774 |
| |
776 |
| - | |
| 775 | + | |
777 | 776 |
| |
778 | 777 |
| |
779 | 778 |
| |
| |||
785 | 784 |
| |
786 | 785 |
| |
787 | 786 |
| |
788 |
| - | |
| 787 | + | |
789 | 788 |
| |
790 | 789 |
| |
791 | 790 |
| |
792 |
| - | |
793 |
| - | |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
| 791 | + | |
798 | 792 |
| |
799 |
| - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
800 | 811 |
| |
801 | 812 |
| |
802 |
| - | |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 | 813 |
| |
812 |
| - | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
813 | 827 |
| |
814 | 828 |
| |
815 | 829 |
| |
|
src/main/java/org/w3c/epubcheck/util/microsyntax/ViewportMeta.java
Copy file name to clipboardExpand all lines: src/main/java/org/w3c/epubcheck/util/microsyntax/ViewportMeta.java+45-34Lines changed: 45 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 |
| - | |
| 23 | + | |
23 | 24 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 |
| |
33 | 36 |
| |
34 | 37 |
| |
| |||
51 | 54 |
| |
52 | 55 |
| |
53 | 56 |
| |
54 |
| - | |
| 57 | + | |
| 58 | + | |
55 | 59 |
| |
56 | 60 |
| |
57 | 61 |
| |
| |||
123 | 127 |
| |
124 | 128 |
| |
125 | 129 |
| |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 | 130 |
| |
132 | 131 |
| |
133 | 132 |
| |
134 | 133 |
| |
135 | 134 |
| |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
| 135 | + | |
| 136 | + | |
145 | 137 |
| |
146 | 138 |
| |
147 | 139 |
| |
148 | 140 |
| |
149 | 141 |
| |
150 | 142 |
| |
151 | 143 |
| |
152 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
153 | 150 |
| |
154 | 151 |
| |
155 | 152 |
| |
156 | 153 |
| |
157 | 154 |
| |
158 | 155 |
| |
159 | 156 |
| |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
160 | 162 |
| |
161 | 163 |
| |
162 | 164 |
| |
| |||
200 | 202 |
| |
201 | 203 |
| |
202 | 204 |
| |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
203 | 210 |
| |
204 | 211 |
| |
205 | 212 |
| |
| |||
215 | 222 |
| |
216 | 223 |
| |
217 | 224 |
| |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
| 225 | + | |
| 226 | + | |
223 | 227 |
| |
224 | 228 |
| |
| 229 | + | |
| 230 | + | |
225 | 231 |
| |
226 | 232 |
| |
227 | 233 |
| |
| |||
231 | 237 |
| |
232 | 238 |
| |
233 | 239 |
| |
234 |
| - | |
| 240 | + | |
235 | 241 |
| |
236 | 242 |
| |
237 | 243 |
| |
| |||
243 | 249 |
| |
244 | 250 |
| |
245 | 251 |
| |
246 |
| - | |
| 252 | + | |
247 | 253 |
| |
248 | 254 |
| |
249 | 255 |
| |
250 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
251 | 262 |
|
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+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 |
| |
65 | 68 |
| |
66 | 69 |
| |
|
src/test/java/org/w3c/epubcheck/util/microsyntax/ViewportSteps.java
Copy file name to clipboardExpand all lines: src/test/java/org/w3c/epubcheck/util/microsyntax/ViewportSteps.java+11-1Lines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| 16 | + | |
15 | 17 |
| |
16 | 18 |
| |
17 | 19 |
| |
| |||
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| 25 | + | |
| 26 | + | |
23 | 27 |
| |
24 | 28 |
| |
25 | 29 |
| |
| |||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
61 |
| - | |
| 65 | + | |
62 | 66 |
| |
63 | 67 |
| |
64 | 68 |
| |
| |||
67 | 71 |
| |
68 | 72 |
| |
69 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
70 | 80 |
| |
71 | 81 |
| |
72 | 82 |
| |
|
src/test/resources/epub3/08-layout/files/content-fxl-xhtml-viewport-multiple-valid/EPUB/content_001.xhtml renamed to src/test/resources/epub3/08-layout/files/content-fxl-xhtml-viewport-duplicate-width-height-error/EPUB/content_001.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/epub3/08-layout/files/content-fxl-xhtml-viewport-duplicate-width-height-error/EPUB/content_001.xhtml+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
| 5 | + | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
|
File renamed without changes.
You can’t perform that action at this time.
0 commit comments