Summary: | Implement Editor::fontAttributesForSelectionStart() or iOS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||||
Component: | HTML Editing | Assignee: | Enrica Casucci <enrica> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Enrica Casucci
2014-07-09 10:42:19 PDT
Created attachment 234645 [details]
Patch
Created attachment 234650 [details]
Patch2
removed unnecessary SOFT_LINK stuff
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, Committed revision 170924. |