Bug 11330
Summary: | Gmail Editor: Styling is applied to selection after clicking "Remove Formatting" toolbar icon. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Petersen <c.petersen87> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | Keywords: | GoogleBug, InRadar |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
Bug Depends on: | |||
Bug Blocks: | 9638 |
Chris Petersen
* 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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Petersen
This is filed as <rdar://problem/4786404>
Justin Garcia
Fixed this last night in r17337.