Skip to content

Commit 7da54fb

Browse files
committed
Remove outdated comment
1 parent 9e2819e commit 7da54fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/RuleSet/DeclarationBlock.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ public function expandFontShorthand(): void
350350
$aFontProperties['font-variant'] = $mValue;
351351
} elseif (
352352
in_array($mValue, ['bold', 'bolder', 'lighter'], true)
353-
// Note: font weights should be integers, not floats. For now, we'll keep using floats. We will
354-
// drill down on this and fix it in https://github.com/MyIntervals/PHP-CSS-Parser/issues/612.
355353
|| ($mValue instanceof Size && in_array($mValue->getSize(), range(100.0, 900.0, 100.0), true))
356354
) {
357355
$aFontProperties['font-weight'] = $mValue;

0 commit comments

Comments
 (0)