Skip to content

Commit fbe958a

Browse files
nainartabatkins
authored andcommitted
Move comment about resources that don't need network request (w3c#635)
Move it from `CSSImageValue` to `CSSResourceValue` Fixes w3c#628
1 parent 914fe65 commit fbe958a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-typed-om/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,6 +2592,9 @@ A {{CSSResourceValue}} is in one of the following states, as reflected in the va
25922592
: "error"
25932593
:: The resource can't be fetched, or the fetched resource is invalid
25942594

2595+
{{CSSResourceValue}} objects that do not require network data (for example linear and radial gradients)
2596+
are initialized with {{CSSResourceValue/state}} "loaded".
2597+
25952598
<div class='example'>
25962599
For example, images that match the <<url>> production can be used immediately, but will not result
25972600
in a visual change until the image data is fetched. {{CSSResourceValue}} objects represent this by
@@ -2632,9 +2635,6 @@ interface CSSURLImageValue : CSSImageValue {
26322635
{{CSSImageValue}} objects represent values for properties that take <<image>> productions,
26332636
for example 'background-image', 'list-style-image', and 'border-image-source'.
26342637

2635-
{{CSSImageValue}} objects that do not require network data (for example linear and radial gradients)
2636-
are initialized with {{CSSResourceValue/state}} "loaded".
2637-
26382638
If the {{CSSImageValue}}'s {{CSSResourceValue/state}} is "loaded",
26392639
and the resource has an intrinsic width, height, or aspect ratio,
26402640
then {{CSSImageValue/intrinsicWidth}}, {{CSSImageValue/intrinsicHeight}}, and {{CSSImageValue/intrinsicRatio}} must reflect the resource's corresponding value.

0 commit comments

Comments
 (0)