Skip to content

Commit 9e9b75b

Browse files
committed
Suggested changes from review
1 parent 5d0ced2 commit 9e9b75b

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

spec/datetimeformat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ <h1>DateTime Style Range Records</h1>
735735
</emu-table>
736736
</emu-clause>
737737

738-
<emu-note>
738+
<emu-note id="note-example-datetime-format-record">
739739
For example, an implementation might include the following Record as part of its English locale data:
740740
<ul>
741741
<li>[[hour]]: *"numeric"*</li>

spec/index.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</style>
2929

3030
<style media="print">
31-
/** ECMA-402-specific print hacks */
31+
/** ECMA-402-specific print styles */
3232
emu-normative-optional {
3333
break-inside: avoid-page;
3434
}
@@ -44,14 +44,18 @@
4444
width: 130mm;
4545
}
4646

47-
/**
48-
* This note is so long it takes up several pages anyway, let it break
49-
* Note for future publishers: this note doesn't have an ID, check each
50-
* year that it's still the second note in the section
51-
*/
52-
#sec-intl\.datetimeformat-internal-slots emu-note:nth-of-type(2) {
47+
/* This note is so long it takes up several pages anyway, let it break. */
48+
#note-example-datetime-format-record {
5349
break-inside: initial;
5450
}
51+
52+
/**
53+
* Prevent line wrapping in print
54+
* (for future publishing, this keeps the thead in #table-numbering-system-digits from wrapping unexpectedly)
55+
*/
56+
.print-no-break {
57+
white-space: nowrap;
58+
}
5559
</style>
5660
<pre class="metadata">
5761
title: ECMAScript&reg; 2026 Internationalization API Specification

spec/numberformat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ <h1>
892892
<table class="real-table">
893893
<thead>
894894
<tr>
895-
<th>Numbering&nbsp;System</th>
895+
<th class="print-no-break">Numbering System</th>
896896
<th>Digits</th>
897897
</tr>
898898
</thead>

0 commit comments

Comments
 (0)