Example here: http://jsfiddle.net/7h2Dh/ Steps to Reproduce: ---- (1) <span>Text<div id="wtf">Content</div>Text</span> (2) document.getElementById( 'wtf' ).style.cssText = 'display:inline-block' Actual Results: ---- <div> drops on the second line. Expected Results: ---- Line without breaks.
Confirmed in chromium/osx. Setting display:inline-block via cssText has different behavior to when set from a stylesheet.
The same problem exists for setting "display:inline"
Created attachment 131463 [details] a simplified test case By simplified I mean the jsfiddle code in an html file
This issue seems to have been fixed, and is no longer reproducible on the latest WebKit (last verified on r106191). Could this perhaps be re-verified and closed accordingly?
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.