[Webkit-unassigned] [Bug 260253] Getting stuck when listening on "wheel" event and element size changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 16 09:49:19 PDT 2023


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

Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koivisto at iki.fi

--- Comment #1 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
We're spending a lot of time in updating event regions (which we only need to do if there's a wheel handler present):

    +                                     2158 WebCore::RenderLayerBacking::updateEventRegion()  (in WebCore) + 404  [0x1a98d2ce8]
    +                                       2158 WebCore::RenderLayerBacking::updateEventRegion()::$_25::operator()(WebCore::GraphicsLayer&) const  (in WebCore) + 996  [0x1a98d34e8]
    +                                         2158 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RegionContext*)  (in WebCore) + 252  [0x1a98d4f90]
    +                                           2158 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RegionContext*)::$_31::operator()(WebCore::RenderLayer&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>) const  (in WebCore) + 584  [0x1a98d5404]
    +                                             2158 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>)  (in WebCore) + 8792  [0x1a98bca10]
    +                                               2158 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>)  (in WebCore) + 7228  [0x1a98bc3f4]
    +                                                 2158 WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 468  [0x1a7708994]
    +                                                   2158 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 1784  [0x1a7706578]
    +                                                     2158 WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool)  (in WebCore) + 276  [0x1a77077d4]
    +                                                       2158 WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 468  [0x1a7708994]
    +                                                         2158 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 1784  [0x1a7706578]
    +                                                           2158 WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool)  (in WebCore) + 276  [0x1a77077d4]
    +                                                             2158 WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 468  [0x1a7708994]
    +                                                               2158 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 508  [0x1a770607c]
    +                                                                 2158 WebCore::RenderBlockFlow::paintInlineChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&)  (in WebCore) + 196  [0x1a9839b1c]
    +                                                                   2149 WebCore::LayoutIntegration::InlineContentPainter::paint()  (in WebCore) + 1620  [0x1a92ad4d8]
    +                                                                   ! 2147 WebCore::TextBoxPainter<WebCore::InlineIterator::BoxModernPath>::paint()  (in WebCore) + 2128  [0x1a99711b8]
    +                                                                   ! : 1080 WebCore::EventRegionContext::unite(WebCore::Region const&, WebCore::RenderObject&, WebCore::RenderStyle const&, bool)  (in WebCore) + 536  [0x1a97b3900]
    +                                                                   ! : | 583 WebCore::Region::unite(WebCore::Region const&)  (in WebCore) + 1028  [0x1a77613ac]
    +                                                                   ! : | + 295 WebCore::Region::Shape::appendSpan(int, int const*, int const*)  (in WebCore) + 88,116,...  [0x1a77738a4,0x1a77738c0,...]
    +                                                                   ! : | + 192 WebCore::Region::Shape::appendSpan(int, int const*, int const*)  (in WebCore) + 264  [0x1a7773954]
    +                                                                   ! : | + ! 192 WTF::Vector<WebCore::Region::Span, 16ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::appendSlowCase<(WTF::FailureAction)0, WebCore::Region::Span>(WebCore::Region::Span&&)  (in WebCore) + 36  [0x1a9603dc8]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230816/301c2dd8/attachment-0001.htm>


More information about the webkit-unassigned mailing list