We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 576e5e8 commit 1b81f6fCopy full SHA for 1b81f6f
lib/CSS/Properties.rakumod
@@ -650,8 +650,10 @@ The `reference-width` attribute represents the width of a containing element; wh
650
$obj.copy: $orig, :@properties;
651
}
652
653
- multi method copy(::?CLASS:D: ::?CLASS:D $orig, :@properties = [$orig.properties]) {
+ multi method copy(::?CLASS:D: ::?CLASS:D $orig, :@properties = $orig.properties) {
654
for @properties {
655
+ $!calc.em = $orig.computed($_)
656
+ if $_ eq 'font-size';
657
%!values{$_} = $orig."$_"()
658
if $.property-number($_).defined;
659
0 commit comments