diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-19 12:44:41 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-19 12:44:41 +0200 |
commit | 6e1ba5ce92f5ad6cb51475fa526820e8cff1fce8 (patch) | |
tree | 2d453cd6c946e7dc6563234c6bf1bc5aed276b40 | |
parent | 20ff9785c1736bf1659d359d07f5ec37ca28fb51 (diff) |
Relatively positioned elements are not (necessarily) a float container.
-rw-r--r-- | dw/oofawarewidget.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dw/oofawarewidget.cc b/dw/oofawarewidget.cc index eec012f6..f26591ce 100644 --- a/dw/oofawarewidget.cc +++ b/dw/oofawarewidget.cc @@ -113,11 +113,12 @@ bool OOFAwareWidget::isOOFContainer (Widget *widget, int oofmIndex) // (the default value) 'visible'. widget->getStyle()->overflow != OVERFLOW_VISIBLE || // Finally, "out of flow" in a narrower sense: floats; - // absolutely and fixedly positioned elements; furthermore, - // relatively positioned elements must already be - // considered here, since they may constitute a stacking - // context. - testWidgetOutOfFlow (widget) || testWidgetPositioned (widget))); + // absolutely and fixedly positioned elements. (No + // relatively positioned elements; since the latters + // constitute a stacking context, drawing of floats gets + // somewhat more complicated; see "interrupting the drawing + // process" in "dw-stacking-context.doc". + testWidgetOutOfFlow (widget))); case OOFM_ABSOLUTE: // Only the toplevel widget (as for all) as well as absolutely, |