serenity/Tests/LibWeb/Layout/input/display-contents-with-in-children.html
Aliaksandr Kalenik 0a7e4a0d22 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
2023-12-23 20:52:42 +01:00

2 lines
92 B
HTML

<!DOCTYPE html><style> body { display: contents; }
</style><body><span>whf :^)</span></body>