summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 05257ce3a..4594b56a8 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -2312,6 +2312,9 @@ SPIFontSize::merge( const SPIBase* const parent ) {
// Computed value same as parent
set = p->set;
inherit = p->inherit;
+ type = p->type;
+ unit = p->unit;
+ literal = p->literal;
value = p->value;
computed = p->computed; // Just to be sure
} else if ( type == SP_FONT_SIZE_LENGTH &&