Summary: | Extra font tag created when changing fonts | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Annie Sullivan <sullivan> | ||||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, eric, jparent, michaelthomas, tony | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | OS X 10.5 | ||||||||
URL: | http://www.mozilla.org/editor/midasdemo/ | ||||||||
Attachments: |
|
Description
Annie Sullivan
2009-04-30 17:14:41 PDT
Created attachment 47099 [details]
Patch
(In reply to comment #1) > Created an attachment (id=47099) [details] > Patch I think the original code wasn't removing the extra font tag because it didn't create the font tag. That said, that seems like a silly reason to keep the extra font tag. E.g., if you unbold a section, webkit doesn't care who created the <b> tags and just remove them. Comment on attachment 47099 [details]
Patch
r=me
Created attachment 47159 [details]
Patch
Comment on attachment 47159 [details]
Patch
(same as before with better layout test that uses dumpAsText)
Comment on attachment 47159 [details] Patch Clearing flags on attachment: 47159 Committed r53680: <http://trac.webkit.org/changeset/53680> All reviewed patches have been landed. Closing bug. |