RESOLVED FIXED 19653
Typing style lost when creating list from, indenting or outdenting an empty paragraph
https://bugs.webkit.org/show_bug.cgi?id=19653
Summary Typing style lost when creating list from, indenting or outdenting an empty p...
David Bloom
Reported 2008-06-18 06:27:11 PDT
1. go to http://www.mozilla.org/editor/midasdemo/ 2. change the font 3. type "foo", newline 4. create a numbered or bulleted list 5. type "bar" expected: "bar" is in the same font as "foo" actual: the font was reset to the default for "bar"
Attachments
patch (32.20 KB, patch)
2008-06-19 12:06 PDT, Justin Garcia
justin.garcia: review+
Mark Rowe (bdash)
Comment 1 2008-06-18 18:31:48 PDT
Justin Garcia
Comment 2 2008-06-18 19:42:24 PDT
Happens in a couple of other scenarios as well, including on indent. Only happens if the paragraph that contains the caret is empty. I confirmed that this is not specific to the midasdemo.
Justin Garcia
Comment 3 2008-06-18 19:44:30 PDT
Also confirmed that this happens on all platforms.
Justin Garcia
Comment 4 2008-06-18 21:37:38 PDT
(In reply to comment #0) > 1. go to http://www.mozilla.org/editor/midasdemo/ > 2. change the font > 3. type "foo", newline > 4. create a numbered or bulleted list > 5. type "bar" > > expected: "bar" is in the same font as "foo" > actual: the font was reset to the default for "bar" This doesn't work in FireFox, either, by the way. Also clicking on buttons in the toolbar steals focus from the editable region in FireFox.
Justin Garcia
Comment 5 2008-06-18 21:39:15 PDT
> Also clicking on buttons in the toolbar steals focus from the editable region in FireFox. That's a FF3 regression.
Justin Garcia
Comment 6 2008-06-19 02:13:08 PDT
I have a fix for this coming.
Justin Garcia
Comment 7 2008-06-19 12:06:02 PDT
Justin Garcia
Comment 8 2008-06-19 15:35:58 PDT
Comment on attachment 21844 [details] patch Sullivan reviewed this.
Justin Garcia
Comment 9 2008-06-19 17:23:31 PDT
Note You need to log in before you can comment on or make changes to this bug.