Skip to content

Commit 9302a9f

Browse files
committed
[css-ui][editorial] improve dark mode rendering of the spec
1 parent 0f8c892 commit 9302a9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-ui-4/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ Animation of the insertion caret: 'caret-animation'</h4>
16221622
<style>
16231623
@keyframes caret-alternate-ref { 50% { border-color: red; } }
16241624
</style>
1625-
<div style="border:inset; background: white; width: 10em;">
1625+
<div style="border:inset; background: white; color: black; width: 10em;">
16261626
Text area
16271627
with color-alternating caret<span style="border-right: 2px solid blue; animation: caret-alternate-ref 2s step-end infinite;"></span>
16281628
</div>
@@ -1634,7 +1634,7 @@ Animation of the insertion caret: 'caret-animation'</h4>
16341634
}
16351635
</style>
16361636
<div contentEditable=true
1637-
style="border:inset; background: white; width: 10em;
1637+
style="border:inset; background: white; color: black; width: 10em;
16381638
caret-animation: manual;
16391639
caret-color: blue;
16401640
animation: caret-alternate-test 2s step-end infinite;"
@@ -1788,6 +1788,7 @@ Shape of the insertion caret: 'caret-shape'</h4>
17881788
}
17891789
#caret-shape-example td+td {
17901790
background:white;
1791+
color: black;
17911792
}
17921793
</style>
17931794
<table id="caret-shape-example">

0 commit comments

Comments
 (0)