[Webkit-unassigned] [Bug 105545] New: Assertion failure (!m_anchorNode || !m_anchorNode->isPseudoElement())

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 09:33:01 PST 2012


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

           Summary: Assertion failure (!m_anchorNode ||
                    !m_anchorNode->isPseudoElement())
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihnea at adobe.com
                CC: koivisto at iki.fi, esprehn at chromium.org


The assertion was added in http://trac.webkit.org/changeset/137336 for WebKitBug https://bugs.webkit.org/show_bug.cgi?id=104462

Load the following HTML snippet in a debug version of WebKit on Mac:

<!doctype html>
<html>
    <head>
        <style>
            #div1:before { display: inline-block; content: "BBB"; border: 1px solid red; }
            #div1 { border: 1px solid green; }
        </style>
    </head>
    <body>
        <div id="div1">AAAA</div>
    </body>
</html>

Click inside the red border of the :before element and you get:

ASSERTION FAILED: !m_anchorNode || !m_anchorNode->isPseudoElement()
/Users/mihnea/WebKit/Source/WebCore/dom/Position.cpp(90) : WebCore::Position::Position(PassRefPtr<WebCore::Node>, WebCore::Position::LegacyEditingOffset)
1   0x10686cdc9 WebCore::Position::Position(WTF::PassRefPtr<WebCore::Node>, WebCore::Position::LegacyEditingOffset)
2   0x10686cc8b WebCore::Position::Position(WTF::PassRefPtr<WebCore::Node>, WebCore::Position::LegacyEditingOffset)
3   0x105616a9e WebCore::createLegacyEditingPosition(WTF::PassRefPtr<WebCore::Node>, int)
4   0x1068c275d WebCore::RenderBlock::positionForBox(WebCore::InlineBox*, bool) const
5   0x1068c2f38 WebCore::RenderBlock::positionForPointWithInlineChildren(WebCore::LayoutPoint const&)
6   0x1068c36b5 WebCore::RenderBlock::positionForPoint(WebCore::LayoutPoint const&)
7   0x1068c32af WebCore::positionForPointRespectingEditingBoundaries(WebCore::RenderBlock*, WebCore::RenderBox*, WebCore::LayoutPoint const&)
8   0x1068c302e WebCore::RenderBlock::positionForPointWithInlineChildren(WebCore::LayoutPoint const&)
9   0x1068c36b5 WebCore::RenderBlock::positionForPoint(WebCore::LayoutPoint const&)
10  0x105c71f9c WebCore::EventHandler::handleMousePressEventSingleClick(WebCore::MouseEventWithHitTestResults const&)
11  0x105c7290b WebCore::EventHandler::handleMousePressEvent(WebCore::MouseEventWithHitTestResults const&)
12  0x105c773c5 WebCore::EventHandler::handleMousePressEvent(WebCore::PlatformMouseEvent const&)
13  0x103525e30 WebKit::handleMouseEvent(WebKit::WebMouseEvent const&, WebKit::WebPage*, bool)
14  0x103525cf5 WebKit::WebPage::mouseEvent(WebKit::WebMouseEvent const&)
15  0x103566a97 void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&), WebKit::WebMouseEvent>(CoreIPC::Arguments1<WebKit::WebMouseEvent> const&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&))
16  0x103559e65 void CoreIPC::handleMessage<Messages::WebPage::MouseEvent, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&)>(CoreIPC::MessageDecoder&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&))
17  0x103554a62 WebKit::WebPage::didReceiveWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&)
18  0x103529abd WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&)
19  0x103529b0d non-virtual thunk to WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&)
20  0x10369ab8a CoreIPC::MessageReceiverMap::dispatchMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&)
21  0x1035ff179 WebKit::WebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&)
22  0x1032fbc48 CoreIPC::Connection::dispatchMessage(CoreIPC::MessageID, CoreIPC::MessageDecoder&)
23  0x1032f910e CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::MessageDecoder>&)
24  0x1032fbbeb CoreIPC::Connection::dispatchOneMessage()
25  0x103303482 WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator()(CoreIPC::Connection*)
26  0x103303405 WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void (CoreIPC::Connection*)>::operator()()
27  0x106bc9529 WTF::Function<void ()>::operator()() const
28  0x106bc916f WebCore::RunLoop::performWork()
29  0x106bca67e WebCore::RunLoop::performWork(void*)
30  0x7fff886a0101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
31  0x7fff8869fa25 __CFRunLoopDoSources0

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