1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 21:45:08 +00:00
serenity/Base/home/anon/www/inline-block-link.html
Andreas Kling 634ce37663 LibWeb: Make hit-testing work with display: inline-block;
When hit testing encountered a block with inline children, we assumed
that the inline children are nothing but text boxes. An inline-block
box is actually a block child of a block with inline children, so we
have to handle that scenario as well. :^)

Fixes #2353.
2020-05-23 21:08:25 +02:00

15 lines
290 B
HTML

<html>
<head>
<style>
p {
display: inline-block;
}
</style>
</head>
<body>
<p>
Here is some test text.
Here is a <a href="http://example.com">test link</a>.
</p>
</body>
</html>