[Webkit-unassigned] [Bug 24862] REGRESSION: Backspacing link from new line adds "text-decoration: none" to style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 21 20:45:00 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24862





------- Comment #8 from justin.garcia at apple.com  2009-04-21 20:45 PDT -------
Actually, I don't think moveParagraphs should be preserving the style of an
empty paragraph in this case:

// Restore styles from an empty paragraph to the new empty paragraph.
if (styleInEmptyParagraph)
   applyStyle(styleInEmptyParagraph.get());

notice "to the new empty paragraph".  I also think that in general, the
moveParagraphs that deletion does shouldn't preserve the style of empty
paragraphs.  In TextEdit, do:

<return> <bold> <delete> "hello"

"hello" isn't bolded.

I think that moving the preserving the style of an empty paragraph should be
conditionalized behavior of moveParagraphs, and only happen for indenting,
outdenting and perhaps a few other operations, so that we don't break the
change made in:

http://trac.webkit.org/changeset/34681


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list