mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
63939445b1
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> |