position-absolute-replaced-intrinsic-size.tentative.html (508B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-replaced-width"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 4 <p>Test passes if there is a filled green square.</p> 5 <div style="position: relative;"> 6 <img style="position: absolute; height: 100px; min-width: max-content; background: green;" src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'><rect width='100%' height='100%' fill='green'/></svg>"> 7 </div>