<?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>103324</bug_id>
          
          <creation_ts>2012-11-26 16:59:27 -0800</creation_ts>
          <short_desc>[CSS Regions] Assert when entering fullscreen from a video element</short_desc>
          <delta_ts>2014-01-31 01:42:18 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>
          <dependson>102957</dependson>
    
    <dependson>104144</dependson>
    
    <dependson>104568</dependson>
          <blocked>57312</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Chiculita">achicu</reporter>
          <assigned_to name="Zoltan Horvath">zoltan</assigned_to>
          <cc>abucur</cc>
    
    <cc>mibalan</cc>
    
    <cc>mihnea</cc>
    
    <cc>mvujovic</cc>
    
    <cc>WebkitBugTracker</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>776085</commentid>
    <comment_count>0</comment_count>
      <attachid>176114</attachid>
    <who name="Alexandru Chiculita">achicu</who>
    <bug_when>2012-11-26 16:59:27 -0800</bug_when>
    <thetext>Created attachment 176114
test case

Adding a video element  to a region flow thread and making it fullscreen  will throw a bunch of asserts. I&apos;ve seen https://bugs.webkit.org/show_bug.cgi?id=102957 reproduce, but patching that will get into different other issues. I&apos;ve been using the controls to make the video full screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>776465</commentid>
    <comment_count>1</comment_count>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2012-11-27 01:15:15 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created an attachment (id=176114) [details]
&gt; test case
&gt; 
&gt; Adding a video element  to a region flow thread and making it fullscreen  will throw a bunch of asserts. I&apos;ve seen https://bugs.webkit.org/show_bug.cgi?id=102957 reproduce, but patching that will get into different other issues. I&apos;ve been using the controls to make the video full screen.

Are you using Chromium? On the Mac port the crash happens before going fullscreen, when moving the cursor over the video element.

