<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>98026</bug_id>
          
          <creation_ts>2012-10-01 06:31:43 -0700</creation_ts>
          <short_desc>Assertion triggered in WebCore::RenderTextControlSingleLine::layout when running fast/dom/shadow/input-with-validation.html</short_desc>
          <delta_ts>2013-03-11 00:49:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jochen</reporter>
          <assigned_to name="Dominic Cooney">dominicc</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>dominicc</cc>
    
    <cc>jochen</cc>
    
    <cc>leviw</cc>
    
    <cc>mitz</cc>
    
    <cc>morrita</cc>
    
    <cc>shinyak</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>731645</commentid>
    <comment_count>0</comment_count>
    <who name="">jochen</who>
    <bug_when>2012-10-01 06:31:43 -0700</bug_when>
    <thetext>When running fast/dom/shadow/input-with-validation.html  in content shell:

echo file://$(pwd)/LayoutTests/fast/dom/shadow/input-with-validation.html | out/Debug/content_shell --dump-render-tree --no-sandbox

I trip the following assertion (or crash in a release build)

ASSERTION FAILED: innerTextRenderer
../../third_party/WebKit/Source/WebCore/rendering/RenderTextControlSingleLine.cpp(111) : virtual void WebCore::RenderTextControlSingleLine::layout()
[1146:1146:1001/152510:26967082264:ERROR:process_util_posix.cc(144)] Received signal 11
        base::debug::StackTrace::StackTrace() [0x50cf7e]
        base::(anonymous namespace)::StackDumpSignalHandler() [0x524df4]
        0x7f3a878784c0
        WebCore::RenderTextControlSingleLine::layout() [0x3b220f2]
        WebCore::RenderObject::layoutIfNeeded() [0x1e044a6]
        WebCore::RenderBlock::layoutInlineChildren() [0x1f7a9b8]
        WebCore::RenderBlock::layoutBlock() [0x1f24452]
        WebCore::RenderBlock::layout() [0x1f23475]
        WebCore::RenderBlock::layoutBlockChild() [0x1f2e492]
        WebCore::RenderBlock::layoutBlockChildren() [0x1f2680e]
        WebCore::RenderBlock::layoutBlock() [0x1f24472]
        WebCore::RenderBlock::layout() [0x1f23475]
        WebCore::RenderBlock::layoutBlockChild() [0x1f2e492]
        WebCore::RenderBlock::layoutBlockChildren() [0x1f2680e]
        WebCore::RenderBlock::layoutBlock() [0x1f24472]
        WebCore::RenderBlock::layout() [0x1f23475]
        WebCore::RenderBlock::layoutBlockChild() [0x1f2e492]
        WebCore::RenderBlock::layoutBlockChildren() [0x1f2680e]
        WebCore::RenderBlock::layoutBlock() [0x1f24472]
        WebCore::RenderBlock::layout() [0x1f23475]
        WebCore::RenderView::layout() [0x1e81291]
        WebCore::FrameView::layout() [0x29755ae]
        WebCore::Document::updateLayout() [0x302d538]
        WebCore::Document::updateLayoutIgnorePendingStylesheets() [0x302d60f]
        WebCore::HTMLFormElement::validateInteractively() [0x2d68ff5]
        WebCore::HTMLFormElement::prepareForSubmission() [0x2d68bb1]
        WebCore::SubmitInputType::handleDOMActivateEvent() [0x2de62a0]
        WebCore::HTMLInputElement::defaultEventHandler() [0x2d7a6d8]
        WebCore::EventDispatcher::dispatchEventPostProcess() [0x313c2d3]
        WebCore::EventDispatcher::dispatchEvent() [0x313b189]
        WebCore::EventDispatchMediator::dispatchEvent() [0x3139334]
        WebCore::EventDispatcher::dispatchEvent() [0x313a0a6]
        WebCore::ScopedEventQueue::dispatchEvent() [0x30fed2c]
        WebCore::ScopedEventQueue::enqueueEventDispatchMediator() [0x30fec51]
        WebCore::EventDispatcher::dispatchScopedEvent() [0x313a942]
        WebCore::Node::dispatchScopedEventDispatchMediator() [0x30d297d]
        WebCore::Node::dispatchScopedEvent() [0x30d292a]
        WebCore::Node::dispatchDOMActivateEvent() [0x30d3023]
        WebCore::Node::defaultEventHandler() [0x30d3942]
        WebCore::HTMLTextFormControlElement::defaultEventHandler() [0x2dc48ca]
        WebCore::HTMLInputElement::defaultEventHandler() [0x2d7aaff]
        WebCore::EventDispatcher::dispatchEventPostProcess() [0x313c2d3]
        WebCore::EventDispatcher::dispatchEvent() [0x313b189]
        WebCore::EventDispatcher::dispatchSimulatedClick() [0x313acd5]
        WebCore::Node::dispatchSimulatedClick() [0x30d3353]
        WebCore::HTMLElement::click() [0x2d61dde]
        WebCore::HTMLElementV8Internal::clickCallback() [0x35bc607]
        v8::internal::HandleApiCallHelper&lt;&gt;() [0x169afb5]
        v8::internal::Builtin_Impl_HandleApiCall() [0x169ab93]
        v8::internal::Builtin_HandleApiCall() [0x169475c]
        0x1def40b0618e

chromium issue is https://code.google.com/p/chromium/issues/detail?id=153282</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731889</commentid>
    <comment_count>1</comment_count>
    <who name="">jochen</who>
    <bug_when>2012-10-01 12:18:08 -0700</bug_when>
    <thetext>Dimitri, any idea what&apos;s going on here? innerTextRenderer is a shadow DOM thing, isn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731906</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-10-01 12:31:41 -0700</bug_when>
    <thetext>Kent-san, can you take a look?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850879</commentid>
    <comment_count>3</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-03-07 22:31:07 -0800</bug_when>
    <thetext>Nom nom nom.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>852090</commentid>
    <comment_count>4</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-03-11 00:49:41 -0700</bug_when>
    <thetext>This should be fixed by revision 145239.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>