1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Tests/LibWeb/Text/input
Andreas Kling 28fdc7af05 LibWeb: Detach stale layout nodes from DOM during layout tree build
When toggling `display: none` on an element, it can go from having a
layout subtree to not having one. In the `none` case, we were previously
leaving stale layout nodes hanging off DOM nodes in the subtree.

These layout nodes could be queried for outdated information and
probably other things that we shouldn't allow.

Fix this by having TreeBuilder prune any old layout nodes hanging off
nodes in a subtree after its subtree root doesn't produce a layout node.
2023-08-01 09:19:41 +02:00
..
css LibWeb: Don't assume opacity values are CSS numbers 2023-07-31 09:16:18 +02:00
HTML Tests/LibWeb: Add standard built-in objects test for structuredClone() 2023-07-29 17:24:39 +02:00
Streams Tests/LibWeb: Verify setting {readable,writable}Type throws RangeError 2023-07-15 11:59:39 +02:00
TextDecoder LibWeb: Make 'optional BufferSource' IDL arguments actually optional 2023-05-30 12:50:13 +02:00
URL AK: Fix missing step step for serialization of IPv6 hosts 2023-07-31 14:48:24 +02:00
append-child-must-update-layout-tree.html LibWeb: Invalidate the layout tree on DOM node insertion 2023-06-06 09:06:27 +02:00
background-position-xy.html LibWeb: Create EdgeStyleValue for BackgroundPositionXY with no offset 2023-07-17 14:53:52 +01:00
basic.html Tests/LibWeb: Use the include.js helper in "basic.html" 2023-05-28 22:03:57 +02:00
body-background-color-red.css LibWeb: Forward media attribute from link element to loaded style sheet 2023-06-11 06:05:03 +02:00
html-parser-text-in-table-hoisting.html LibWeb: Make HTML parser flush all pending tokens in "in table text" 2023-07-03 11:50:58 +02:00
include.js LibWeb: Make resolved serialization of CSS display prefer short form 2023-05-27 16:43:35 +02:00
link-element-media-attribute.html LibWeb: Forward media attribute from link element to loaded style sheet 2023-06-11 06:05:03 +02:00
link-element-onload-attribute.html LibWeb: Allow event handler attributes on HTMLLinkElement 2023-06-06 09:06:27 +02:00
link-element-rel-preload-load-event.html LibWeb: Fire "load" and "error" events for rel=preload link loads 2023-06-06 09:06:27 +02:00
setting-display-none-should-nuke-subtree.html LibWeb: Detach stale layout nodes from DOM during layout tree build 2023-08-01 09:19:41 +02:00
title.html LibWeb: Implement the document title attribute closer to the spec 2023-06-08 07:21:08 +02:00
url-search-params-iterator-iterator.html LibWeb: Don't override prototype on generated iterator prototypes 2023-06-08 10:05:56 +02:00
valid.css LibWeb: Fire "load" and "error" events for rel=preload link loads 2023-06-06 09:06:27 +02:00
window-proxy-numeric-own-property.html LibWeb: Implement basic support for window[number] 2023-07-25 15:45:44 +02:00
window-proxy-property-inline-cache.html LibWeb: Don't cache property accesses on WindowProxy 2023-07-11 00:14:50 +02:00