File tree 2 files changed +26
-2
lines changed
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -442,14 +442,26 @@ Used Values</h3>
442
442
As another example, a <code> <div></code> might have a computed 'break-before' value of ''auto'' ,
443
443
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
444
444
445
- If the property does not apply to this element or box type
445
+ If the property does not <dfn lt="apply to | applies to">apply to</dfn>
446
+ this element or box type
446
447
(as defined by its “Applies To” line),
447
448
then it has no <a>used value</a> for that property.
448
449
449
450
<p class='example'>
450
451
For example, the 'flex' property has no <a>used value</a>
451
452
on elements that aren't <a>flex items</a> .
452
453
454
+ Note: A property defined to apply to “all elements”
455
+ applies to all elements and [=display types=] ,
456
+ but not necessarily to all [=pseudo-element=] types,
457
+ since pseudo-elements often have their own specific rendering models
458
+ or other restrictions.
459
+ The ''::before'' and ''::after'' pseudo-elements, however,
460
+ are defined to generate boxes almost exactly like normal elements
461
+ and are therefore defined accept all properties that apply to “all elements”.
462
+ See [[CSS-PSEUDO-4]]
463
+ for more information about [=pseudo-elements=] .
464
+
453
465
<h3 id="actual">
454
466
Actual Values</h3>
455
467
Original file line number Diff line number Diff line change @@ -556,14 +556,26 @@ Used Values</h3>
556
556
As another example, a <code> <div></code> might have a computed 'break-before' value of ''auto'' ,
557
557
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
558
558
559
- If the property does not apply to this element or box type
559
+ If the property does not <dfn lt="apply to | applies to">apply to</dfn>
560
+ this element or box type
560
561
(as defined by its “Applies To” line),
561
562
then it has no <a>used value</a> for that property.
562
563
563
564
<p class='example'>
564
565
For example, the 'flex' property has no <a>used value</a>
565
566
on elements that aren't <a>flex items</a> .
566
567
568
+ Note: A property defined to apply to “all elements”
569
+ applies to all elements and [=display types=] ,
570
+ but not necessarily to all [=pseudo-element=] types,
571
+ since pseudo-elements often have their own specific rendering models
572
+ or other restrictions.
573
+ The ''::before'' and ''::after'' pseudo-elements, however,
574
+ are defined to generate boxes almost exactly like normal elements
575
+ and are therefore defined accept all properties that apply to “all elements”.
576
+ See [[CSS-PSEUDO-4]]
577
+ for more information about [=pseudo-elements=] .
578
+
567
579
<h3 id="actual">
568
580
Actual Values</h3>
569
581
You can’t perform that action at this time.
0 commit comments