WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
23457
RTL: Weird behavior when trying to select Hebrew text
https://bugs.webkit.org/show_bug.cgi?id=23457
Summary
RTL: Weird behavior when trying to select Hebrew text
Jeremy Moskovich
Reported
2009-01-21 09:37:38 PST
Checked on Browser: FF 3: OK IE: OK Safari 3.12/WebKit nightly: Error The problem is that it's very tricky to select the 2nd and third line of the title text on this page. Selecting the whole paragraph containing the tile shows these two lines with a "stronger selection" as if the selection is drawn twice. From the original bug report: "try selecting the big purple title of this page (תקציב עיריית רעננה לשנת 2009 - 516 מיליון שקלים) - it's only big in chrome btw
http://www.local.co.il/raanana/7392/articles.htm
it's all plain text but line 2 and 3 (תקציב עיריית רעננה לשנת 2009 ) are almost impossible to select it can only be selected as a whole as if it is a picture and cannot be copied to the clipboard it works just fine in IE, and that title is also a lot smaller in IE"
Attachments
Screenshot
(24.06 KB, image/png)
2009-01-21 09:38 PST
,
Jeremy Moskovich
no flags
Details
Reduction
(321 bytes, text/html)
2009-01-22 16:52 PST
,
Jeremy Moskovich
no flags
Details
Screenshot
(28.36 KB, patch)
2010-03-07 09:21 PST
,
Jeremy Moskovich
no flags
Details
Formatted Diff
Diff
Reduced test case
(400 bytes, text/html; charset=ISO-8859-8-I)
2011-03-29 08:00 PDT
,
Jeremy Moskovich
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Moskovich
Comment 1
2009-01-21 09:38:18 PST
Created
attachment 26895
[details]
Screenshot
Jeremy Moskovich
Comment 2
2009-01-21 09:38:56 PST
Original report:
http://code.google.com/p/chromium/issues/detail?id=6135#c6
Jeremy Moskovich
Comment 3
2009-01-22 16:52:23 PST
Created
attachment 26947
[details]
Reduction
Yair Yogev
Comment 4
2009-03-27 06:32:24 PDT
the reduction posted doesn't show the bug the original page at
http://www.local.co.il/raanana/7392/articles.htm
still does though
Yair Yogev
Comment 5
2009-05-14 04:00:03 PDT
this is not only a mac issue of course
mitz
Comment 6
2009-05-14 07:59:51 PDT
(In reply to
comment #5
)
> this is not only a mac issue of course >
A good way to indicate this is to set the OS field to "All".
Yair Yogev
Comment 7
2010-02-19 01:38:17 PST
seems to be fixed i can reproduce the issue using an old version of WebKit but not on the latest ones
Jeremy Moskovich
Comment 8
2010-03-07 09:16:42 PST
I can still see some weirdness in the latest WebKit nightly, although the symptoms are different than before. Update steps to reproduce: * Open the attached reduction and change the Text Encoding to Hebrew (Windows) * Drag down from the top to just below the 2nd line so the first and second line are both completely selected. * Drag up a bit and move the selection slowly in the gap between "2009" and the first Hebrew word. Actual result: Note that the color of "2009" changes while the selection background color behaves correctly. Expected result: The color of "2009" should stay the same as the rest of the text.
Jeremy Moskovich
Comment 9
2010-03-07 09:21:12 PST
Created
attachment 50174
[details]
Screenshot
Yair Yogev
Comment 10
2010-03-07 09:56:17 PST
is it reproducible under windows too?
Jeremy Moskovich
Comment 11
2011-03-29 08:00:03 PDT
Created
attachment 87330
[details]
Reduced test case
Jeremy Moskovich
Comment 12
2011-03-29 08:32:48 PDT
Looks like the errant drawing is happening in RootInlineBox::lineSelectionGap() .
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