WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
115347
white-space:pre not working if loaded from script after getComputedStyle is used.
https://bugs.webkit.org/show_bug.cgi?id=115347
Summary
white-space:pre not working if loaded from script after getComputedStyle is u...
Olivier Goffart
Reported
2013-04-29 05:17:19 PDT
When loading a css file from a script, the white-space:pre looses some white spaces if the style is applied after window.getComputedStyle is called (and it is called from jquery) Reproduced with chromium 26.0.1410.63 and was also seen with safari.
Attachments
Testcase (html part)
(399 bytes, text/html)
2013-04-29 05:18 PDT
,
Olivier Goffart
no flags
Details
Testcase (css part)
(48 bytes, text/css)
2013-04-29 05:18 PDT
,
Olivier Goffart
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Olivier Goffart
Comment 1
2013-04-29 05:18:09 PDT
Created
attachment 199991
[details]
Testcase (html part)
Olivier Goffart
Comment 2
2013-04-29 05:18:30 PDT
Created
attachment 199992
[details]
Testcase (css part)
Brent Fulgham
Comment 3
2022-07-13 14:43: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.
Top of Page
Format For Printing
XML
Clone This Bug