@@ -123,24 +123,24 @@ Introduction {#intro}
123
123
=====================
124
124
125
125
CSS stylesheets are parsed into abstract UA-internal data structures,
126
- the <dfn for=CSS export>underlying values </dfn> of CSS,
126
+ the <dfn for=CSS export lt="internal representation">internal representations </dfn> of CSS,
127
127
which various specification algorithms manipulate.
128
128
129
- Underlying values can't be directly manipulated,
129
+ [=Internal representations=] can't be directly manipulated,
130
130
as they are implementation-dependent;
131
- UAs have to agree on how to *interpret* the underlying values ,
132
- but the values themselves are purposely left undefined
131
+ UAs have to agree on how to *interpret* the [=internal representations=] ,
132
+ but the representations themselves are purposely left undefined
133
133
so that UAs can store and manipulate CSS
134
134
in whatever way is most efficient for them.
135
135
136
- Previously, the only way to read or write to the underlying values
136
+ Previously, the only way to read or write to the [=internal representations=]
137
137
was via strings--
138
138
stylesheets or the CSSOM allowed authors to send strings to the UA,
139
- which were parsed into underlying values ,
139
+ which were parsed into [=internal representations=] ,
140
140
and the CSSOM allowed authors to request
141
- that the UA serialize their underlying values back into strings.
141
+ that the UA serialize their [=internal representations=] back into strings.
142
142
143
- This specification introduces a new way to interact with [=underlying values =] ,
143
+ This specification introduces a new way to interact with [=internal representations =] ,
144
144
by representing them with specialized JS objects
145
145
that can be manipulated and understood more easily and more reliably
146
146
than string parsing/concatenation.
@@ -149,7 +149,7 @@ This new approach is both easier for authors
149
149
and have unit-aware mathematical operations defined for them)
150
150
and in many cases are more performant,
151
151
as values can be directly manipulated
152
- and then cheaply translated back into [=underlying values =]
152
+ and then cheaply translated back into [=internal representations =]
153
153
without having to build and then parse strings of CSS.
154
154
155
155
<!--
@@ -270,11 +270,11 @@ are instead represented as {{CSSStyleValue}} objects.
270
270
271
271
Each {{CSSStyleValue}} object is associated with a particular CSS property,
272
272
via its {{[[associatedProperty]]}} internal slot,
273
- and a particular, immutable, [=underlying value =] .
274
- These objects are said to "represent" the particular [=underlying value =]
273
+ and a particular, immutable, [=internal representation =] .
274
+ These objects are said to "represent" the particular [=internal representation =]
275
275
they were [=reified=] from,
276
276
such that if they are set back into a stylesheet for the same property,
277
- they reproduce an equivalent [=underlying value =] .
277
+ they reproduce an equivalent [=internal representation =] .
278
278
279
279
These {{CSSStyleValue}} objects are only considered valid for the property that they were parsed for.
280
280
This is enforced by {{CSSStyleValue}} objects having a <dfn attribute for=CSSStyleValue>\[[associatedProperty]]</dfn> internal slot,
@@ -339,7 +339,7 @@ interface StylePropertyMap : StylePropertyMapReadOnly {
339
339
Note: The [=CSSStyleDeclaration/declarations=] are not yet defined using [[infra]] terminology,
340
340
but for the purpose of this spec
341
341
it's assumed to be a [=map=] whose keys are [=strings=] (representing property names)
342
- and whose values are [=underlying values =] for those properties.
342
+ and whose values are [=internal representations =] for those properties.
343
343
344
344
Unless otherwise stated,
345
345
the initial ordering of the {{[[declarations]]}} internal slot
@@ -515,7 +515,7 @@ probably in an appendix.
515
515
7. Let |values to set| be an empty [=list=] .
516
516
517
517
8. For each |value| in |values|,
518
- [=create an underlying value =] for |property| and |value|,
518
+ [=create an internal representation =] for |property| and |value|,
519
519
and append the result to |values to set|.
520
520
521
521
9. Set |props|[|property|] to |values to set|.
@@ -566,7 +566,7 @@ probably in an appendix.
566
566
7. Let |temp values| be an empty [=list=] .
567
567
568
568
8. For each |value| in |values|,
569
- [=create an underlying value =] with |property| and |value|,
569
+ [=create an internal representation =] with |property| and |value|,
570
570
and [=list/append=] the returned value to |temp values|.
571
571
572
572
<!-- Using a temp list so that nothing gets mutated if normalizing ends up throwing an error. -->
@@ -598,7 +598,7 @@ probably in an appendix.
598
598
</div>
599
599
600
600
<div algorithm>
601
- To <dfn export>create an underlying value </dfn> ,
601
+ To <dfn export>create an internal representation </dfn> ,
602
602
given a [=string=] |property|
603
603
and a [=string=] or {{CSSStyleValue}} |value|:
604
604
@@ -2845,17 +2845,17 @@ has the same behavior as in normal CSS.
2845
2845
{{CSSStyleValue}} Reification {#reify-stylevalue}
2846
2846
===========================================================
2847
2847
2848
- This section describes how Typed OM objects are constructed from [=underlying values =] ,
2848
+ This section describes how Typed OM objects are constructed from [=internal representations =] ,
2849
2849
a process called <dfn export for=CSS lt="reify | reification">reification</dfn> .
2850
2850
2851
2851
Some general principles apply to all [=reification=] ,
2852
2852
and so aren't stated in each individual instance:
2853
2853
2854
- * If an [=underlying value =] is from a [=list-valued=] property,
2854
+ * If an [=internal representation =] is from a [=list-valued=] property,
2855
2855
this list defines how to reify a single iteration of the property;
2856
2856
multiple iterations are reflected by returning multiple values from {{StylePropertyMap}} .{{getAll()}} .
2857
2857
2858
- * If an [=underlying value =] contains a ''var()'' reference,
2858
+ * If an [=internal representation =] contains a ''var()'' reference,
2859
2859
then it is reified by [=reify a list of component values|reifying a list of component values=] ,
2860
2860
regardless of what property it is for.
2861
2861
@@ -4615,7 +4615,7 @@ for both specified and computed values.
4615
4615
Unrepresentable Values {#reify-failure}
4616
4616
---------------------------------------
4617
4617
4618
- Not all [=underlying values =] are simple enough to be [=reified=]
4618
+ Not all [=internal representations =] are simple enough to be [=reified=]
4619
4619
with the current set of {{CSSStyleValue}} subclasses.
4620
4620
When this is the case,
4621
4621
the property is [=reified as a CSSStyleValue=] for a particular property,
0 commit comments