WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135452
REGRESSION: Search highlight is broken in RTL multicolumn content
https://bugs.webkit.org/show_bug.cgi?id=135452
Summary
REGRESSION: Search highlight is broken in RTL multicolumn content
Ryosuke Niwa
Reported
2014-07-30 22:59:00 PDT
Created
attachment 235808
[details]
test case Reproduction steps: 1. Open the attached file in the nightly build of WebKit 2. Find "hello" via Cmd+F. Expected result: "hello" is highlighted Actual result: The yellow highlight shows up on the left of "hello".
Attachments
test case
(206 bytes, text/html)
2014-07-30 22:59 PDT
,
Ryosuke Niwa
no flags
Details
Patch
(11.19 KB, patch)
2014-07-31 10:37 PDT
,
Andrei Bucur
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2014-07-30 23:08:08 PDT
The problem here is that RenderMultiColumnFlowThread::mapFromFlowToRegion doesn't add the layer offset when computing the translation offset despite the fact RenderMultiColumnSet::columnTranslationForOffset returns an offset from the layer's top left corner. This is in contract to RenderLayer::collectFragments. It calls RenderMultiColumnSet::collectLayerFragments, which also returns an offset from the layer's top left corner, but it adds the layer offset so everything is fine there.
Andrei Bucur
Comment 2
2014-07-31 08:37:37 PDT
I found the issue and I have a fix. Working on the patch ATM.
Andrei Bucur
Comment 3
2014-07-31 10:37:04 PDT
Created
attachment 235829
[details]
Patch
WebKit Commit Bot
Comment 4
2014-07-31 12:51:08 PDT
Comment on
attachment 235829
[details]
Patch Clearing flags on attachment: 235829 Committed
r171882
: <
http://trac.webkit.org/changeset/171882
>
WebKit Commit Bot
Comment 5
2014-07-31 12:51:13 PDT
All reviewed patches have been landed. Closing bug.
Simon Fraser (smfr)
Comment 6
2014-07-31 15:42:02 PDT
<
rdar://problem/17802531
>
Ryosuke Niwa
Comment 7
2014-07-31 19:22:47 PDT
***
Bug 135453
has been marked as a duplicate of this bug. ***
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