WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
156657
A space inserted at the end of a line is ignored in innerText and rendering when there is not enough space
https://bugs.webkit.org/show_bug.cgi?id=156657
Summary
A space inserted at the end of a line is ignored in innerText and rendering w...
Steve
Reported
2016-04-15 21:54:17 PDT
Created
attachment 276544
[details]
Repro.html Steps to reproduce: 1. Open this JSFiddle in Safari:
https://jsfiddle.net/pe96jp8a/2/
2. Place the caret after the "Hello" text 3. Press the space bar a few times 4. Type "World" 5. Press the Show Value button 6. Notice the value is "HelloWorld" when it should be "Hello World"
Attachments
Repro.html
(1.28 KB, text/html)
2016-04-15 21:54 PDT
,
Steve
no flags
Details
Reduction
(525 bytes, text/html)
2018-11-12 19:19 PST
,
Ryosuke Niwa
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2016-04-16 16:48:37 PDT
This is quite crazy.
Ryosuke Niwa
Comment 2
2018-11-12 19:19:59 PST
Created
attachment 354626
[details]
Reduction
Radar WebKit Bug Importer
Comment 3
2018-11-12 19:21:03 PST
<
rdar://problem/46014286
>
Alexey Proskuryakov
Comment 4
2022-07-27 19:18:28 PDT
***
Bug 181719
has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 5
2022-07-27 19:22:07 PDT
This still reproduces with Safari 15.6.
Ahmad Saleem
Comment 6
2023-09-20 11:05:58 PDT
Using attached 'reduction' from Ryosuke on Safari 16.6 and Chrome Canary 119, I get 'PASS' while Firefox Nightly 119 show: FAIL expected "abc def" but got "abc def " ____ Do we need to track it anymore? @Ryosuke
Ahmad Saleem
Comment 7
2024-04-05 07:16:15 PDT
Marking as 'Configuration Changed' since first 'JSFiddle' test - Safari 17.4 is matching with Chrome Canary 125 and Firefox Nightly 126 while for 'reduction' - Safari is showing 'Pass' and matching with Chrome Canary 126 while Firefox Nightly 126 still fails it. Since original bug is resolved and reduction is passing as well - so nothing to do here.
alan
Comment 8
2024-04-05 07:48:32 PDT
This has progressed with IFC.
Ryosuke Niwa
Comment 9
2024-04-05 12:13:37 PDT
Can we add a test case?
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