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

39 lines
No EOL
1.2 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>Double click the “<strong>editable</strong>” word between the green and
blue colored markers and type “<strong>foobar bazquux</strong>
<ul>
<li>The word “editable” should be replaced with “foobar bazquux”.</li>
</ul>
</li>
</ol>
<div class="region">
<div contenteditable="true" class="content flowed">
This is some text that should be editable. Just like the <em><span class="inline-marker green"></span> <span id="marked-one">foobar bazquux</span> <span class="inline-marker blue"></span></em> text between these markers.
</div>
</div>
</body></html>