@@ -17,7 +17,7 @@ Former Editor: Naina Raisinghani, Google, nainar@google.com, w3cid 100915
17
17
Repository : w3c/css-houdini-drafts
18
18
Inline Github Issues : title
19
19
Ignored Vars : type, unit
20
- Ignored Terms : Drawable, paint image definition, list-valued property, list-valued property iteration, parse a CSSStyleValue, values to iterate over, CSS, PseudoElement, style
20
+ Ignored Terms : Drawable, paint image definition, list-valued property, list-valued property iteration, parse a CSSStyleValue, values to iterate over, CSS, PseudoElement, style, reify a url, reify an image, reify a position
21
21
Markup Shorthands : markdown yes
22
22
</pre>
23
23
@@ -60,7 +60,18 @@ spec:css-align-3; type:property; text:column-gap
60
60
spec:css-color-4;
61
61
type:property; text:color;
62
62
type:value; text:currentcolor;
63
- spec:css-position-3; type:value; for:left; text:auto;
63
+ spec:css-overflow-3;
64
+ type: property; text: text-overflow;
65
+ spec:css-position-3;
66
+ type:value; for:left; text:auto;
67
+ type: property;
68
+ text: inset-block-start;
69
+ text: inset-block-end;
70
+ text: inset-inline-start;
71
+ text: inset-inline-end;
72
+ text: inset;
73
+ text: inset-block;
74
+ text: inset-inline;
64
75
spec:css-shapes-1; type: property;
65
76
text: shape-margin
66
77
text: shape-outside
@@ -90,6 +101,8 @@ spec:css-transforms-1;
90
101
type:property;
91
102
text:transform;
92
103
text:transform-origin;
104
+ spec:css-ui-4;
105
+ type: property; text: pointer-events;
93
106
spec:css-values-4;
94
107
type:type; text:<position>
95
108
type:value; text:in
@@ -333,7 +346,7 @@ interface StylePropertyMap : StylePropertyMapReadOnly {
333
346
334
347
<div algorithm="StylePropertyMap.[[declarations]]">
335
348
A {{StylePropertyMapReadOnly}} object
336
- has a <dfn attribute for="StylePropertyMapReadonly , StylePropertyMap">\[[declarations]]</dfn> internal slot,
349
+ has a <dfn attribute for="StylePropertyMapReadOnly , StylePropertyMap">\[[declarations]]</dfn> internal slot,
337
350
which is a [=map=] reflecting the [=CSS declaration block=] 's [=CSSStyleDeclaration/declarations=] .
338
351
339
352
Note: The [=CSSStyleDeclaration/declarations=] are not yet defined using [[infra]] terminology,
@@ -471,7 +484,7 @@ probably in an appendix.
471
484
</div>
472
485
473
486
<div algorithm>
474
- The <dfn attribute for="StylePropertyMapReadonly , StylePropertyMap">size</dfn> attribute,
487
+ The <dfn attribute for="StylePropertyMapReadOnly , StylePropertyMap">size</dfn> attribute,
475
488
on getting from a {{StylePropertyMap}} |this|,
476
489
must perform the following steps:
477
490
@@ -634,17 +647,15 @@ probably in an appendix.
634
647
<dfn for=CSSStyleValue export lt="match a grammar | match the grammar">match a grammar</dfn>
635
648
based on the following rules:
636
649
637
- * A {{CSSKeywordValue}} matches an [=ident=] specified in a grammar
650
+ * A {{CSSKeywordValue}} matches an <<identifier>> specified in a grammar
638
651
if its {{CSSKeywordValue/value}} internal slot
639
- matches the [=ident=] .
652
+ matches the identifier .
640
653
641
- If case-folding rules are in effect normally for that [=ident=]
654
+ If case-folding rules are in effect normally for that <<identifier>>
642
655
(such as ''Auto'' matching the keyword ''auto'' specified in the grammar for 'width' ),
643
656
they apply to this comparison as well.
644
657
* A {{CSSTransformValue}} matches <<transform-list>> .
645
658
* A {{CSSNumericValue}} matches what its type [=CSSNumericValue/matches=] .
646
- * A {{CSSURLImageValue}} matches <<url>> .
647
- * Any subclass of {{CSSImageValue}} matches <<image>> .
648
659
* A {{CSSUnparsedValue}} matches any grammar.
649
660
* A direct {{CSSStyleValue}} object (not a subclass)
650
661
with a non-null {{CSSStyleValue/[[associatedProperty]]}} slot
@@ -2909,7 +2920,7 @@ interface CSSColorValue : CSSStyleValue {
2909
2920
2910
2921
<table class=data>
2911
2922
<thead>
2912
- <tr><th> |colorspace| <th> {{CSSColorValue}} subclass
2923
+ <tr><th> {{CSSColorValue/colorSpace}} <th> {{CSSColorValue}} subclass
2913
2924
</thead>
2914
2925
<tr><td> "rgb"<td> {{CSSRGB}}
2915
2926
<tr><td> "hsl"<td> {{CSSHSL}}
@@ -3201,7 +3212,7 @@ The {{CSSColor}} class represents the CSS ''color()'' function.
3201
3212
must, when invoked,
3202
3213
perform the following steps:
3203
3214
3204
- 1. Let |colorspace | be replaced by the result of [=rectifying a keywordish value=] .
3215
+ 1. Let |colorSpace | be replaced by the result of [=rectifying a keywordish value=] .
3205
3216
Let each item in |channels| be replaced by the result of [=rectifying a percentish value=] from the item.
3206
3217
Let |alpha| be replaced by the result of [=rectifying a percentish value=] .
3207
3218
@@ -3210,11 +3221,11 @@ The {{CSSColor}} class represents the CSS ''color()'' function.
3210
3221
3211
3222
3. Return a new {{CSSColor}}
3212
3223
with its {{CSSColor/colorspace}} , {{CSSColor/channels}} , and {{CSSColor/alpha}} internal slots
3213
- set to |colorspace |, |channels|, and |alpha|.
3224
+ set to |colorSpace |, |channels|, and |alpha|.
3214
3225
</div>
3215
3226
3216
- <div algorithm="CSSColor.colorspace ">
3217
- The <dfn attribute for=CSSColor>colorspace </dfn> attribute of a {{CSSColor}} value
3227
+ <div algorithm="CSSColor.colorSpace ">
3228
+ The <dfn attribute for=CSSColor>colorSpace </dfn> attribute of a {{CSSColor}} value
3218
3229
must, on setting to a new value |val|,
3219
3230
[=rectify a keywordish value=] from |val|
3220
3231
and set the corresponding internal slot to the result of that.
@@ -3279,7 +3290,7 @@ The {{CSSDeviceCMYK}} class represents the CSS ''device-cmyk()'' function.
3279
3290
return |num|.
3280
3291
3281
3292
2. If |num| is a {{double}} ,
3282
- return a [=new unit value=] from (|num|*100, "percent").
3293
+ return a [=create a CSSUnitValue from a pair| new unit value=] from (|num|*100, "percent").
3283
3294
</div>
3284
3295
3285
3296
@@ -3463,11 +3474,6 @@ for both specified and computed values.
3463
3474
[=reify an image=] from the value
3464
3475
and return the result.
3465
3476
3466
- : <a>background-image-transform</a>
3467
- :: For both specified and computed values,
3468
- [=reify an identifier=] from the value
3469
- and return the result.
3470
-
3471
3477
: <a>background-position</a>
3472
3478
:: For both specified and computed values,
3473
3479
[=reify a position=] from the value
@@ -3633,11 +3639,6 @@ for both specified and computed values.
3633
3639
reify as a {{CSSStyleValue}}
3634
3640
and return the result.
3635
3641
3636
- : <a>border-image-transform</a>
3637
- :: For both specified and computed values,
3638
- [=reify an identifier=] from the value
3639
- and return the result.
3640
-
3641
3642
: <a>border-inline</a>
3642
3643
::
3643
3644
@@ -3976,19 +3977,6 @@ for both specified and computed values.
3976
3977
2. Otherwise, reify as a {{CSSStyleValue}}
3977
3978
and return the result.
3978
3979
3979
- : <a>font-max-size</a>
3980
- :: For both specified and computed values:
3981
-
3982
- 1. If the value is an <<absolute-size>> , <<relative-size>> or <css> infinity</css> ,
3983
- [=reify an identifier=] from the value
3984
- and return the result.
3985
-
3986
- 2. Otherwise, [=reify a numeric value=] from the value
3987
- and return the result.
3988
-
3989
- : <a>font-min-size</a>
3990
- :: Same as 'font-size'
3991
-
3992
3980
: <a>font-optical-sizing</a>
3993
3981
:: For both specified and computed values,
3994
3982
[=reify an identifier=] from the value
@@ -4004,11 +3992,6 @@ for both specified and computed values.
4004
3992
2. Otherwise, reify as a {{CSSStyleValue}}
4005
3993
and return the result.
4006
3994
4007
- : <a>font-presentation</a>
4008
- :: For both specified and computed values,
4009
- [=reify an identifier=] from the value
4010
- and return the result.
4011
-
4012
3995
: <a>font-size</a>
4013
3996
:: For both specified and computed values:
4014
3997
@@ -4438,21 +4421,12 @@ for both specified and computed values.
4438
4421
: <a>offset</a>
4439
4422
::
4440
4423
4441
- : <a>offset-after</a>
4442
- ::
4443
-
4444
4424
: <a>offset-anchor</a>
4445
4425
::
4446
4426
4447
- : <a>offset-before</a>
4448
- ::
4449
-
4450
4427
: <a>offset-distance</a>
4451
4428
::
4452
4429
4453
- : <a>offset-end</a>
4454
- ::
4455
-
4456
4430
: <a>offset-path</a>
4457
4431
::
4458
4432
@@ -4462,9 +4436,6 @@ for both specified and computed values.
4462
4436
: <a>offset-rotate</a>
4463
4437
::
4464
4438
4465
- : <a>offset-start</a>
4466
- ::
4467
-
4468
4439
: <a>opacity</a>
4469
4440
:: For both specified and computed values,
4470
4441
[=reify a numeric value=] from the value
@@ -4754,33 +4725,9 @@ for both specified and computed values.
4754
4725
: <a>scroll-snap-type</a>
4755
4726
::
4756
4727
4757
- : <a>scrollbar-3dlight-color</a>
4758
- ::
4759
-
4760
- : <a>scrollbar-arrow-color</a>
4761
- ::
4762
-
4763
- : <a>scrollbar-base-color</a>
4764
- ::
4765
-
4766
- : <a>scrollbar-darkshadow-color</a>
4767
- ::
4768
-
4769
- : <a>scrollbar-face-color</a>
4770
- ::
4771
-
4772
4728
: <a>scrollbar-gutter</a>
4773
4729
::
4774
4730
4775
- : <a>scrollbar-highlight-color</a>
4776
- ::
4777
-
4778
- : <a>scrollbar-shadow-color</a>
4779
- ::
4780
-
4781
- : <a>scrollbar-track-color</a>
4782
- ::
4783
-
4784
4731
: <a>shape-inside</a>
4785
4732
::
4786
4733
@@ -4796,15 +4743,6 @@ for both specified and computed values.
4796
4743
: <a>shape-subtract</a>
4797
4744
::
4798
4745
4799
- : <a>size</a>
4800
- ::
4801
-
4802
- : <a>solid-color</a>
4803
- ::
4804
-
4805
- : <a>solid-opacity</a>
4806
- ::
4807
-
4808
4746
: <a>speak</a>
4809
4747
::
4810
4748
@@ -4915,7 +4853,7 @@ for both specified and computed values.
4915
4853
: <a>text-decoration-stroke</a>
4916
4854
::
4917
4855
4918
- : <a>text-decoration-width </a>
4856
+ : <a>text-decoration-thickness </a>
4919
4857
::
4920
4858
4921
4859
: <a>text-emphasis-skip</a>
@@ -5427,26 +5365,6 @@ while CSS <<transform-function>> values become {{CSSTransformComponent}}s.
5427
5365
</div>
5428
5366
5429
5367
5430
- <<url>> (and subtype) Values {#reify-url}
5431
- --------------------------------------------------------------
5432
-
5433
- Resource references are reified by determining whether the reference is invalid
5434
- (in which case {{CSSResourceValue/state}} is set to ''error'' ) or
5435
- requires network data (in which case {{CSSResourceValue/state}}
5436
- is set to ''loading'' ). If data is not required and the reference is valid then
5437
- {{CSSResourceValue/state}} is set to ''loaded'' .
5438
-
5439
- If {{CSSResourceValue/state}} is set to ''loading'' then the image
5440
- reference is reevaluated once the pending data becomes available, according to the
5441
- same rules referenced above.
5442
-
5443
- Reification can not fail for {{CSSResourceValue}} objects.
5444
-
5445
- <div class='example'>
5446
- The string 'url(''bike.png'')' is converted into a {{CSSURLImageValue}} with {{CSSResourceValue/state}} set to ''unloaded'' and the {{CSSURLImageValue/url}} set to ''https://drafts.css-houdini.org/css-typed-om/bike.png'' .
5447
- </div>
5448
-
5449
-
5450
5368
5451
5369
5452
5370
<!--
@@ -5868,13 +5786,6 @@ length3.toString(); // "42px";
5868
5786
of |this|’s {{CSSMatrixComponent/matrix}} internal slot.
5869
5787
</div>
5870
5788
5871
-
5872
- {{CSSURLImageValue}} Serialization {#urlimagevalue-serialization}
5873
- -----------------------------------------------------------
5874
-
5875
- {{CSSURLImageValue}} objects are serialized to the string given by
5876
- 'url("' + {{CSSURLImageValue/url}} + '")' .
5877
-
5878
5789
Serialization from CSSOM Values {#cssom-serialization}
5879
5790
------------------------------------------------------
5880
5791
0 commit comments