WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227414
I-beam pointer is vertical for vertical text
https://bugs.webkit.org/show_bug.cgi?id=227414
Summary
I-beam pointer is vertical for vertical text
Kate Cheney
Reported
2021-06-25 17:19:58 PDT
The iBeam should be horizontal for vertical text EPUBs
Attachments
Patch
(7.05 KB, patch)
2021-06-25 17:28 PDT
,
Kate Cheney
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kate Cheney
Comment 1
2021-06-25 17:20:13 PDT
rdar://77564647
Kate Cheney
Comment 2
2021-06-25 17:28:53 PDT
Created
attachment 432315
[details]
Patch
Tim Horton
Comment 3
2021-06-28 10:12:50 PDT
Comment on
attachment 432315
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=432315&action=review
> Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:3038 > info.lineCaretExtent = view->contentsToRootView(lineRect);
Does this rectangle maybe need adjusting as well? The fact that we explicitly set lineRect's width but never height seems ... fishy.
Kate Cheney
Comment 4
2021-06-28 16:17:10 PDT
(In reply to Tim Horton from
comment #3
)
> Comment on
attachment 432315
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=432315&action=review
> > > Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:3038 > > info.lineCaretExtent = view->contentsToRootView(lineRect); > > Does this rectangle maybe need adjusting as well? The fact that we > explicitly set lineRect's width but never height seems ... fishy.
I filed
rdar://77564647
, Alan offered to investigate the misaligned region returned in pointerRegionForPositionInformation. Maybe we can land this piece now, though.
Kate Cheney
Comment 5
2021-06-28 16:18:01 PDT
(In reply to Kate Cheney from
comment #4
)
> (In reply to Tim Horton from
comment #3
) > > Comment on
attachment 432315
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=432315&action=review
> > > > > Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:3038 > > > info.lineCaretExtent = view->contentsToRootView(lineRect); > > > > Does this rectangle maybe need adjusting as well? The fact that we > > explicitly set lineRect's width but never height seems ... fishy. > > I filed
rdar://77564647
, Alan offered to investigate the misaligned region > returned in pointerRegionForPositionInformation. Maybe we can land this > piece now, though.
Edit: I filed
rdar://79887141
.
Tim Horton
Comment 6
2021-06-28 16:21:32 PDT
Comment on
attachment 432315
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=432315&action=review
>>>> Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:3038 >>>> info.lineCaretExtent = view->contentsToRootView(lineRect); >>> >>> Does this rectangle maybe need adjusting as well? The fact that we explicitly set lineRect's width but never height seems ... fishy. >> >> I filed
rdar://77564647
, Alan offered to investigate the misaligned region returned in pointerRegionForPositionInformation. Maybe we can land this piece now, though. > > Edit: I filed
rdar://79887141
.
Yeah, as long as this doesn't make it any worse, I'm on board.
EWS
Comment 7
2021-06-28 16:52:35 PDT
Committed
r279351
(
239219@main
): <
https://commits.webkit.org/239219@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 432315
[details]
.
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