Commit a956858
committed
style(docs[css]): Correct misleading aspect-ratio comment to match actual rule
why: Comment claimed "height: auto + aspect-ratio" reserved space before
load, but the aspect-ratio property was absent from the rule. The comment
wrote a check the code didn't cash.
what:
- Rewrite comment to accurately describe what height: auto does
- Note the CLS limitation for images without HTML width/height attributes1 parent 64ddd77 commit a956858
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
0 commit comments