CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 21:26:34 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/"004b147963f95296854940d402edcc37"
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=o%2B7V0tAI6iKWXuJf0idGYkAV5T3dHLsP6CwwCI6LjPdR5FXLyw3Nn%2FMuPDzRr8gTNwsI7R6ZXkyl4IoLg8jYEwYP8IV6UbZ9o5hfZEFnMLEPqAIlS70jDQqHzh%2FVjSVkCPG8fk0FZtVj%2FXP9cIR1uNswwGlEmjydHnZbH6Hgn2xRxGizTmN97OMcyMJNM0qyn0zlkk%2FSImfxyWiOULVLpgF60wKT7tiHoqlbdvTWKbKuVXXSdOgu2qGN01X8uKwz4%2B1HrVkC7wS3Mj45Wk8GlQ%3D%3D--sNEeY41uOTuVuppg--9YpTzDpR7%2FWLhdgVErYcKQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.118836842.1752528393; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 21:26:33 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 21:26:33 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D080:D02AE:75BE3:A7245:68757609
feat: check the formal `viewport` `meta` tag syntax · w3c/epubcheck@01a7758 · GitHub
Dismiss banner
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/com/adobe/epubcheck/util/SourceSet.java
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 01a7758
committed
feat: check the formal
- `HTM-047` is now reported for invalid `viewport` values
- new `HTM-056` is reported when a `viewport` value has no `width` or
`height`
- new `HTM-057` is reported when a viewport width or height value is
invalid (i.e. not a positive number or a well-known kewyword)
Also:
- the `isASCIIWhitespace` static utility method is extraced to a public
`InfraUtil` class in a new `org.w3c.epubcheck.util.infra` package
- the viewport parser is tested as a standalone class in its own feature
file. However, for easier lookup, this file is however located in the
`epub3/F-viewport-meta-tag` directory, as if it was a functional test.
- several additional functional tests are added to the `epub3/08-layout`
directory, for viewport metadata checks.
Fixes #1214, fixes #1347viewport
meta
tag syntax1 parent 39f97a4 commit 01a7758Copy full SHA for 01a7758
File tree
Expand file treeCollapse file tree
55 files changed
+901
-23
lines changedFilter options
- src
- main
- java
- com/adobe/epubcheck
- messages
- ops
- util
- org/w3c/epubcheck/util
- infra
- microsyntax
- resources/com/adobe/epubcheck/messages
- test
- java/org/w3c/epubcheck/util/microsyntax
- resources/epub3
- 08-layout
- files
- content-fxl-item-xhtml-viewport-invalid-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-height-empty-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-height-missing-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-keywords-valid
- EPUB
- META-INF
- content-fxl-xhtml-viewport-multiple-valid
- EPUB
- META-INF
- content-fxl-xhtml-viewport-syntax-invalid-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-units-invalid-error
- EPUB
- META-INF
- content-fxl-xhtml-viewport-valid
- EPUB
- META-INF
- content-fxl-xhtml-viewport-whitespace-valid
- EPUB
- META-INF
- F-viewport-meta-tag
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
55 files changed
+901
-23
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
| 140 | + | |
| 141 | + | |
140 | 142 |
| |
141 | 143 |
| |
142 | 144 |
| |
|
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 | |
---|---|---|---|
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| 134 | + | |
| 135 | + | |
134 | 136 |
| |
135 | 137 |
| |
136 | 138 |
| |
|
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+46-6Lines changed: 46 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| |||
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 |
| |
15 | 19 |
| |
16 | 20 |
| |
| |||
701 | 705 |
| |
702 | 706 |
| |
703 | 707 |
| |
704 |
| - | |
| 708 | + | |
705 | 709 |
| |
| 710 | + | |
| 711 | + | |
706 | 712 |
| |
707 |
| - | |
708 |
| - | |
| 713 | + | |
709 | 714 |
| |
710 | 715 |
| |
711 | 716 |
| |
712 |
| - | |
713 |
| - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
714 | 735 |
| |
715 |
| - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
716 | 755 |
| |
| 756 | + | |
717 | 757 |
| |
718 | 758 |
| |
719 | 759 |
| |
|
src/main/java/com/adobe/epubcheck/util/SourceSet.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/SourceSet.java+5-10Lines changed: 5 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| 10 | + | |
| 11 | + | |
8 | 12 |
| |
9 | 13 |
| |
10 | 14 |
| |
| |||
162 | 166 |
| |
163 | 167 |
| |
164 | 168 |
| |
165 |
| - | |
| 169 | + | |
166 | 170 |
| |
167 | 171 |
| |
168 | 172 |
| |
| |||
271 | 275 |
| |
272 | 276 |
| |
273 | 277 |
| |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 | 278 |
| |
284 | 279 |
| |
285 | 280 |
| |
|
src/main/java/org/w3c/epubcheck/util/infra/InfraUtil.java
Copy file name to clipboard+19Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + |
You can’t perform that action at this time.
0 commit comments