blob: 626277b23f3f8e9c0f87303384b32ba8af900e39 [file] [log] [blame]
<!DOCTYPE html>
| When the rules in the spec are implemented, the div should correctly
| shrink-to-fit. This test currently cannot pass because the following rule
| is not implemented:
| 1. 'left' and 'width' are 'auto' and 'right' is not 'auto', then the width is
| shrink-to-fit. Then solve for 'left'
.duration {
position: absolute;
background-color: rgba(0, 0, 0, 0.5);
text-align: center;
<div class="duration">10:42</div>