Skip to content

Commit 711296f

Browse files
committed
[css-color-4] Disambiguate opacity and alpha, silence bs warnings
1 parent 17bb4cd commit 711296f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

css-color-4/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ Transparency: the 'opacity' property
633633
634634

635635
636-
<<alpha-value>>
636+
<<opacity-value>>
637637
638638
The opacity to be applied to the element.
639639
The resulting opacity is applied to the entire element,
@@ -649,9 +649,10 @@ Transparency: the 'opacity' property
649649
inline-opacity-float-child.html
650650
651651

652-
Opacity in CSS is typically represented using the <<alpha-value>> syntax,
652+
Opacity in CSS is typically represented using the <<opacity-value>> syntax,
653653
for example in the 'opacity' property
654-
or as the [=alpha component=] in a [=color function=].
654+
or as the [=alpha component=] in a [=color function=],
655+
using the <> syntax.
655656
Represented as a <>, the useful range of the value is ''0''
656657
(representing full transparency)
657658
to ''1''
@@ -691,7 +692,7 @@ Transparency: the 'opacity' property
691692

692693
If separate opacity for each glyph is desired,
693694
it can be achieved by using a color value
694-
which includes opacity,
695+
which includes alpha,
695696
rather than setting the 'opacity' property.
696697

697698
If a box has 'opacity' less than 1,

0 commit comments

Comments
 (0)