[Webkit-unassigned] [Bug 39306] New: vertical-align is ignored for inline-blocks containing line-boxes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 18 12:08:38 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39306
Summary: vertical-align is ignored for inline-blocks containing
line-boxes
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
URL: http://arther.net/lab/webkit-vertical-align-test.html#
test
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sean-webkit at mudbugmedia.com
When Webkit encounters an inline-block where...
1. the line-height height is explicitly specified
2. the content is rendered using multiple line-boxes
...the inline-block element ignores the specified vertical-align. I've linked to my test case to help illustrate the problem.
http://arther.net/lab/webkit-vertical-align-test.html#test
To Reproduce:
1. Create a block-level element
2. Create a inline-block element as a child of the block created in Step 1.
3. Set the `vertical-align` of the inline-block to "middle"
4. Fill the inline-block with enough content so that the inline-box for that content extends horizontally beyond bounds of the containing block-level element
5. Set the `line-height` of the inline-block. Use a value smaller than the `line-height` value of the containing block.
Actual Results:
The vertical-align property of the inline-block is ignored.
Expected Results:
The inline-block treats `vertical-align` in the same manner as other inline elements
Tested on 2010-05-18 in Mac OS 10.6 using Safari 4.0.5 (6531.22.7) and Google Chrome 5.0.375.38 beta
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list