Bug 11330 - Gmail Editor: Styling is applied to selection after clicking "Remove Formatting" toolbar icon.
Summary: Gmail Editor: Styling is applied to selection after clicking "Remove Formatti...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoogleBug, InRadar
Depends on:
Blocks: 9638
  Show dependency treegraph
 
Reported: 2006-10-17 15:20 PDT by Chris Petersen
Modified: 2006-10-26 14:19 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-10-17 15:20:12 PDT
* SUMMARY
This is related to the issue I found with  http://bugs.webkit.org/show_bug.cgi?id=11329.

When removing formatting,   it actually applies styling to the text. The styling that is used is based from the first character on the existing line.

See steps below for better explanation.

* STEPS TO REPRODUCE
1. With r17089, login to your Gmail account
2. Create a new rich text message
3. Type this sentence 'This is just a test"
4. Select the "T" in This. Click 'B' to make it bold
5. Select the entire sentence
6. No , click "Remove Formatting" toolbar icon.
7. Notice that instead of removing the bold style from the first character it actually APPLIES bold to the entire sentence.

* RESULTS
Styling should be removed from the first character but styling is applied to the entire selection.
Comment 1 Chris Petersen 2006-10-17 15:21:55 PDT
This is filed as <rdar://problem/4786404>
Comment 2 Justin Garcia 2006-10-26 14:19:34 PDT
Fixed this last night in r17337.