[Webkit-unassigned] [Bug 129098] WebKit crashes during execution of ReplaceSelectionCommand

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 24 08:45:18 PST 2014


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


Marta Pawlowska <m.pawlowska at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.pawlowska at samsung.com




--- Comment #8 from Marta Pawlowska <m.pawlowska at samsung.com>  2014-02-24 08:42:25 PST ---
I believe that final result of the code is correct according to w3c spec.

According to spec final effect of that Robert’s solution is correct. Even if at the end we move child to non-editable parent (after split).

Specification details:
https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#the-inserthorizontalrule-command
-> step 2. If "p" is not an allowed child of the editing host of node, abort these steps. 
  --> https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#fix-disallowed-ancestors <-- p is not allowed child of p
-> step 4: While node is not an allowed child of its parent, split the parent of the one-node list consisting of node. 
  --> split the parent:
    ---> https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#split-the-parent


Do you have any other idea to implement it since embedding <hr> in <p> is also bad...

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