1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:07:35 +00:00

LibWeb: Ignore "display: contents" boxes while inserting inline nodes

With this change "display: contents" ancestors are not considered as
insertion point for inline nodes similar to how we already ignore them
for non-inline nodes.

Fixes https://github.com/SerenityOS/serenity/issues/22396
This commit is contained in:
Aliaksandr Kalenik 2023-12-23 20:10:42 +01:00 committed by Andreas Kling
parent 67522fab2e
commit 0a7e4a0d22
3 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,2 @@
<!DOCTYPE html><style> body { display: contents; }
</style><body><span>whf :^)</span></body>