WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a07de57

Browse files
author
Bot
committed
Update gh-pages
1 parent 2c1791d commit a07de57

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+134
-520
lines changed

assets/css/ecmarkup.css

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,23 @@ body.oldtoc {
289289
margin: 0 auto;
290290
}
291291

292+
#metadata-block {
293+
margin: 4em 0;
294+
padding: 10px;
295+
border: 1px solid #ee8421;
296+
}
297+
298+
#metadata-block h1 {
299+
font-size: 1.5em;
300+
margin-top: 0;
301+
}
302+
303+
#metadata-block > ul {
304+
list-style-type: none;
305+
margin: 0;
306+
padding: 0;
307+
}
308+
292309
span[aria-hidden='true'] {
293310
font-size: 0;
294311
white-space: pre;
@@ -610,7 +627,7 @@ emu-oneof {
610627
}
611628

612629
emu-nt {
613-
display: inline-block;
630+
display: inline;
614631
font-style: italic;
615632
white-space: nowrap;
616633
text-indent: 0;
@@ -950,7 +967,7 @@ table.real-table th {
950967
}
951968

952969
emu-table td {
953-
background: transparent;
970+
background: var(--background-color);
954971
}
955972

956973
td[colspan]:not([colspan="1"]), th[colspan]:not([colspan="1"]) {
@@ -1057,7 +1074,7 @@ tr.del > td {
10571074
height: 100vh;
10581075
max-width: 500px;
10591076
box-sizing: border-box;
1060-
background: var(--control-background-color);
1077+
background-color: var(--control-background-color);
10611078
overflow: hidden;
10621079
transition: opacity 0.1s linear;
10631080
padding: 0 5px;
@@ -1498,7 +1515,7 @@ li.menu-search-result-term::before {
14981515

14991516
.toolbox::after {
15001517
border-color: var(--toolbox-tail-background-outside-color);
1501-
border-top-color: var(--control-border-color);
1518+
border-top-color: var(--control-background-color);
15021519
border-width: 10px;
15031520
margin-left: -10px;
15041521
}
@@ -1515,7 +1532,7 @@ li.menu-search-result-term::before {
15151532
left: 0;
15161533
right: 0;
15171534
display: none;
1518-
background: var(--control-background-color);
1535+
background-color: var(--control-background-color);
15191536
z-index: 1;
15201537
}
15211538

@@ -1556,17 +1573,6 @@ li.menu-search-result-term::before {
15561573
padding-right: 5px;
15571574
}
15581575

1559-
emu-normative-optional {
1560-
display: block;
1561-
}
1562-
1563-
emu-normative-optional::before {
1564-
display: block;
1565-
color: var(--attributes-tag-foreground-color);
1566-
content: "NORMATIVE OPTIONAL";
1567-
}
1568-
1569-
emu-normative-optional,
15701576
[normative-optional],
15711577
[deprecated],
15721578
[legacy] {
@@ -1599,7 +1605,7 @@ emu-normative-optional,
15991605
outline: solid 10000px var(--control-dialog-fade-color);
16001606
border-radius: 5px;
16011607
border-width: 1px 1px 0 1px;
1602-
background: var(--control-background-color);
1608+
background-color: var(--control-background-color);
16031609
display: none;
16041610
}
16051611

@@ -1627,4 +1633,5 @@ emu-normative-optional,
16271633

16281634
#ecma-logo {
16291635
background: var(--figure-background);
1636+
width: 500px;
16301637
}

assets/css/print.css

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
:root {
7171
--page-number-style: decimal;
72+
-prince-change-line-breaks-for-pagination: yes; /* see https://www.princexml.com/doc/prince-for-books/#pagination-fine-tuning */
7273
}
7374

7475
@page {
@@ -77,16 +78,16 @@
7778
margin-bottom: 20mm;
7879
margin-inside: 19mm;
7980
margin-outside: 13mm;
80-
-prince-page-fill: prefer-fill;
81+
-prince-page-fill: prefer-balance; /* see https://www.princexml.com/doc/prince-for-books/#the-property--prince-page-fill */
8182

82-
/* Uncomment when producing WIP versions of final standards */
83+
/* Uncomment when producing WIP versions of final standards, see https://www.princexml.com/doc/paged/#page-regions */
8384
/*
8485
@prince-overlay {
8586
color: rgba(0,0,0,0.15);
86-
content: "WORK IN PROGRESS";
87+
content: "DRAFT";
8788
font-family: Arial;
8889
font-weight: bolder;
89-
font-size: 100pt;
90+
font-size: 200pt;
9091
transform: rotate(-60deg);
9192
}
9293
*/
@@ -196,7 +197,7 @@ body {
196197
line-height: 1.15;
197198
}
198199

199-
h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none }
200+
h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none } /* see https://www.princexml.com/doc/prince-output/#pdf-bookmarks */
200201

201202
.copyright-notice + h1.title {
202203
break-before: recto;
@@ -216,15 +217,24 @@ p {
216217
text-wrap: pretty;
217218
overflow-wrap: break-word;
218219
hyphens: auto;
219-
orphans: 2;
220-
widows: 2;
220+
orphans: 2, -prince-prefer 3; /* see https://www.princexml.com/doc/prince-for-books/#pagination-goals */
221+
widows: 2, -prince-prefer 3;
221222
}
222223

223224
h1 {
224225
text-wrap: balance;
225226
line-height: 1.4;
226227
}
227228

229+
pre:has(> code) {
230+
margin: 0;
231+
}
232+
233+
p + pre:has(+ p) {
234+
padding-top: 0;
235+
padding-bottom: 0;
236+
}
237+
228238
emu-alg {
229239
display: block; /* Can't render block elements inside inline elements. */
230240
}
@@ -263,14 +273,6 @@ emu-alg ol li:last-child {
263273
break-after: initial; /* it's okay to break after the last item in a list, even if it's also the first item in the list */
264274
}
265275

266-
emu-normative-optional emu-clause[id] {
267-
margin-top: 0;
268-
}
269-
270-
emu-normative-optional emu-alg > ol {
271-
margin-bottom: 0;
272-
}
273-
274276
emu-note {
275277
gap: initial;
276278
justify-content: space-between;
@@ -281,6 +283,10 @@ emu-note .note {
281283
min-width: 4.5em;
282284
}
283285

286+
emu-note table td {
287+
background-color: white;
288+
}
289+
284290
emu-note p,
285291
emu-table td p {
286292
text-align: left;
@@ -309,7 +315,6 @@ emu-intro, emu-clause, emu-annex {
309315
}
310316

311317
emu-clause p:first-of-type {
312-
margin-bottom: 0;
313318
orphans: 3;
314319
}
315320

@@ -429,7 +434,7 @@ caption, table > figcaption {
429434
}
430435

431436
caption {
432-
-prince-caption-page: first;
437+
-prince-caption-page: first; /* see https://www.princexml.com/doc/css-props/#prop-prince-caption-page */
433438
}
434439

435440
/* do not break inside of small tables */
@@ -470,6 +475,11 @@ emu-figure img {
470475
height: auto;
471476
}
472477

478+
.attributes-tag {
479+
break-before: avoid-page;
480+
break-after: avoid-page;
481+
}
482+
473483
#spec-container {
474484
max-width: initial;
475485
}
@@ -565,8 +575,8 @@ emu-annex > h1 .secnum {
565575
border: 1px solid black;
566576
padding: 1em;
567577
page: copyright;
568-
page-break-before: always;
569-
page-break-after: always;
578+
break-before: page;
579+
break-after: page;
570580
}
571581

572582
.secnum {

assets/js/ecmarkup.js

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/abstract-operations.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/additional-ecmascript-features-for-web-browsers.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/additions-and-changes-that-introduce-incompatibilities-with-prior-editions.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/bibliography.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/colophon.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

multipage/conformance.html

Lines changed: 2 additions & 12 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)