@@ -403,24 +403,25 @@ and [[css-syntax-3#tokenization|tokenizing]] the resulting string.
403
403
Dependency Cycles Via Relative Units {#dependency-cycles}
404
404
---------------------------------------------------------
405
405
406
- Registered custom properties follow the same rules for dependency cycle
407
- resolution as unregistered custom properties, with the following additional
408
- constraints:
406
+ [= Registered custom properties=] follow the same rules for dependency cycle resolution
407
+ as unregistered [= custom properties=] ,
408
+ with the following additional constraints:
409
409
410
- For any registered custom property with a <<length>> or <<length-percentage>> syntax
411
- component:
410
+ For any registered custom property
411
+ with a <<length>> or <<length-percentage>> syntax component:
412
412
413
413
* If the property contains any of the following units:
414
414
''em'' , ''ex'' , ''cap'' , ''ch'' , ''ic'' , ''lh'' ;
415
- then add an edge between the property and the ''font-size'' of the current
416
- element.
415
+ then add an edge between the property
416
+ and the ''font-size'' of the current element.
417
417
* If the property contains the ''lh'' unit,
418
- add an edge between the property and the ''line-height'' of the current
419
- element.
418
+ add an edge between the property
419
+ and the ''line-height'' of the current element.
420
420
* If the property contains any of the following units: ''rem'' , ''rlh'' ;
421
421
then add an edge between the property
422
422
and the 'font-size' ' of the root element.
423
- * If the property contains the ''rlh'' unit, add an edge between the property
423
+ * If the property contains the ''rlh'' unit,
424
+ add an edge between the property
424
425
and the 'line-height' ' of the root element.
425
426
426
427
<div class='example'>
0 commit comments