12 lines
491 B
HTML
12 lines
491 B
HTML
<html>
|
|
<body>
|
|
This tests clipping of the outline. It should not be clipped by the overflow rect. The inner div has a green outline and a red border.
|
|
<div style="border: 2px solid blue; position:absolute; width:300px; height:200px; clip: rect(auto auto auto 75px)">
|
|
text in outer div
|
|
<div contentEditable style="overflow: hidden; outline: 3px solid green; background-color: #eee; border: 3px solid red; position:absolute; margin-left: 50px">
|
|
text in inner div
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |