aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 2706fba4..94e4e1b4 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1649,6 +1649,9 @@ void Textblock::draw (core::View *view, core::Rectangle *area)
drawBox (view, getStyle(), area, 0, verticalOffset, allocation.width,
getHeight() - verticalOffset, false);
+ if (stackingContextMgr)
+ stackingContextMgr->drawBottom (view, area);
+
lineIndex = findLineIndexWhenAllocated (area->y);
for (; lineIndex < lines->size (); lineIndex++) {
@@ -1662,6 +1665,9 @@ void Textblock::draw (core::View *view, core::Rectangle *area)
drawOOF (view, area);
+ if (stackingContextMgr)
+ stackingContextMgr->drawTop (view, area);
+
DBG_OBJ_LEAVE ();
}