WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
21960
Chrome/Safari selects the region outside the element
https://bugs.webkit.org/show_bug.cgi?id=21960
Summary
Chrome/Safari selects the region outside the element
Jon@Chromium
Reported
2008-10-29 15:58:45 PDT
Issue originated in Chromium bugs, see
http://code.google.com/p/chromium/issues/detail?id=3527
IE and FF selects only the region inside the red box but Chrome/Safari does select the region outside. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <div style="margin: 20px auto; width: 740px;font-family: 'Lucida Grande', 'Tahoma', sans-serif; border: 2px solid red">Only area with in div region should get selected. But the region that lies outside the div also gets selected.</div> </body> </html> See the attached reductions.
Attachments
Reduction
(334 bytes, text/html)
2008-10-29 15:59 PDT
,
Jon@Chromium
no flags
Details
Reduction (quirks mode)
(269 bytes, text/html)
2008-10-29 16:00 PDT
,
Jon@Chromium
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jon@Chromium
Comment 1
2008-10-29 15:59:35 PDT
Created
attachment 24759
[details]
Reduction
Jon@Chromium
Comment 2
2008-10-29 16:00:22 PDT
Created
attachment 24760
[details]
Reduction (quirks mode)
Ahmad Saleem
Comment 3
2023-05-05 14:18:03 PDT
Isn't this intentional behavior of WebKit / Safari to have gapless selection, hence, we have empty space with 'selection' color painted as well, while Chrome now has 'gapped' selection, so only have selection around text? Can someone please confirm whether we need to fix it or not? Or we can mark this duplicate of other 'gapped' selection bug?
alan
Comment 4
2023-05-05 19:23:28 PDT
(In reply to Ahmad Saleem from
comment #3
)
> Isn't this intentional behavior of WebKit / Safari to have gapless > selection, hence, we have empty space with 'selection' color painted as > well, while Chrome now has 'gapped' selection, so only have selection around > text?
Correct!
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