mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 08:52:54 +00:00
Ideally we would not create a layout node at all for these elements so that every layout node would always have a paintable associated with it. But for now, to fix the crash, just leave a FIXME and special case this element. Also leave a VERIFY to make it easier to debug this type of crash in the future. Fixes a crash seen on codecov.io for my 'patch' project.
13 lines
325 B
HTML
13 lines
325 B
HTML
<table>
|
|
<colgroup id="my-group">
|
|
<col width="40">
|
|
<col></colgroup>
|
|
<tbody>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const element = document.getElementById('my-group');
|
|
println(`scroll left = ${element.scrollLeft}`);
|
|
println(`scroll top = ${element.scrollTop}`);
|
|
});
|
|
</script>
|