[Webkit-unassigned] [Bug 38231] crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 12 00:40:09 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38231
--- Comment #11 from Tony Chang (Google) <tony at chromium.org> 2010-05-12 00:40:08 PST ---
(In reply to comment #8)
> In my broken fix for indentation, I did that. In particular extendRangeToWrappingNodes in htmlediting.cpp extends the range as much as possible. See http://trac.webkit.org/changeset/46142 for usage.
Oh, so I tried this, but I wasn't able to use extendRangeToWrappingNodes because there are cases where we would still be within a single text node. For example:
<pre>
one
two
three
</pre>
If you want to indent only "two", extendRangeToWrappingNodes would end up including "one" and "three" as well.
--
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