servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/contentEditable-008-ref.htm

40 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
<link href="../support/common.css" rel="stylesheet">
<style>
.content {
font-family: Times, serif;
font-size: 20px;
line-height: 1em;
}
.region {
width: 200px;
height: 200px;
border: 2px solid black;
margin: 0.5em 0 0.5em 0;
}
</style>
</head>
<body>
<ol>
<li>Below you should see a square with a black border with some text inside it. No
red should be visible at any time during this test.</li>
<li>Click between the green and blue colored markers and type “<strong>foobar
bazquux</strong>
<ul>
<li>The text should not be editable.</li>
</ul>
</li>
</ol>
<div contenteditable="true" class="region">
<div class="content flowed">
This is some text that should not be editable. Not even the text between
<em><span class="inline-marker green"></span> <span id="marked-one">these two markers</span> <span class="inline-marker blue"></span></em>.
</div>
</div>
</body></html>