WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
119123
Text::recalcTextStyle should reattach text when a parent gets white-space: pre
https://bugs.webkit.org/show_bug.cgi?id=119123
Summary
Text::recalcTextStyle should reattach text when a parent gets white-space: pre
Ryosuke Niwa
Reported
2013-07-25 20:52:20 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/5298ceb69d08c921308cb8edcf26d28c1cad09e8
or come up with a better fix If the parent of an whitespace text node gets white-space: pre (or other sigificant whitespace values) and the text node does not already have a renderer we need to reattach it so that we get a renderer.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-30 17:23:21 PDT
I am able to reproduce this issue in Safari 16 and Safari Technical Preview 154, where the first line is not intended like other browsers (Chrome Canary 108 and Firefox Nightly 107). Link - (Test Case from patch) -
https://jsfiddle.net/cs9xonyd/
Radar WebKit Bug Importer
Comment 2
2024-02-08 15:29:22 PST
<
rdar://problem/122587449
>
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