[Webkit-unassigned] [Bug 28710] Copy some forms of text causes Webkit crash in CSSStyleDeclaration::copyPropertiesInSet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 2 11:01:10 PDT 2009


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





--- Comment #15 from Ryosuke Niwa <rniwa at webkit.org>  2009-09-02 11:01:09 PDT ---
Here are some options to fix this bug.

1. We make sure document is not passed as node to editingStyleAtPosition in
createMakrup

2. We allow position.computedStyle to use a document node.

3. We bail out in editingStyleAtPosition if the position returned a null
pointer.

There are several ways to implement 1, and I can't really think of a good one. 
But I don't think why any element with text-decoration must be a special
ancestor.  I feel like we can get away without making it special ancestor since
we're adding computedStyle in a wrapping span later anyways.

-- 
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