[Webkit-unassigned] [Bug 44918] Cannot make lists quoted on gmail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 10:28:10 PST 2010


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





--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org>  2010-12-07 10:28:10 PST ---
This almost works now.  The problem we have now is that we split lists when formatting by a block.  For example, if we had:
<ol>
<li>hello</li>
<li>world</li>
</ol>

and formatted the entire list, then we'll end up with
<blockquote>
<ol>
<li>hello</li>
</ol>
<ol>
<li>world</li>
</ol>
</blockquote>

Merging lists don't work because if we had:
<ol>
<li>hello<ol><li>abc</li><li>def</li></ol></li>
<li>world</li>
</ol>
then we also need to merge li.  But we can't always merge li's either.  It turns out that once we split nodes, it becomes ambiguous whether or not we should merge nodes.

So what we should do instead is NOT to split.  Instead of moving each paragraph separately, we need to move all them at once when the entire block is selected.

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



More information about the webkit-unassigned mailing list