You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A {{StylePropertyMapReadOnly}} object has associated <dfn export for="StylePropertyMapReadonly, StylePropertyMap">map entries</dfn>,
267
267
which is a [=map=] of property names ([=string=]) → values ([=list=] of {{CSSStyleValue}} objects).
268
268
This list is initialized differently depending on where the {{CSSStyleValue}} is used
269
-
(see
270
-
[[#computed-stylepropertymapreadonly-objects]],
271
-
[[#declared-stylepropertymap-objects]], and
272
-
[[#inline-stylepropertymap-objects]]).
269
+
(see [[#computed-stylepropertymapreadonly-objects]]
270
+
and [[#declared-stylepropertymap-objects]]).
273
271
274
272
Unless otherwise stated,
275
273
the initial ordering of the [=StylePropertyMap/map entries=]
@@ -456,7 +454,9 @@ probably in an appendix.
456
454
457
455
Issue: Do we need an updateAll() method that gets and sets a list?
458
456
459
-
[=computed StylePropertyMap=], [=declared StylePropertyMap=] and [=inline StylePropertyMap=] are all live objects: the attributes and methods on these objects must operate on the actual underlying data, not a snapshot of the data.
457
+
[=Computed StylePropertyMaps=] and [=declared StylePropertyMaps=] are all live objects:
458
+
the attributes and methods on these objects must operate on the actual underlying data,
459
+
not a snapshot of the data.
460
460
461
461
A [=string=] is a <dfn>custom property name string</dfn>
462
462
if it starts with two dashes (U+002D HYPHEN-MINUS), like <code>--foo</code>.
@@ -498,7 +498,9 @@ and are accessed by calling the {{Element/computedStyleMap()}} method.
498
498
whose [=StylePropertyMap/map entries=] are the name and [=computed value=] of
499
499
every longhand CSS property supported by the User Agent,
500
500
every registered [=custom property=],
501
-
and every non-registered [=custom property=] which is not set to its initial value.
501
+
and every non-registered [=custom property=] which is not set to its initial value,
502
+
ordered by putting CSS-defined properties before custom properties,
503
+
then sorting by code-point order of property name within those two categories.
502
504
</div>
503
505
504
506
Note: like {{Window/getComputedStyle()|Window.getComputedStyle()}},
@@ -514,47 +516,35 @@ pseudo-element styles are intended to be obtainable
514
516
by adding this method to the new {{PseudoElement}} interface
515
517
(rather than using a `pseudoElt` argument like {{Window/getComputedStyle()|Window.getComputedStyle()}} does).
0 commit comments