[Webkit-unassigned] [Bug 94510] Inspector Bar does not reflect selected font styles correctly, when multiple <div>s are selected.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 12:21:00 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94510


Alice Cheng <alice_cheng at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #159487|                            |review?, commit-queue?
               Flag|                            |




--- Comment #2 from Alice Cheng <alice_cheng at apple.com>  2012-08-20 12:21:36 PST ---
Created an attachment (id=159487)
 --> (https://bugs.webkit.org/attachment.cgi?id=159487&action=review)
proposed patch

A proposed patch to fix the problem.

Inspector Bar were not reflecting the selected font styles correctly, because new line characters got their styles from <div> renderers, which do not reflect their children's font styles correctly. Thus, we merge styles for new line characters for NSAttributedString.

A TestWebkitAPI test was also included to test if the patch works.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list