WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
157032
Double-click to select last word on line selects text on next and previous lines.
https://bugs.webkit.org/show_bug.cgi?id=157032
Summary
Double-click to select last word on line selects text on next and previous li...
Steve Tibbett
Reported
2016-04-26 07:10:29 PDT
Created
attachment 277365
[details]
Screenshot showing text selection error. Navigate to this URL:
https://mozilla.github.io/pdf.js/web/viewer.html
And double-click on the word "Languages" in the title. In Safari (and Chrome), word Languages is selected, but so is the word "Dynamic" from the previous line, and the name "Andreas" from the following line. Screenshot attached. This affects any page that uses the Mozilla pdf.js library.
Attachments
Screenshot showing text selection error.
(182.21 KB, image/png)
2016-04-26 07:10 PDT
,
Steve Tibbett
no flags
Details
Reduction
(380 bytes, text/html)
2016-05-03 13:38 PDT
,
Myles C. Maxfield
no flags
Details
Edge
(13.15 KB, image/png)
2016-05-03 13:47 PDT
,
Myles C. Maxfield
no flags
Details
Chrome
(164.88 KB, image/png)
2016-05-03 13:47 PDT
,
Myles C. Maxfield
no flags
Details
Screenshot from Chrome
(148.62 KB, image/png)
2016-05-04 04:42 PDT
,
Steve Tibbett
no flags
Details
Screenshot from Edge
(114.08 KB, image/png)
2016-05-04 04:48 PDT
,
Steve Tibbett
no flags
Details
Screenshot from Firefox
(188.24 KB, image/png)
2016-05-04 09:56 PDT
,
Myles C. Maxfield
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2016-05-03 13:15:36 PDT
The PDF viewer renders the PDF to canvas, but places invisible elements on top of each word (presumably for selection / a11y)
Myles C. Maxfield
Comment 2
2016-05-03 13:38:22 PDT
Created
attachment 278015
[details]
Reduction
Myles C. Maxfield
Comment 3
2016-05-03 13:47:38 PDT
Created
attachment 278016
[details]
Edge
Myles C. Maxfield
Comment 4
2016-05-03 13:47:50 PDT
Created
attachment 278017
[details]
Chrome
Steve Tibbett
Comment 5
2016-05-04 04:42:49 PDT
Created
attachment 278075
[details]
Screenshot from Chrome
Steve Tibbett
Comment 6
2016-05-04 04:48:08 PDT
Created
attachment 278076
[details]
Screenshot from Edge
Myles C. Maxfield
Comment 7
2016-05-04 09:56:29 PDT
Created
attachment 278099
[details]
Screenshot from Firefox
Ryosuke Niwa
Comment 8
2016-05-04 13:59:30 PDT
Ah, this appears to be a classic bug we have which is that we don't break words at the end of block element boundary. I think there's an old bug about it somewhere...
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