Bug 21671 - display: inline-block causes text to wrap onto next line
Summary: display: inline-block causes text to wrap onto next line
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 14:25 PDT by jasneet
Modified: 2011-10-10 20:16 PDT (History)
2 users (show)

See Also:


Attachments
testcase (840 bytes, text/html)
2008-10-16 14:25 PDT, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-10-16 14:25:15 PDT
I Steps:
Go to the attached testcase

II Issue:
<div> 's style property "display: inline-block" is the cause of this issue. When the width style property of <div> is ignored, the default width is 100%, but if assign "display: inline-block" to <div>, then the width of <div> is not 100% any more in webkit/FF3

III Other Browsers:
IE7: ok
FF3: not ok

IV Nightly tested: 37604
Comment 1 jasneet 2008-10-16 14:25:38 PDT
Created attachment 24423 [details]
testcase
Comment 2 Ojan Vafai 2008-11-03 19:01:46 PST
This is how inline-block is supposed to work. IE7- just doesn't implement inline-block.

Bug should be closed as invalid.