Bug 23995 - backgound color lost on indent/listify
Summary: backgound color lost on indent/listify
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Minor
Assignee: Enrica Casucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 14:12 PST by Julie Parent
Modified: 2009-10-09 16:14 PDT (History)
4 users (show)

See Also:


Attachments
Patch (39.15 KB, patch)
2009-10-09 12:12 PDT, Enrica Casucci
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julie Parent 2009-02-17 14:12:45 PST
1. Go to your favorite contentEditble rich text editor (like http://www.mozilla.org/editor/midasdemo/)
2. Type several lines of text
3. Select-all and apply a background color
4. Select several lines and apply any of - numbered list, bulleted list, indent

Result: Text is indented/listified, but the background color is lost.
Expected result: background color remains.
Comment 3 Ryosuke Niwa 2009-07-10 14:04:01 PDT
My patch for https://bugs.webkit.org/show_bug.cgi?id=26816 will fix this bug as well.
Comment 4 Ryosuke Niwa 2009-07-22 22:46:53 PDT
The problem has been solved for indentation.
Comment 5 Ryosuke Niwa 2009-08-14 11:54:30 PDT
This bug has been fixed by http://trac.webkit.org/changeset/47008.  But we still need some test cases to prevent future regression.
Comment 6 Enrica Casucci 2009-10-09 12:12:00 PDT
Created attachment 40958 [details]
Patch

This is a patch for 28722 that contains a test case for this bug. 
The test case was the only missing thing to resolve the bug.
For this particular bug, please look at the indent-with-style.html test case.
Comment 7 Enrica Casucci 2009-10-09 15:09:34 PDT
The missing test case was checked in with http://trac.webkit.org/changeset/49405.
Resolving as fixed.
Comment 8 Eric Seidel (no email) 2009-10-09 16:14:55 PDT
Comment on attachment 40958 [details]
Patch

Clearing review flag on this closed bug.