26 lines
420 B
HTML
26 lines
420 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<p>This test checks that inline elements cannot be the first letter of an ancestor element.</p>
|
|
<p>The tests passes if you see all the letters black and you see no red.</p>
|
|
|
|
<div>
|
|
<div style="display: inline-block;">Text</div>
|
|
Out
|
|
</div>
|
|
|
|
<div>
|
|
<button>Text</button>
|
|
Out
|
|
</div>
|
|
|
|
<div>
|
|
<select>
|
|
<option>Text</option>
|
|
</select>
|
|
Out
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|