Bug 4349 - Implement baseline alignment support for inline-block
Summary: Implement baseline alignment support for inline-block
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
Depends on:
Blocks: 4347
  Show dependency treegraph
Reported: 2005-08-08 22:31 PDT by Dave Hyatt
Modified: 2006-09-17 00:43 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2005-08-08 22:31:21 PDT
Right now WebKit does not support baseline alignment for inline-block and inline-table.  It simply treats 
the objects as though they have no baselines, and thus aligns the bottom edges of their margin boxes on 
the baseline.

The CSS2.1 spec says that inline-block should use the baseline of the last line box in the normal flow to 
set the inline-block's baseline, and that the baseline of the first table row should be used for inline tables.

Fixing this could be problematic, as Apple's shipping Dashboard widgets made use of inline-block without 
understanding that this bug was present in the engine.
Comment 1 Dave Hyatt 2005-08-08 22:32:16 PDT
This feature is necessary so that buttons, textfields, and popup menus can properly baseline align like 
they are supposed to once they are implemented as inline blocks in the engine.

Comment 2 Dave Hyatt 2005-08-08 23:03:27 PDT
I'm just going to worry about inline block for now.
Comment 3 Dave Hyatt 2006-09-17 00:43:09 PDT