@@ -585,32 +585,33 @@ Selecting Highlighted Content: the ''::selection'', ''::target-text'', ''::spel
585
585
586
586
<dl export>
587
587
<dt> <dfn>::selection</dfn>
588
- <wpt>
589
- css/css-pseudo/active-selection-001-manual.html
590
- css/css-pseudo/active-selection-002-manual.html
591
- css/css-pseudo/active-selection-004-manual.html
592
- css/css-pseudo/active-selection-011.html
593
- css/css-pseudo/active-selection-012.html
594
- css/css-pseudo/active-selection-014.html
595
- css/css-pseudo/active-selection-016.html
596
- css/css-pseudo/active-selection-018.html
597
- css/css-pseudo/active-selection-025.html
598
- css/css-pseudo/active-selection-027.html
599
- css/css-pseudo/active-selection-056.html
600
- css/css-pseudo/active-selection-057.html
601
- css/css-pseudo/active-selection-063.html
602
- css/css-pseudo/selection-contenteditable-011.html
603
- css/css-pseudo/selection-input-011.html
604
- css/css-pseudo/selection-textarea-011.html
605
- css/css-pseudo/textpath-selection-011.html
606
- </wpt>
607
588
<dd>
608
589
The ''::selection'' pseudo-element represents
609
590
the portion of a document that has been selected
610
591
as the target or object of some possible future user-agent operation(s).
611
592
It applies, for example, to selected text within an editable text field,
612
593
which would be copied by a copy operation or replaced by a paste operation.
613
594
595
+ <wpt>
596
+ css/css-pseudo/active-selection-001-manual.html
597
+ css/css-pseudo/active-selection-002-manual.html
598
+ css/css-pseudo/active-selection-004-manual.html
599
+ css/css-pseudo/active-selection-011.html
600
+ css/css-pseudo/active-selection-012.html
601
+ css/css-pseudo/active-selection-014.html
602
+ css/css-pseudo/active-selection-016.html
603
+ css/css-pseudo/active-selection-018.html
604
+ css/css-pseudo/active-selection-025.html
605
+ css/css-pseudo/active-selection-027.html
606
+ css/css-pseudo/active-selection-056.html
607
+ css/css-pseudo/active-selection-057.html
608
+ css/css-pseudo/active-selection-063.html
609
+ css/css-pseudo/selection-contenteditable-011.html
610
+ css/css-pseudo/selection-input-011.html
611
+ css/css-pseudo/selection-textarea-011.html
612
+ css/css-pseudo/textpath-selection-011.html
613
+ </wpt>
614
+
614
615
<dt> <dfn>::target-text</dfn>
615
616
<dd>
616
617
The ''::target-text'' pseudo-element represents text
@@ -625,6 +626,7 @@ Selecting Highlighted Content: the ''::selection'', ''::target-text'', ''::spel
625
626
<dd>
626
627
The ''::spelling-error'' pseudo-element represents
627
628
a portion of text that has been flagged by the user agent as misspelled.
629
+
628
630
<wpt>
629
631
css/css-pseudo/spelling-error-001.html
630
632
css/css-pseudo/spelling-error-002-manual.html
@@ -635,6 +637,7 @@ Selecting Highlighted Content: the ''::selection'', ''::target-text'', ''::spel
635
637
<dd>
636
638
The ''::grammar-error'' pseudo-element represents
637
639
a portion of text that has been flagged by the user agent as grammatically incorrect.
640
+
638
641
<wpt>
639
642
css/css-pseudo/grammar-error-001.html
640
643
css/css-pseudo/grammar-error-002-manual.html
@@ -669,12 +672,14 @@ Styling Highlights</h3>
669
672
css/css-pseudo/active-selection-016.html
670
673
css/css-pseudo/active-selection-018.html
671
674
</wpt>
675
+
672
676
<li> 'background-color'
673
677
<wpt>
674
678
css/css-pseudo/active-selection-002-manual.html
675
679
css/css-pseudo/active-selection-012.html
676
680
css/css-pseudo/active-selection-031.html
677
681
</wpt>
682
+
678
683
<li> 'text-decoration' and its associated properties (including 'text-underline-position' and 'text-underline-offset' )
679
684
<wpt>
680
685
css/css-pseudo/active-selection-004-manual.html
@@ -687,6 +692,7 @@ Styling Highlights</h3>
687
692
css/css-pseudo/spelling-error-002-manual.html
688
693
css/css-pseudo/spelling-error-003-manual.html
689
694
</wpt>
695
+
690
696
<li> 'text-shadow'
691
697
<li> 'stroke-color' , 'fill-color' , and 'stroke-width'
692
698
<wpt>
@@ -856,13 +862,13 @@ Cascading and Per-Element Highlight Styles</h3>
856
862
is ''currentColor'' ,
857
863
not the [=initial value=] .
858
864
859
- <wpt>
860
- css/css-pseudo/active-selection-051.html
861
- css/css-pseudo/active-selection-052.html
862
- css/css-pseudo/active-selection-053.html
863
- css/css-pseudo/active-selection-054.html
864
- css/css-pseudo/cascade-highlight-004.html
865
- </wpt>
865
+ <wpt>
866
+ css/css-pseudo/active-selection-051.html
867
+ css/css-pseudo/active-selection-052.html
868
+ css/css-pseudo/active-selection-053.html
869
+ css/css-pseudo/active-selection-054.html
870
+ css/css-pseudo/cascade-highlight-004.html
871
+ </wpt>
866
872
867
873
<div class="example">
868
874
For example, if the following rules were applied:
@@ -880,9 +886,9 @@ Cascading and Per-Element Highlight Styles</h3>
880
886
and orange text inside it.
881
887
</div>
882
888
883
- <wpt>
884
- css/css-pseudo/cascade-highlight-001.html
885
- </wpt>
889
+ <wpt>
890
+ css/css-pseudo/cascade-highlight-001.html
891
+ </wpt>
886
892
887
893
<p class="advisement">
888
894
Authors wanting multiple selections styles should use
@@ -914,21 +920,22 @@ Cascading and Per-Element Highlight Styles</h3>
914
920
</pre>
915
921
</div>
916
922
917
- <wpt>
918
- css/css-pseudo/cascade-highlight-002.html
919
- </wpt>
923
+ <wpt>
924
+ css/css-pseudo/cascade-highlight-002.html
925
+ </wpt>
920
926
921
927
<h3 id="highlight-painting">
922
928
Painting the Highlight</h3>
923
929
924
- <wpt>
925
- css/css-pseudo/active-selection-014.html
926
- css/css-pseudo/active-selection-041.html
927
- css/css-pseudo/active-selection-045.html
928
- css/css-pseudo/highlight-painting-001.html
929
- css/css-pseudo/highlight-painting-002.html
930
- css/css-pseudo/highlight-painting-003.html
931
- </wpt>
930
+ <wpt>
931
+ css/css-pseudo/active-selection-014.html
932
+ css/css-pseudo/active-selection-041.html
933
+ css/css-pseudo/active-selection-045.html
934
+ css/css-pseudo/highlight-painting-001.html
935
+ css/css-pseudo/highlight-painting-002.html
936
+ css/css-pseudo/highlight-painting-003.html
937
+ css/css-pseudo/highlight-painting-004.html
938
+ </wpt>
932
939
933
940
<h4 id="highlight-backgrounds">
934
941
Backgrounds</h4>
@@ -1059,6 +1066,7 @@ Replaced Elements</h4>
1059
1066
This wash should be of the specified 'background-color' if that is not ''transparent'' ,
1060
1067
else of the specified 'color' ;
1061
1068
however the UA may adjust the alpha channel.
1069
+
1062
1070
<wpt>
1063
1071
css/css-pseudo/selection-paint-image.html
1064
1072
</wpt>
0 commit comments