justify-items-anonymous.html (556B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11461"> 3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 4 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 5 <div style="width: 100px; height: 100px; background: red;"> 6 <div style="width: 200px; justify-items: right;"> 7 <span style="display: inline-block; width: 100px; height: 100px; background: green;"></span> 8 <div></div> <!-- Forces an anonymous block around <span> in most browsers. --> 9 </div> 10 </div>