Skip to content

Commit b73155d

Browse files
authored
fixed error: -webkit-font-smoothing value (mdn#167)
always is not a valid value for the experimental prefixed property. also, improved grammar
1 parent 407bcc8 commit b73155d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

feature-queries/or.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
border: 4px solid blue;
1313
color: blue;
1414
}
15-
@supports (font-smooth: always) or (-webkit-font-smoothing: always) {
15+
@supports (font-smooth: always) or (-webkit-font-smoothing: antialiased) {
1616
.box {
1717
border: 4px dashed darkgreen;
1818
color: darkgreen;
@@ -24,8 +24,7 @@
2424
<body>
2525
<section class="preview">
2626
<div class="box">
27-
If your browser supports font smoothing, the text
28-
and border will be green.
27+
The text and border will be green if your browser supports font smoothing.
2928
</div>
3029
</section>
3130

@@ -34,7 +33,7 @@
3433
border: 4px solid blue;
3534
color: blue;
3635
}
37-
@supports (font-smooth: always) or (-webkit-font-smoothing: always) {
36+
@supports (font-smooth: always) or (-webkit-font-smoothing: antialiased) {
3837
.box {
3938
border: 4px dashed darkgreen;
4039
color: darkgreen;
@@ -44,7 +43,7 @@
4443

4544
<textarea class="playable playable-html" style="height: 120px">
4645
<div class="box">
47-
If your browser supports font smoothing, the text and border will be green.
46+
The text and border will be green if your browser supports font smoothing.
4847
</div></textarea
4948
>
5049

0 commit comments

Comments
 (0)