ladybird/Base
Andreas Kling e73ad78ba6 LibWeb: Add support for "display: inline-block"
This display type is implemented using a LayoutBlock that is_inline().
Basically it behaves like a block internally, and its children are laid
out in the normal block layout fashion. Externally however, it behaves
like an atomic inline-level box.

Layout of inline-block boxes happens in three stages:

1. The outer dimensions of the block are computed during the recursive
   normal layout pass. We skip positioning, but lay out children.

2. Later on, during line layout in the *containing block*, the inline
   block now contributes a linebox fragment. When linebox fragments are
   positioned, we learn the final position of the inline block. That's
   when we set the inline block's position.

3. We re-layout the inline block's children once again. This is done to
   make sure they end up in the right position. The layout tree doesn't
   use relative offsets, so after we position the inline block in (2),
   its children will not have its positions updated. Relayout moves
   all children of inline blocks to the right place.

This is a rather naive approach but it does get the basic behavior into
place so we can iterate on it. :^)
2020-05-05 16:18:28 +02:00
..
etc Base: Start a desktop FileManager by default! :^) 2020-04-18 22:09:40 +02:00
home/anon LibWeb: Add support for "display: inline-block" 2020-05-05 16:18:28 +02:00
res SystemMenu+MouseDemo: Add menu entry and nice icons 2020-05-04 09:58:14 +02:00
usr Base: Fix a typo 2020-05-05 11:07:06 +02:00
www Base: Replace <!DOCTYPE> with <!DOCTYPE html> in a few files (#1511) 2020-03-26 07:37:12 +01:00