Skip to content

Commit b704bfe

Browse files
committed
[css-values-5] Fix markup
1 parent 3b07ff6 commit b704bfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-values-5/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1622,9 +1622,9 @@ Ian's proposal:
16221622

16231623
<div class='note'>
16241624
Note that the default value need not be of the type given.
1625-
For instance, if the type required of the attribute by the author is ''<number px>'',
1625+
For instance, if the type required of the attribute by the author is ''&lt;number px>'',
16261626
the default could still be <css>auto</css>,
1627-
like in ''width: attr(size <number px>, auto);''.
1627+
like in ''width: attr(size &lt;number px>, auto);''.
16281628
</div>
16291629

16301630
<div class="example">
@@ -1738,7 +1738,7 @@ Security</h4>
17381738
However, using ''attr()'' for other purposes is fine,
17391739
even if the usage is <em>near</em> a url:
17401740

1741-
* ''background-image: image("foo.jpg", attr(bgcolor <color>))'' is fine;
1741+
* ''background-image: image("foo.jpg", attr(bgcolor &lt;color>))'' is fine;
17421742
the ''attr()'' is providing a fallback color,
17431743
and the <<url>> isn't [=attr()-tainted=].
17441744
</div>

0 commit comments

Comments
 (0)