@@ -437,18 +437,21 @@ First Letters and Associated Punctuation</h4>
437
437
</ul>
438
438
439
439
<div class="note">
440
- Informally represented , the [=first-letter text=] ’s pattern here
440
+ Informally, the [=first-letter text=] ’s pattern here
441
441
can be roughly
442
- (ignoring the exclusion of word separators from <code> Zs</code> )
443
- represented as
442
+ (ignoring the exclusions from <code> Zs</code> )
443
+ represented as the regular expression
444
444
<code highlight="bnf" style="font-family: inherit">
445
- (P (Zs|P)*)? (L\|N\ |S) ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code>
445
+ (P (Zs|P)*)? (L|N |S) ((Zs|P−(Ps|Pd))* (P−(Ps|Pd))?</code> --
446
446
or, alternatively,
447
447
<code highlight="bnf" style="font-family: inherit">
448
- ([P] [Zs P] *)? [L N S] ([Zs [P--[Ps Pd] ]]* [P--[Ps Pd] ])?</code>
448
+ ([P] [Zs P] *)? [L N S] ([Zs [P--[Ps Pd] ]]* [P--[Ps Pd] ])?</code> --
449
+ where the Unicode category abbreviation represents the set
450
+ of all [=typographic character units=] belonging to that category.
451
+
449
452
<!-- this is not actually BNF, but it highlights better that way -->
450
453
451
- <!-- Bikeshed is <a href="https://github.com/tabatkins/bikeshed/issues/2202">eating punctuation</a> in this note (unless escaped with undocumented escape sequences), which is not helpful. -->
454
+ <!-- Bikeshed is <a href="https://github.com/tabatkins/bikeshed/issues/2202">eating punctuation</a> in this note (unless escaped with undocumented escape sequences), which is not helpful. -->
452
455
453
456
<pre class=railroad>
454
457
Optional:
@@ -815,45 +818,6 @@ Selecting Highlighted Content: the ''::selection'', ''::search-text'', ''::targe
815
818
identified by the given [=custom highlight name=] .
816
819
The <<custom-ident>> argument is required.
817
820
See [[CSS-HIGHLIGHT-API-1]] for details.
818
- <wpt>
819
- css/css-highlight-api/painting/custom-highlight-painting-001.html
820
- css/css-highlight-api/painting/custom-highlight-painting-002.html
821
- css/css-highlight-api/painting/custom-highlight-painting-003.html
822
- css/css-highlight-api/painting/custom-highlight-painting-004.html
823
- css/css-highlight-api/painting/custom-highlight-painting-005.html
824
- css/css-highlight-api/painting/custom-highlight-painting-006.html
825
- css/css-highlight-api/painting/custom-highlight-painting-007.html
826
- css/css-highlight-api/painting/custom-highlight-painting-008.html
827
- css/css-highlight-api/painting/custom-highlight-painting-009.html
828
- css/css-highlight-api/painting/custom-highlight-painting-010.html
829
- css/css-highlight-api/painting/custom-highlight-painting-011.html
830
- css/css-highlight-api/painting/custom-highlight-painting-012.html
831
- css/css-highlight-api/painting/custom-highlight-painting-013.html
832
- css/css-highlight-api/painting/custom-highlight-painting-014.html
833
- css/css-highlight-api/painting/custom-highlight-painting-015.html
834
- css/css-highlight-api/painting/custom-highlight-painting-iframe-001.html
835
- css/css-highlight-api/painting/custom-highlight-painting-iframe-002.html
836
- css/css-highlight-api/painting/custom-highlight-painting-iframe-003.html
837
- css/css-highlight-api/painting/custom-highlight-painting-iframe-004.html
838
- css/css-highlight-api/painting/custom-highlight-painting-iframe-005.html
839
- css/css-highlight-api/painting/custom-highlight-painting-iframe-006.html
840
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-001.html
841
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-002.html
842
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-003.html
843
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-004.html
844
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html
845
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-006.html
846
- css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html
847
- css/css-highlight-api/painting/custom-highlight-painting-prioritization-001.html
848
- css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html
849
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-001.html
850
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-002.html
851
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-003.html
852
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-004.html
853
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-005.html
854
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-006.html
855
- css/css-highlight-api/painting/custom-highlight-painting-staticrange-007.html
856
- </wpt>
857
821
</dl>
858
822
859
823
The <a>highlight pseudo-elements</a>
@@ -934,7 +898,7 @@ Styling Highlights</h3>
934
898
935
899
<ul>
936
900
<li> 'forced-color-adjust' (used in [=forced colors mode=] to resolve colors)
937
- and 'color-scheme' (used to resolve [= system colors=] )
901
+ and 'color-scheme' (used to resolve << system-color>> values )
938
902
<li> 'font-size' , 'font-family' , etc. (used to resolve ''em'' and other [=font-relative lengths=] ).
939
903
<li> 'line-height' (used to resolve ''lh'' units)
940
904
<li> [=custom properties=] [[!CSS-VARIABLES-1]] (used in ''var()'' substitutions)
0 commit comments