Skip to content

Commit b710786

Browse files
committed
[typed-om] More CSS->OM mappings.
1 parent b5d99bf commit b710786

File tree

1 file changed

+149
-41
lines changed

1 file changed

+149
-41
lines changed

css-typed-om/Overview.bs

Lines changed: 149 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3289,127 +3289,235 @@ which will be filled in with more detail as we go.
32893289
and return the result.
32903290

32913291
: <a>backdrop-filter</a>
3292-
::
3292+
:: For both specified and computed values:
3293+
3294+
1. If the value is <css>none</css>,
3295+
[=reify an identifier=] from the value
3296+
and return the result.
3297+
3298+
2. Otherwise,
3299+
reify as a {{CSSStyleValue}}
3300+
and return the result.
32933301

32943302
: <a>backface-visibility</a>
3295-
::
3303+
:: For both specified and computed values,
3304+
[=reify an identifier=] from the value
3305+
and return the result.
32963306

32973307
: <a>background</a>
3298-
::
3308+
:: For both specified and computed values,
3309+
reify as a {{CSSStyleValue}}
3310+
and return the result.
32993311

33003312
: <a>background-attachment</a>
3301-
::
3313+
:: For both specified and computed values,
3314+
[=reify an identifier=] from the value
3315+
and return the result.
33023316

33033317
: <a>background-blend-mode</a>
3304-
::
3318+
:: For both specified and computed values,
3319+
[=reify an identifier=] from the value
3320+
and return the result.
3321+
3322+
: <a>background-clip</a>
3323+
:: For both specified and computed values,
3324+
[=reify an identifier=] from the value
3325+
and return the result.
33053326

33063327
: <a>background-color</a>
3307-
::
3328+
:: For both specified and computed values,
3329+
reify as a {{CSSStyleValue}}
3330+
and return the result.
33083331

33093332
: <a>background-image</a>
3310-
::
3333+
:: For both specified and computed values:
3334+
3335+
1. If the value is <css>none</css>,
3336+
[=reify an identifier=] from the value
3337+
and return the result.
3338+
3339+
2. If the value is a ''url()'' function,
3340+
[=reify a url=] from the value
3341+
and return the result.
3342+
3343+
3. Otherwise,
3344+
[=reify an image=] from the value
3345+
and return the result.
33113346

33123347
: <a>background-image-transform</a>
3313-
::
3348+
:: For both specified and computed values,
3349+
[=reify an identifier=] from the value
3350+
and return the result.
33143351

33153352
: <a>background-position</a>
3316-
::
3353+
:: For both specified and computed values,
3354+
[=reify a position=] from the value
3355+
and return the result.
33173356

33183357
: <a>background-repeat</a>
3319-
::
3358+
:: For both specified and computed values:
3359+
3360+
1. If the value is a single keyword,
3361+
or the same keyword repeated twice,
3362+
[=reify an identifier=] from the keyword
3363+
and return the result.
3364+
3365+
2. If the value is <css>repeat no-repeat</css>,
3366+
[=reify an identifier=] "repeat-x"
3367+
and return the result.
3368+
3369+
3. If the value is <css>no-repeat repeat</css>,
3370+
[=reify an identifier=] "repeat-y"
3371+
and return the result.
3372+
3373+
4. Otherwise,
3374+
reify to a {{CSSStyleValue}}
3375+
and return the result.
33203376

33213377
: <a>baseline-shift</a>
3322-
::
3378+
:: For both specified and computed values:
3379+
3380+
1. If the value is <css>sub</css> or <css>super</css>,
3381+
[=reify an identifier=] from the value
3382+
and return the result.
3383+
3384+
2. Otherwise,
3385+
[=reify a numeric value=] from the value
3386+
and return the result.
33233387

33243388
: <a>block-size</a>
3325-
::
3389+
:: Same as for 'width'
33263390

33273391
: <a>block-step</a>
3328-
::
3392+
:: For both specified and computed values,
3393+
reify as a {{CSSStyleValue}}
3394+
and return the result.
33293395

33303396
: <a>block-step-align</a>
3331-
::
3397+
:: For both specified and computed values,
3398+
[=reify an identifier=] from the value
3399+
and return the result.
33323400

33333401
: <a>block-step-insert</a>
3334-
::
3402+
:: For both specified and computed values,
3403+
[=reify an identifier=] from the value
3404+
and return the result.
33353405

