Reduction:
<!DOCTYPE html>
<style>
mo {
position: absolute;
}
</style><math><mo>test</mo></math>
Stack trace from gdb:
#0 ak_trap () at /home/tim/repos/ladybird/AK/Assertions.cpp:100
#1 0x00007f569e65fe1f in ak_verification_failed ()
at /home/tim/repos/ladybird/AK/Assertions.cpp:110
#2 0x00007f569fcb1dda in value () at /home/tim/repos/ladybird/AK/Optional.h:291
#3 operator-> () at /home/tim/repos/ladybird/AK/Optional.h:126
#4 static_position () at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/LayoutState.h:180
#5 0x00007f569fcac5a4 in operator() ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/FormattingContext.cpp:736
#6 0x00007f569fca7fc9 in compute_width_for_absolutely_positioned_non_replaced_element ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/FormattingContext.cpp:827
#7 0x00007f569fca6b3a in compute_width_for_absolutely_positioned_element ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/FormattingContext.cpp:548
#8 0x00007f569fcadd48 in layout_absolutely_positioned_element ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/FormattingContext.cpp:1220
#9 0x00007f569fc8c56e in parent_context_did_dimension_child_root_box ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/BlockFormattingContext.cpp:152
#10 0x00007f569fc8b726 in ~BlockFormattingContext ()
at /home/tim/repos/ladybird/Libraries/LibWeb/Layout/BlockFormattingContext.cpp:39
#11 0x00007f569f98654a in update_layout ()
at /home/tim/repos/ladybird/Libraries/LibWeb/DOM/Document.cpp:1300
#12 0x00007f569faf7dde in update_the_rendering ()
at /home/tim/repos/ladybird/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp:340
#13 0x00007f569f73630f in operator() () at /home/tim/repos/ladybird/AK/Function.h:120
#14 0x00007f569faf7431 in process ()
at /home/tim/repos/ladybird/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp:180
#15 0x00007f569f73630f in operator() () at /home/tim/repos/ladybird/AK/Function.h:120
#16 0x00007f569edd91af in operator() () at /home/tim/repos/ladybird/AK/Function.h:120
#17 0x00007f569edd8535 in dispatch_event ()
at /home/tim/repos/ladybird/Libraries/LibCore/EventReceiver.cpp:162
#18 0x00007f56a0df10aa in qt_timer_fired ()
at /home/tim/repos/ladybird/Libraries/LibWebView/EventLoop/EventLoopImplementationQt.cpp:247
#19 operator() ()
at /home/tim/repos/ladybird/Libraries/LibWebView/EventLoop/EventLoopImplementationQt.cpp:261
#20 call () at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:127
#21 call<QtPrivate::List<>, void> ()
at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:241
#22 impl () at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:408
#23 0x00007f56a0f83d9b in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#24 0x00007f56a0f8ed6d in QTimer::timeout(QTimer::QPrivateSignal) ()
from /lib/x86_64-linux-gnu/libQt6Core.so.6
#25 0x00007f56a0f76576 in QObject::event(QEvent*) ()
from /lib/x86_64-linux-gnu/libQt6Core.so.6
#26 0x00007f56a0f38416 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x00007f56a107b7ab in QTimerInfoList::activateTimers() ()
from /lib/x86_64-linux-gnu/libQt6Core.so.6
#28 0x00007f56a1133a61 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#29 0x00007f569e1145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f569e173717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f569e113a53 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f56a11315ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#33 0x00007f56a0f429a3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt6Core.so.6
#34 0x00007f569edd64f7 in exec ()
at /home/tim/repos/ladybird/Libraries/LibCore/EventLoop.cpp:88
#35 0x000063d1c8d5cc5d in serenity_main ()
at /home/tim/repos/ladybird/Services/WebContent/main.cpp:224
#36 0x000063d1c8e2325f in main () at /home/tim/repos/ladybird/Libraries/LibMain/Main.cpp:39
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too