mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 23:55:06 +00:00

Implements following line from the spec: "If the computed value of 'inline-size' is 'auto', then the used value is the fit-content inline size."
9 lines
No EOL
240 B
HTML
9 lines
No EOL
240 B
HTML
<!DOCTYPE html><style>
|
|
.btn {
|
|
display: block;
|
|
}
|
|
|
|
.fixed-width {
|
|
width: 200px;
|
|
}
|
|
</style><button class="btn fixed-width">200px width</button><button class="btn">auto width should behave as fit-content</button> |