WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
44512
sequential block nodes that have different float style are selected as a single word
https://bugs.webkit.org/show_bug.cgi?id=44512
Summary
sequential block nodes that have different float style are selected as a sing...
Hajime Morrita
Reported
2010-08-24 04:04:24 PDT
Created
attachment 65255
[details]
a repro. See an attached repro. it runs a test automatically. Expected: only text "Left" is selected. Actual: Both "Left" and "Right" are selected. ---- The bug is originally reported at
http://crbug.com/39795
.
Attachments
a repro.
(518 bytes, text/html)
2010-08-24 04:04 PDT
,
Hajime Morrita
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2010-08-24 04:06:12 PDT
WebKit assumes a floating element as a something like a inline, thus doesn't treat it need spacing between elements. See shouldEmitNewlinesBeforeAndAfterNode() in TextIterator.cpp.
Ahmad Saleem
Comment 2
2022-11-30 02:47:21 PST
I am able to reproduce this bug in Safari 16.1 and Chrome Canary 110, where both browsers select both "left" and "right" while Firefox only select "Left" as expected. Just wanted to highlight the latest behavior from attached testcase. Thanks!
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