RESOLVED CONFIGURATION CHANGED 78839
cssText = 'display:inline-block' not working properly
https://bugs.webkit.org/show_bug.cgi?id=78839
Summary cssText = 'display:inline-block' not working properly
valeriy.panfilov
Reported 2012-02-16 13:57:11 PST
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.
Attachments
a simplified test case (450 bytes, text/html)
2012-03-12 17:21 PDT, Grace Ku
no flags
Luke Macpherson
Comment 1 2012-02-22 19:43:57 PST
Confirmed in chromium/osx. Setting display:inline-block via cssText has different behavior to when set from a stylesheet.
Grace Ku
Comment 2 2012-03-08 10:10:37 PST
The same problem exists for setting "display:inline"
Grace Ku
Comment 3 2012-03-12 17:21:23 PDT
Created attachment 131463 [details] a simplified test case By simplified I mean the jsfiddle code in an html file
Arpita Bahuguna
Comment 4 2012-08-17 05:31:17 PDT
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?
Brent Fulgham
Comment 5 2022-07-12 16:40:43 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.