Issue metadata
Sign in to add a comment
|
FormatBlock command crashes with CSS property height |
||||||||||||||||||||||||
Issue descriptionDetailed report: https://cluster-fuzz.appspot.com/testcase?key=6027067004551168 Fuzzer: inferno_layout_test_unmodified Job Type: linux_debug_content_shell_drt Platform Id: linux Crash Type: ASSERT Crash Address: Crash State: ASSERTION FAILED: pos.anchorNode()->layoutObject() blink::CompositeEditCommand::insertBlockPlaceholder blink::FormatBlockCommand::formatRange Minimized Testcase (0.26 Kb): Download: https://cluster-fuzz.appspot.com/download/AMIfv94JtOdJaeVgOXjLYMBU91npIk2ttjZuXgF_I91m1d9phsNvKbmr_VN5jjTt8M09NQU1bwknIF4clA-CZZO9E8-Oq6VsHjMXIYxfTTiJXNhl7xMjfyRtz6xIptqOz6ZSIoT3w64Gay-ikZuE_NFbuZB5vCP4sA <script> onload = function() { document.designMode = 'on'; document.execCommand('SelectAll'); document.execCommand('FormatBlock', false, '<pre>'); }; </script> "> ab <!--> <style> div { height: 100px; </style> <div> </div> <div> Filer: pucchakayala See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
,
Mar 13 2016
Route to Editing triage
,
Mar 13 2016
,
Mar 14 2016
Lower to Pri-2, since real world usage of FormatBlock command is low. Assertion: CompositeEditCommand::insertBlockPlaceholder(const Position& pos, EditingState* editingState) ASSERT(pos.anchorNode()->layoutObject()); pos.inDocument() = false |pos| comes from |lastParagraphInBlockNode| in |FormatBlockCommand::formatRange()|, which is removed by |moveParagraphWithClones()|. DOM Tree: *#document 3C0421D0 (editable) HTML 3C042AD8 (editable) HEAD 3C042B10 (editable) SCRIPT 3C042B48 (editable) #text 3C042B88 "...script..." #text 3C042BF0 "\n " BODY 3C042BB8 (editable) (focused) PRE 3C042E30 (editable) #text 3C042ED0 "">\n" #text 3C042F00 " ab\n" DIV 3C042D60 (editable) #text 3C042D98 "\n " #text 3C042DC8 "\n " DIV 3C042DF8 (editable) Before moveParagraphWithClones() lastParagraphInBlockNode.showTreeForThis() BODY 3C042BB8 (editable) (focused) PRE 3C042E30 (editable) #text 3C042ED0 "">\n" * #text 3C042E68 " ab\n" DIV 3C042D60 (editable) #text 3C042D98 "\n " #text 3C042DC8 "\n " DIV 3C042DF8 (editable) <void> It seems |rangeForParagraphSplittingTextNodesIfNeeded()| doesn't handle DIV w/ hieght:100px well.
,
Apr 26 2016
Due by we replace ASSERT to DCHECK, new stack trace is found in crbug.com/606517
,
Nov 22 2016
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by pucchakayala@chromium.org
, Mar 11 2016Owner: tkent@chromium.org
Status: Assigned (was: Available)