Skip to content

Commit 9f53392

Browse files
darrnshntabatkins
authored andcommitted
Add more reification (w3c#727)
1 parent c28f704 commit 9f53392

File tree

1 file changed

+148
-43
lines changed

1 file changed

+148
-43
lines changed

css-typed-om/Overview.bs

Lines changed: 148 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,14 +3592,9 @@ regardless of what property it is for.
35923592
and return the result.
35933593

35943594
: <a>font-style</a>
3595-
:: For both specified and computed values:
3596-
3597-
1. If the value is <css>normal</css> or <css>italic</css>,
3598-
[=reify an identifier=] from the value
3599-
and return the result.
3600-
3601-
2. Otherwise, reify as a {{CSSStyleValue}}
3602-
and return the result.
3595+
:: For both specified and computed values,
3596+
[=reify an identifier=] from the value
3597+
and return the result.
36033598

36043599
: <a>font-synthesis</a>
36053600
:: For both specified and computed values:
@@ -3644,12 +3639,11 @@ regardless of what property it is for.
36443639
: <a>font-weight</a>
36453640
:: For both specified and computed values:
36463641

3647-
1. If the value is <css>normal</css>, <css>bold</css>, <css>bolder</css> or <css>lighter</css>,
3648-
[=reify an identifier=] from the value
3642+
1. If the value is a <<number>>,
3643+
[=reify a numeric value=] from the value
36493644
and return the result.
36503645

3651-
2. Otherwise, [=reify a numeric value=] from the value
3652-
and return the result.
3646+
2. Otherwise, [=reify an identifier=] from the value
36533647

36543648
: <a>gap</a>
36553649
::
@@ -3715,7 +3709,15 @@ regardless of what property it is for.
37153709
::
37163710

37173711
: <a>height</a>
3718-
::
3712+
:: For both specified and computed values:
3713+
3714+
1. If the value is <css>auto</css>,
3715+
[=reify an identifier=] from the value
3716+
and return the result.
3717+
3718+
2. If the value is a <<length>> or <<percentage>>,
3719+
[=reify a numeric value=] from the value
3720+
and return the result.
37193721

37203722
: <a>image-rendering</a>
37213723
::
@@ -3769,7 +3771,14 @@ regardless of what property it is for.
37693771
::
37703772

37713773
: <a>left</a>
3772-
::
3774+
:: For both specified and computed values:
3775+
3776+
1. If the value is <css>auto</css>,
3777+
[=reify an identifier=] from the value
3778+
and return the result.
3779+
3780+
2. Otherwise, [=reify a numeric value=] from the value
3781+
and return the result.
37733782

37743783
: <a>letter-spacing</a>
37753784
::
@@ -3778,7 +3787,14 @@ regardless of what property it is for.
37783787
::
37793788

37803789
: <a>line-height</a>
3781-
::
3790+
:: For both specified and computed values:
3791+
3792+
1. If the value is <css>normal</css>,
3793+
[=reify an identifier=] from the value
3794+
and return the result.
3795+
3796+
2. Otherwise, [=reify a numeric value=] from the value
3797+
and return the result.
37823798

37833799
: <a>line-height-step</a>
37843800
::
@@ -3790,10 +3806,23 @@ regardless of what property it is for.
37903806
::
37913807

37923808
: <a>list-style-image</a>
3793-
::
3809+
:: For both specified and computed values:
3810+
3811+
1. If the value is <css>none</css>,
3812+
[=reify an identifier=] from the value
3813+
and return the result.
3814+
3815+
2. If the value is a ''url()'' function,
3816+
[=reify a url=] from the value
3817+
and return the result.
3818+
3819+
3. Otherwise, [=reify an image=] from the value
3820+
and return the result.
37943821

37953822
: <a>list-style-position</a>
3796-
::
3823+
:: For both specified and computed values,
3824+
[=reify an identifier=] from the value
3825+
and return the result.
37973826

37983827
: <a>list-style-type</a>
37993828
::
@@ -3813,7 +3842,7 @@ regardless of what property it is for.
38133842
::
38143843

38153844
: <a>margin-bottom</a>
3816-
::
3845+
:: Same as 'margin-top'
38173846

38183847
: <a>margin-inline</a>
38193848
::
@@ -3825,13 +3854,20 @@ regardless of what property it is for.
38253854
::
38263855

38273856
: <a>margin-left</a>
3828-
::
3857+
:: Same as 'margin-top'
38293858

38303859
: <a>margin-right</a>
3831-
::
3860+
:: Same as 'margin-top'
38323861

38333862
: <a>margin-top</a>
3834-
::
3863+
:: For both specified and computed values:
3864+
3865+
1. If the value is <css>auto</css>,
3866+
[=reify an identifier=] from the value
3867+
and return the result.
3868+
3869+
2. Otherwise, [=reify a numeric value=] from the value
3870+
and return the result.
38353871

38363872
: <a>marker</a>
38373873
::
@@ -3879,7 +3915,14 @@ regardless of what property it is for.
38793915
::
38803916

38813917
: <a>mask-image</a>
3882-
::
3918+
:: For both specified and computed values:
3919+
3920+
1. If the value is <css>none</css>,
3921+
[=reify an identifier=] from the value
3922+
and return the result.
3923+
3924+
2. Otherwise, [=reify an image=] from the value
3925+
and return the result.
38833926

38843927
: <a>mask-mode</a>
38853928
::
@@ -3975,7 +4018,9 @@ regardless of what property it is for.
39754018
::
39764019

39774020
: <a>opacity</a>
3978-
::
4021+
:: For both specified and computed values,
4022+
[=reify a numeric value=] from the value
4023+
and return the result.
39794024

39804025
: <a>order</a>
39814026
::
@@ -3987,28 +4032,45 @@ regardless of what property it is for.
39874032
::
39884033

39894034
: <a>outline-color</a>
3990-
::
4035+
:: For both specified and computed values:
4036+
4037+
1. If the value is <css>currentcolor</css>,
4038+
[=reify an identifier=] from the value
4039+
and return the result.
4040+
4041+
2. Otherwise, reify as a {{CSSStyleValue}}
4042+
and return the result.
39914043

39924044
: <a>outline-offset</a>
39934045
::
39944046

39954047
: <a>outline-style</a>
3996-
::
4048+
:: For both specified and computed values,
4049+
[=reify an identifier=] from the value
4050+
and return the result.
39974051

39984052
: <a>outline-width</a>
39994053
::
40004054

40014055
: <a>overflow</a>
4002-
::
4056+
:: For both specified and computed values,
4057+
reify as a {{CSSStyleValue}}
4058+
and return the result.
40034059

40044060
: <a>overflow-anchor</a>
4005-
::
4061+
:: For both specified and computed values,
4062+
[=reify an identifier=] from the value
4063+
and return the result.
40064064

40074065
: <a>overflow-x</a>
4008-
::
4066+
:: For both specified and computed values,
4067+
[=reify an identifier=] from the value
4068+
and return the result.
40094069

40104070
: <a>overflow-y</a>
4011-
::
4071+
:: For both specified and computed values,
4072+
[=reify an identifier=] from the value
4073+
and return the result.
40124074

40134075
: <a>padding</a>
40144076
:: For both specified and computed values,
@@ -4025,7 +4087,7 @@ regardless of what property it is for.
40254087
::
40264088

40274089
: <a>padding-bottom</a>
4028-
::
4090+
:: Same as 'padding-top'
40294091

40304092
: <a>padding-inline</a>
40314093
::
@@ -4037,13 +4099,15 @@ regardless of what property it is for.
40374099
::
40384100

40394101
: <a>padding-left</a>
4040-
::
4102+
:: Same as 'padding-top'
40414103

40424104
: <a>padding-right</a>
4043-
::
4105+
:: Same as 'padding-top'
40444106

40454107
: <a>padding-top</a>
4046-
::
4108+
:: For both specified and computed values,
4109+
[=reify a numeric value=] from the value
4110+
and return the result.
40474111

40484112
: <a>page</a>
40494113
::
@@ -4097,7 +4161,9 @@ regardless of what property it is for.
40974161
::
40984162

40994163
: <a>position</a>
4100-
::
4164+
:: For both specified and computed values,
4165+
[=reify an identifier=] from the value
4166+
and return the result.
41014167

41024168
: <a>presentation-level</a>
41034169
::
@@ -4112,7 +4178,9 @@ regardless of what property it is for.
41124178
::
41134179

41144180
: <a>resize</a>
4115-
::
4181+
:: For both specified and computed values,
4182+
[=reify an identifier=] from the value
4183+
and return the result.
41164184

41174185
: <a>rest</a>
41184186
::
@@ -4127,7 +4195,14 @@ regardless of what property it is for.
41274195
::
41284196

41294197
: <a>right</a>
4130-
::
4198+
:: For both specified and computed values:
4199+
4200+
1. If the value is <css>auto</css>,
4201+
[=reify an identifier=] from the value
4202+
and return the result.
4203+
4204+
2. Otherwise, [=reify a numeric value=] from the value
4205+
and return the result.
41314206

41324207
: <a>rotate</a>
41334208
::
@@ -4367,7 +4442,9 @@ regardless of what property it is for.
43674442
::
43684443

43694444
: <a>text-align</a>
4370-
::
4445+
:: For both specified and computed values,
4446+
[=reify an identifier=] from the value
4447+
and return the result.
43714448

43724449
: <a>text-anchor</a>
43734450
::
@@ -4412,13 +4489,22 @@ regardless of what property it is for.
44124489
::
44134490

44144491
: <a>text-transform</a>
4415-
::
4492+
:: For both specified and computed values,
4493+
[=reify an identifier=] from the value
4494+
and return the result.
44164495

44174496
: <a>text-underline-offset</a>
44184497
::
44194498

44204499
: <a>top</a>
4421-
::
4500+
:: For both specified and computed values:
4501+
4502+
1. If the value is <css>auto</css>,
4503+
[=reify an identifier=] from the value
4504+
and return the result.
4505+
4506+
2. Otherwise, [=reify a numeric value=] from the value
4507+
and return the result.
44224508

44234509
: <a>transform-style</a>
44244510
::
@@ -4451,10 +4537,19 @@ regardless of what property it is for.
44514537
::
44524538

44534539
: <a>vertical-align</a>
4454-
::
4540+
:: For both specified and computed values:
4541+
4542+
1. If the value is <css>baseline</css>,
4543+
[=reify an identifier=] from the value
4544+
and return the result.
4545+
4546+
2. Otherwise, [=reify a numeric value=] from the value
4547+
and return the result.
44554548

44564549
: <a>visibility</a>
4457-
::
4550+
:: For both specified and computed values,
4551+
[=reify an identifier=] from the value
4552+
and return the result.
44584553

44594554
: <a>voice-balance</a>
44604555
::
@@ -4484,13 +4579,23 @@ regardless of what property it is for.
44844579
::
44854580

44864581
: <a>white-space</a>
4487-
::
4582+
:: For both specified and computed values,
4583+
[=reify an identifier=] from the value
4584+
and return the result.
44884585

44894586
: <a>widows</a>
44904587
::
44914588

44924589
: <a>width</a>
4493-
::
4590+
:: For both specified and computed values:
4591+
4592+
1. If the value is <css>auto</css>,
4593+
[=reify an identifier=] from the value
4594+
and return the result.
4595+
4596+
2. If the value is a <<length>> or <<percentage>>,
4597+
[=reify a numeric value=] from the value
4598+
and return the result.
44944599

44954600
: <a>will-change</a>
44964601
::

0 commit comments

Comments
 (0)