From 699b0d5d019fcec06a122da5849ffddedfbbd98d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 6 Jun 2010 21:55:16 +0200 Subject: Compute baseline-shift relative to parent baseline-shift. (bzr r9487) --- src/style.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index 9c82b1b7a..b3cc370f9 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -1396,6 +1396,8 @@ sp_style_merge_baseline_shift_from_parent(SPIBaselineShift &child, SPIBaselineSh break; } } + // baseline-shifts are relative to parent baseline + child.computed += parent.computed; } /** -- cgit v1.2.3