diff options
author | Sebastian Geerken <devnull@localhost> | 2014-11-08 14:57:16 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-11-08 14:57:16 +0100 |
commit | aa4f6269918fcfc5ebd11d3b712e88577773ba02 (patch) | |
tree | 9e914def2dc344a71c266f4361123abcbde88cba /doc | |
parent | faa8d1b65d9f724445e068d2766356103204728a (diff) | |
parent | 550d933b21d548411fe862d6a24ce73e4d5621c5 (diff) |
Merge with main repo.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dw-out-of-flow.doc | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/doc/dw-out-of-flow.doc b/doc/dw-out-of-flow.doc index 8bfcde4c..b7ebee40 100644 --- a/doc/dw-out-of-flow.doc +++ b/doc/dw-out-of-flow.doc @@ -234,45 +234,6 @@ Integration of line breaking and floats Absolute and fixed positiones ============================= -If you look at dw::OutOfFlowMgr in detail, you will find that some -work on **absolute positions** has already be done, but is -deactivated. Absolutely positioned elements will also be handled by -dw::OutOfFlowMgr, in a way transparent to dw::Textblock. Positioning -is much simpler than for floats: the complicated relation between -dw::Textblock and dw::OutOfFlowMgr (calculation of the vertical -position of floats on one hand, limiting line widths by floats on the -other hand) does not occur here. - -Since handling sizes becomes an important part for absolute positions, -the full implementation will be realized after finishing the planned -redesign of widget sizes (see \ref dw-grows). - -(One note already about the *z-index* attribute: different blocks, -represented by widgets, may overlap; *z-index* has an influence the -order in which - -1. widgets are drawn (in *ascending* order of *z-index*), and -2. mouse events are deligated to the widgets (in *descending* oder of - *z-index*). - -Something similar is already done for floats: effectively, floats have -a larger *z-index* than the textblocks in flow. (See *end* of -dw::Textblock::draw and *beginning* of -dw::Textblock::getWidgetAtPoint.) - -For a complete implementation, handling *z-index* becomes a bit more -complicated. An idea is to keep track of the minimum and maximum value -of *z-index*, and then iterating over all possible values (ascending -for drawing, descending for event handling), handling only widgets -with a specific *z-index* in one iteration.) - -There are currently no plans for an implementation of **fixed -positions** soon. These problems have to be considered: - -- Generally attaching dillo widgets to the viewport, not the canvas; - this is also required for the implementation of - *background-attachment*, see \ref dw-images-and-backgrounds. -- To which containing block are elements with fixed position related? - To the same as floats and absolutely positioned? +To be documented. */
\ No newline at end of file |