WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
134771
Implement Editor::fontAttributesForSelectionStart() or iOS
https://bugs.webkit.org/show_bug.cgi?id=134771
Summary
Implement Editor::fontAttributesForSelectionStart() or iOS
Enrica Casucci
Reported
2014-07-09 10:42:19 PDT
This bug tracks the work required to implement this function for iOS.
Attachments
Patch
(4.90 KB, patch)
2014-07-09 10:47 PDT
,
Enrica Casucci
no flags
Details
Formatted Diff
Diff
Patch2
(4.42 KB, patch)
2014-07-09 12:00 PDT
,
Enrica Casucci
rniwa
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Enrica Casucci
Comment 1
2014-07-09 10:42:41 PDT
<
rdar://problem/16167838
>
Enrica Casucci
Comment 2
2014-07-09 10:47:21 PDT
Created
attachment 234645
[details]
Patch
Enrica Casucci
Comment 3
2014-07-09 12:00:37 PDT
Created
attachment 234650
[details]
Patch2 removed unnecessary SOFT_LINK stuff
Ryosuke Niwa
Comment 4
2014-07-09 12:08:32 PDT
Comment on
attachment 234650
[details]
Patch2 View in context:
https://bugs.webkit.org/attachment.cgi?id=234650&action=review
> Source/WebCore/editing/ios/EditorIOS.mm:264 > + if (style->font().primaryFont()->getCTFont()) > + [result setObject:(id)style->font().primaryFont()->getCTFont() forKey:NSFontAttributeName];
We should store it in a local variable inside if () instead of calling getCTFont() twice,
Enrica Casucci
Comment 5
2014-07-09 12:12:18 PDT
Committed revision 170924.
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