CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 16:01:40 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/"52f0ed5ce0849b54effc234b5f27f3a4"
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=AmDb0RFPchlDfaZstllvlt8vEFn9NF6x2YptuTAdLALAyGXZ1zBlMnoWsxugBDF0gDWAPoNVJZSSQDDRBWrE%2FO6DipMNz6k%2FAMw7i1wLxq9d%2B%2BE8JoO3wcsE6PgTcaNMeRsqbEcleUN1fl7aJbpK2p%2BPBKSfERqrL2egHHG%2FG7vJreTPRaH1sHDvO7ei7AywhYYzXQ%2FETfw1csNsrw7TxzPy%2FEwAwDorAVlDmfgFgHrTIDw4toANNtawPxZwCLY9r7fyI15R2ymrDMnouD0lZg%3D%3D--r%2FQEZbRZjEFQ1ZB%2B--PWIryR%2BE4TSOgc%2BoEsZ1%2Bw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.819989921.1752595300; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 16:01:40 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 16:01:40 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE10:30A222:3400:3E5C:68767B64
fix: support CSS logical combination pseudo-classes · w3c/epubcheck@5635807 · GitHub
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/java/org/idpf/epubcheck/util/css/CssParser.java
Copy file name to clipboard
Copy file name to clipboardExpand all lines: src/test/resources/epub3/00-minimal/minimal.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub3/06-content-document/files/content-css-selectors-valid/EPUB/style.css
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 5635807
committed
fix: support CSS logical combination pseudo-classes
This commit update the CSS grammar parser to support funcitonal pseudo-
classes taking selector listrs as argument.
In effect, this impacts the parsing of the following pseudo-classes:
- `:is()` (taking a forgiving selector list)
- `:not()` (taking a selector list)
- `:where()` (taking a forgiving selector list)
- `:has()` (taking a forgiving relative selector list)
Fixes #1289, Fixes #13541 parent 0f6b509 commit 5635807Copy full SHA for 5635807
File tree
Expand file treeCollapse file tree
5 files changed
+151
-109
lines changedFilter options
- src
- main/java/org/idpf/epubcheck/util/css
- test/resources/epub3
- 00-minimal
- 06-content-document/files/content-css-selectors-valid/EPUB
Expand file treeCollapse file tree
5 files changed
+151
-109
lines changedsrc/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+107-15Lines changed: 107 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
823 | 823 |
| |
824 | 824 |
| |
825 | 825 |
| |
| 826 | + | |
826 | 827 |
| |
827 | 828 |
| |
828 | 829 |
| |
| |||
838 | 839 |
| |
839 | 840 |
| |
840 | 841 |
| |
841 |
| - | |
842 |
| - | |
843 |
| - | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
844 | 925 |
| |
845 | 926 |
| |
846 | 927 |
| |
| |||
971 | 1052 |
| |
972 | 1053 |
| |
973 | 1054 |
| |
974 |
| - | |
975 |
| - | |
976 |
| - | |
977 |
| - | |
978 |
| - | |
| 1055 | + | |
979 | 1056 |
| |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
980 | 1068 |
| |
| 1069 | + | |
981 | 1070 |
| |
982 | 1071 |
| |
983 | 1072 |
| |
| |||
1021 | 1110 |
| |
1022 | 1111 |
| |
1023 | 1112 |
| |
1024 |
| - | |
1025 |
| - | |
1026 |
| - | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1027 | 1116 |
| |
1028 | 1117 |
| |
1029 | 1118 |
| |
1030 | 1119 |
| |
1031 | 1120 |
| |
1032 | 1121 |
| |
1033 | 1122 |
| |
1034 |
| - | |
1035 |
| - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1036 | 1126 |
| |
1037 | 1127 |
| |
1038 | 1128 |
| |
1039 | 1129 |
| |
1040 | 1130 |
| |
1041 |
| - | |
1042 |
| - | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1043 | 1135 |
| |
1044 | 1136 |
| |
1045 | 1137 |
| |
|
src/main/java/org/idpf/epubcheck/util/css/CssParser.java
Copy file name to clipboardExpand all lines: src/main/java/org/idpf/epubcheck/util/css/CssParser.java+7-93Lines changed: 7 additions & 93 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
44 | 43 |
| |
45 |
| - | |
46 | 44 |
| |
47 | 45 |
| |
48 | 46 |
| |
49 | 47 |
| |
50 | 48 |
| |
51 | 49 |
| |
52 |
| - | |
53 | 50 |
| |
54 | 51 |
| |
55 | 52 |
| |
| |||
227 | 224 |
| |
228 | 225 |
| |
229 | 226 |
| |
230 |
| - | |
| 227 | + | |
231 | 228 |
| |
232 | 229 |
| |
233 | 230 |
| |
234 | 231 |
| |
235 | 232 |
| |
236 | 233 |
| |
237 | 234 |
| |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 |
| |
239 | 242 |
| |
240 | 243 |
| |
| |||
453 | 456 |
| |
454 | 457 |
| |
455 | 458 |
| |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 |
| - | |
492 |
| - | |
493 |
| - | |
494 |
| - | |
495 |
| - | |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 |
| - | |
504 |
| - | |
505 |
| - | |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
513 |
| - | |
514 |
| - | |
515 |
| - | |
516 |
| - | |
517 |
| - | |
518 |
| - | |
519 |
| - | |
520 |
| - | |
521 |
| - | |
522 |
| - | |
523 |
| - | |
524 |
| - | |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 | 459 |
| |
529 | 460 |
| |
530 | 461 |
| |
| |||
759 | 690 |
| |
760 | 691 |
| |
761 | 692 |
| |
762 |
| - | |
763 |
| - | |
764 |
| - | |
765 |
| - | |
766 |
| - | |
767 |
| - | |
768 |
| - | |
769 |
| - | |
770 |
| - | |
771 |
| - | |
772 |
| - | |
773 |
| - | |
774 |
| - | |
775 |
| - | |
776 |
| - | |
777 |
| - | |
778 |
| - | |
779 | 693 |
| |
780 | 694 |
| |
781 | 695 |
|
src/main/java/org/idpf/epubcheck/util/css/ForgivingErrorHandler.java
Copy file name to clipboard+17Lines changed: 17 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 | + |
src/test/resources/epub3/00-minimal/minimal.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub3/00-minimal/minimal.feature-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 | 11 |
| |
13 | 12 |
| |
14 | 13 |
| |
|
src/test/resources/epub3/06-content-document/files/content-css-selectors-valid/EPUB/style.css
Copy file name to clipboardExpand all lines: src/test/resources/epub3/06-content-document/files/content-css-selectors-valid/EPUB/style.css+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
You can’t perform that action at this time.
0 commit comments