[Webkit-unassigned] [Bug 21679] ExecCommand fontsize does not change size of background color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 01:10:24 PST 2012


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


Naresh.vt <naresh.vt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |naresh.vt at gmail.com




--- Comment #6 from Naresh.vt <naresh.vt at gmail.com>  2012-01-12 01:10:24 PST ---

Today I tired applying current hilite color before applying font size, and it is working fine.

Changed in ExecuteFontSize() of EditorComand.cpp

Any thoughts.??

(In reply to comment #5)
> . . . FWIW, the problem is not limited to creating extra span tags.  If you have markup like
> 
>   foo<font size=6>bar</font>baz
> 
> then the markup you need to generate is actually
> 
>   <span style=background-color:aqua>foo<font size=6 style=background-color:aqua>bar</font>baz</span>
> 
> or something.  You need to actually check each descendant for this condition and fix it -- in some cases you'll really need to add more markup.  Of course, it's less of an issue if you don't create extra spans, but that brings its own problems.

-- 
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