SSERTION FAILED: !m_zOrderListsDirty
/Users/abucur/NonPerforce/WebKit/Source/WebCore/rendering/RenderLayer.h(434) : Vector&lt;WebCore::RenderLayer *&gt; *WebCore::RenderLayer::posZOrderList() const
1   0x105f0d398 WebCore::RenderLayer::posZOrderList() const
2   0x105f059df WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, bool, WebCore::HitTestingTransformState const*, double*)
3   0x105f066f8 WebCore::RenderLayer::hitTestList(WTF::Vector&lt;WebCore::RenderLayer*, 0ul&gt;*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestingTransformState const*, double*, double*, WebCore::HitTestingTransformState const*, bool)
4   0x105f05acc WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, bool, WebCore::HitTestingTransformState const*, double*)
5   0x105f04f86 WebCore::RenderLayer::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestResult&amp;)
6   0x105ec8aa6 WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion(WebCore::RenderRegion*, WebCore::LayoutRect, WebCore::LayoutRect, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;) const
7   0x105f91047 WebCore::RenderRegion::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction)
8   0x105e01c9c WebCore::RenderBlock::hitTestContents(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction)
9   0x105e01106 WebCore::RenderBlock::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction)
10  0x105e01c9c WebCore::RenderBlock::hitTestContents(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction)
11  0x105e01106 WebCore::RenderBlock::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction)
12  0x105f7c6e9 WebCore::RenderObject::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestFilter)
13  0x105f0692f WebCore::RenderLayer::hitTestContents(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestFilter) const
14  0x105f05cd7 WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, bool, WebCore::HitTestingTransformState const*, double*)
15  0x105f066f8 WebCore::RenderLayer::hitTestList(WTF::Vector&lt;WebCore::RenderLayer*, 0ul&gt;*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestingTransformState const*, double*, double*, WebCore::HitTestingTransformState const*, bool)
16  0x105f05acc WebCore::RenderLayer::hitTestLayer(WebCore::RenderLayer*, WebCore::RenderLayer*, WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::LayoutRect const&amp;, WebCore::HitTestLocation const&amp;, bool, WebCore::HitTestingTransformState const*, double*)
17  0x105f04f86 WebCore::RenderLayer::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestResult&amp;)
18  0x106080bef WebCore::RenderView::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestLocation const&amp;, WebCore::HitTestResult&amp;)
19  0x106080ba4 WebCore::RenderView::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;)
20  0x104f71545 WebCore::Document::prepareMouseEvent(WebCore::HitTestRequest const&amp;, WebCore::LayoutPoint const&amp;, WebCore::PlatformMouseEvent const&amp;)
21  0x1051b4841 WebCore::EventHandler::prepareMouseEvent(WebCore::HitTestRequest const&amp;, WebCore::PlatformMouseEvent const&amp;)
22  0x1051b4dba WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&amp;, WebCore::HitTestResult*, bool)
23  0x1051b48db WebCore::EventHandler::mouseMoved(WebCore::PlatformMouseEvent const&amp;)
24  0x102b557fc WebKit::handleMouseEvent(WebKit::WebMouseEvent const&amp;, WebKit::WebPage*, bool)
25  0x102b5561f WebKit::WebPage::mouseEvent(WebKit::WebMouseEvent const&amp;)
26  0x102b95e37 void CoreIPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&amp;), WebKit::WebMouseEvent&gt;(CoreIPC::Arguments1&lt;WebKit::WebMouseEvent&gt; const&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&amp;))
27  0x102b891d5 void CoreIPC::handleMessage&lt;Messages::WebPage::MouseEvent, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&amp;)&gt;(CoreIPC::MessageDecoder&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&amp;))
28  0x102b83e72 WebKit::WebPage::didReceiveWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;)
29  0x102b593bd WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;)
30  0x102b5940d non-virtual thunk to WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;)
31  0x102cc60aa CoreIPC::MessageReceiverMap::dispatchMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900261</commentid>
    <comment_count>2</comment_count>
    <who name="Michelangelo De Simone">michelangelo</who>
    <bug_when>2013-06-13 12:00:18 -0700</bug_when>
    <thetext>Works for me on today&apos;s nightly (r151543)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900521</commentid>
    <comment_count>3</comment_count>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2013-06-14 05:45:58 -0700</bug_when>
    <thetext>Nightlies are release builds, that&apos;s why you don&apos;t get the asserts. Reopening as video is one of the important things that must work in Regions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>974253</commentid>
    <comment_count>4</comment_count>
    <who name="Mihnea Ovidenie">mihnea</who>
    <bug_when>2014-01-31 01:42:18 -0800</bug_when>
    <thetext>Does not repro anymore, i built several debug builds with past revisions too.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>176114</attachid>
            <date>2012-11-26 16:59:27 -0800</date>
            <delta_ts>2012-11-26 16:59:27 -0800</delta_ts>
            <desc>test case</desc>
            <filename>region_video.html</filename>
            <type>text/html</type>
            <size>445</size>
            <attacher name="Alexandru Chiculita">achicu</attacher>
            
              <data encoding="base64">PHN0eWxlPgoKLmNvbnRlbnQgewogICAgLXdlYmtpdC1mbG93LWludG86IGNvbnRlbnQtZmxvdzsK
fQoKLnJlZ2lvbiB7CiAgICAtd2Via2l0LWZsb3ctZnJvbTogY29udGVudC1mbG93OwogICAgYm9y
ZGVyOiAxcHggc29saWQgcmVkOwogICAgbWFyZ2luOiAxMHB4OwogICAgcGFkZGluZzogMTBweDsK
ICAgIGhlaWdodDogNDgwcHg7Cn0KPC9zdHlsZT4KCjx2aWRlbyBjbGFzcz0iY29udGVudCIgaGVp
Z2h0PSIyNzAiIHdpZHRoPSI0ODAiIGlkPSJteVZpZGVvIiBjb250cm9scyBhdXRvcGxheSBsb29w
PgogICAgPHNvdXJjZSBzcmM9Imh0dHA6Ly9taXJyb3JibGVuZGVyLnRvcC1peC5vcmcvcGVhY2gv
YmlnYnVja2J1bm55X21vdmllcy9iaWdfYnVja19idW5ueV80ODBwX2gyNjQubW92IiB0eXBlPSJ2
aWRlby9tcDQiPgo8L3ZpZGVvPgo8ZGl2IGNsYXNzPSJyZWdpb24iPjwvZGl2Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>