Skip to content

Commit dc51853

Browse files
committed
[css-typed-om] Add a bit more information about CSSFontFaceValue.
w3c#190
1 parent 70ebe39 commit dc51853

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

css-typed-om/Overview.bs

+17-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Abstract: Converting CSSOM value strings into meaningfully typed JavaScript repr
1010
Editor: Shane Stephens, shanestephens@google.com
1111
Repository: w3c/css-houdini-drafts
1212
Ignored Vars: type, unit
13-
Ignored Terms: Drawable
13+
Ignored Terms: Drawable, paint image definition
1414
</pre>
1515

1616
<pre class=anchors>
@@ -40,6 +40,11 @@ spec:css-tables-3; type:property; text:table-layout;
4040
spec:css-position-3; type:value; for:left; text:auto;
4141
spec:css-transforms-1; type:type; text:<transform-list>;
4242
spec:css-transforms-1; type:type; text:<transform-function>;
43+
spec:css-transforms-1; type:property; text:backface-visibility;
44+
spec:css-transforms-1; type:property; text:perspective;
45+
spec:css-transforms-1; type:property; text:perspective-origin;
46+
spec:css-transforms-1; type:property; text:transform-origin;
47+
spec:css-transforms-1; type:property; text:transform-style;
4348
</pre>
4449

4550
Introduction {#intro}
@@ -636,13 +641,13 @@ before being usable.
636641
A {{CSSResourceValue}} is in one of the following states, as reflected in the value of the
637642
{{CSSResourceValue/state}} attribute:
638643

639-
: {{"unloaded"}}
644+
: "unloaded"
640645
:: The resource is not ready and is not actively being fetched
641-
: {{"loading"}}
646+
: "loading"
642647
:: The resource is not ready, but is in the process of being fetched
643-
: {{"loaded"}}
648+
: "loaded"
644649
:: The resource is ready for rendering
645-
: {{"error"}}
650+
: "error"
646651
:: The resource can't be fetched, or the fetched resource is invalid
647652

648653
<div class='example'>
@@ -673,9 +678,9 @@ interface CSSURLImageValue : CSSImageValue {
673678
for example 'background-image', 'list-style-image', and 'border-image-source'.
674679

675680
{{CSSImageValue}} objects that do not require network data (for example linear and radial gradients)
676-
are initialized with {{CSSResourceValue/state}} {{"loaded"}}.
681+
are initialized with {{CSSResourceValue/state}} "loaded".
677682

678-
If the {{CSSImageValue}}'s {{CSSResourceValue/state}} is {{"loaded"}},
683+
If the {{CSSImageValue}}'s {{CSSResourceValue/state}} is "loaded",
679684
and the resource has an intrinsic width, height, or aspect ratio,
680685
then {{CSSImageValue/intrinsicWidth}}, {{CSSImageValue/intrinsicHeight}}, and {{CSSImageValue/intrinsicRatio}} must reflect the resource's corresponding value.
681686
In all other cases, the attributes must be <code>null</code>.
@@ -697,8 +702,11 @@ interface CSSFontFaceValue : CSSResourceValue {
697702

698703
</pre>
699704

700-
{{CSSFontFaceValue}} objects represent font faces that can be used to render text. As
701-
font data may need to be fetched from a remote source, {{CSSFontFaceValue}} is a subclass
705+
{{CSSFontFaceValue}} objects are opaque representations of the contents of
706+
@font-face rules. They are used to pass font information into <a>paint image definition</a>s,
707+
via <a>custom properties</a>.
708+
709+
As font data may need to be fetched from a remote source, {{CSSFontFaceValue}} is a subclass
702710
of {{CSSResourceValue}}.
703711

704712
Mapping of properties to accepted types {#mapping-of-properties-to-accepted-types}

0 commit comments

Comments
 (0)