33363406
: <a>block-step-round</a>
3337-
::
3407+
:: For both specified and computed values,
3408+
[=reify an identifier=] from the value
3409+
and return the result.
33383410

33393411
: <a>block-step-size</a>
3340-
::
3412+
:: For both specified and computed values:
3413+
3414+
1. If the value is <css>none</css>,
3415+
[=reify an identifier=] from the value
3416+
and return the result.
3417+
3418+
2. Otherwise,
3419+
[=reify a numeric value=] from the value
3420+
and return the result.
33413421

33423422
: <a>bookmark-label</a>
3343-
::
3423+
:: For both specified and computed values,
3424+
reify as a {{CSSStyleValue}}
3425+
and return the result.
33443426

33453427
: <a>bookmark-level</a>
3346-
::
3428+
:: For both specified and computed values:
3429+
3430+
1. If the value is <css>none</css>,
3431+
[=reify an identifier=] from the value
3432+
and return the result.
3433+
3434+
2. Otherwise,
3435+
[=reify a numeric value=] from the value
3436+
and return the result.
33473437

33483438
: <a>bookmark-state</a>
3349-
::
3439+
:: For both specified and computed values,
3440+
[=reify an identifier=] from the value
3441+
and return the result.
33503442

33513443
: <a>border</a>
3352-
::
3444+
:: For both specified and computed values,
3445+
reify as a {{CSSStyleValue}}
3446+
and return the result.
33533447

33543448
: <a>border-block</a>
3355-
::
3449+
:: Same as 'border-block-start'
33563450

33573451
: <a>border-block-color</a>
3358-
::
3452+
:: For both specified and computed values,
3453+
reify as a {{CSSStyleValue}}
3454+
and return the result.
33593455

33603456
: <a>border-block-end</a>
3361-
::
3457+
:: Same as 'border-block-start'
33623458

33633459
: <a>border-block-end-color</a>
3364-
::
3460+
:: Same as 'border-top-color'
33653461

33663462
: <a>border-block-end-style</a>
3367-
::
3463+
:: Same as 'border-top-style'
33683464

33693465
: <a>border-block-end-width</a>
3370-
::
3466+
:: Same as 'border-top-width'
33713467

33723468
: <a>border-block-start</a>
3373-
::
3469+
:: Same as 'border-top'
33743470

33753471
: <a>border-block-start-color</a>
3376-
::
3472+
:: Same as 'border-top-color'
33773473

33783474
: <a>border-block-start-style</a>
3379-
::
3475+
:: Same as 'border-top-style'
33803476

33813477
: <a>border-block-start-width</a>
3382-
::
3478+
:: Same as 'border-top-width'
33833479

33843480
: <a>border-block-style</a>
3385-
::
3481+
:: For both specified and computed values,
3482+
reify as a {{CSSStyleValue}}
3483+
and return the result.
33863484

33873485
: <a>border-block-width</a>
3388-
::
3486+
:: For both specified and computed values,
3487+
reify as a {{CSSStyleValue}}
3488+
and return the result.
33893489

33903490
: <a>border-bottom</a>
3391-
::
3491+
:: Same as 'border-top'
33923492

33933493
: <a>border-bottom-color</a>
3394-
::
3494+
:: Same as 'border-top-color'
33953495

33963496
: <a>border-bottom-style</a>
3397-
::
3497+
:: Same as 'border-top-style'
33983498

33993499
: <a>border-bottom-width</a>
3400-
::
3500+
:: Same as 'border-top-width'
34013501

34023502
: <a>border-boundary</a>
3403-
::
3503+
:: For both specified and computed values,
3504+
[=reify an identifier=] from the value
3505+
and return the result.
34043506

34053507
: <a>border-collapse</a>
3406-
::
3508+
:: For both specified and computed values,
3509+
[=reify an identifier=] from the value
3510+
and return the result.
34073511

34083512
: <a>border-color</a>
3409-
::
3513+
:: For both specified and computed values,
3514+
reify as a {{CSSStyleValue}}
3515+
and return the result.
34103516

34113517
: <a>border-image-transform</a>
3412-
::
3518+
:: For both specified and computed values,
3519+
[=reify an identifier=] from the value
3520+
and return the result.
34133521

34143522
: <a>border-inline</a>
34153523
::

0 commit comments

Comments
 (0)