justify-self-normal-1.html (680B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-align/#valdef-justify-self-normal"> 3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 4 <meta name="assert" content="justify-self:normal overrides justify-items" /> 5 <style> 6 #reference-overlapped-red { 7 position: absolute; 8 background-color: red; 9 width: 100px; 10 height: 100px; 11 z-index: -1; 12 } 13 </style> 14 15 <p>Test passes if there is a filled green square and <strong>no red</strong>. 16 </p> 17 18 <div id=reference-overlapped-red></div> 19 20 <div style="justify-items: right;"> 21 <div 22 style="width: 100px; height:100px; justify-self: normal; background: green;"> 23 </div> 24 </div>