mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
c41e742de4
If inline-block is sized under min-content width constraint we should use its min-content width instead of max-content width like it was before.
18 lines
No EOL
411 B
HTML
18 lines
No EOL
411 B
HTML
<!DOCTYPE html><style type="text/css">
|
|
* {
|
|
border: 1px solid black;
|
|
}
|
|
div {
|
|
position: relative;
|
|
width: 500px;
|
|
}
|
|
h1 {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
font-size: 50px;
|
|
}
|
|
span {
|
|
display: inline-block;
|
|
}
|
|
</style><div><h1><span>Skew is a web-first, cross-platform programming language with an optimizing compiler.</span></h1></div> |