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

36 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: 300px;
height: 300px;
border: 2px solid black;
}
</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 two colored markers (green and blue) and type “<strong>foobar
bazquux</strong></li>
<li>Test passes if the text you typed is displayed at the cursor position between the
two markers and the lines of text wrap inside the black border.</li>
</ol>
<div class="region">
<p contenteditable="true" class="content">This is some text content. It contains two colored
markers: <span class="inline-marker green"></span> <span id="marked">foobar bazquux</span> <span class="inline-marker blue"></span>.<br>
Follow the instructions above to test CSS Regions and <code>contentEditable</code></p>
</div>
</body></html>