contain-size-select-001.html (685B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Containment Test: Size containment on select</title> 4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size"> 6 <link rel="match" href="reference/contain-size-select-001-ref.html"> 7 <meta name=assert content="<select> elements with 'contain: size' should be treated as having no contents."> 8 <style> 9 select { 10 color: transparent; 11 background: white; 12 contain: size; 13 } 14 </style> 15 <p>Test passes if it has the same output than the reference.</p> 16 <select> 17 <option>AVeryLongOption</option> 18 <option>Another Option</option> 19 </select>