Files
servo/tests/wpt/web-platform-tests/css/css-regions/contentEditable/reference/contentEditable-001-ref.html

37 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
<link rel="stylesheet" href="../support/common.css">
<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 &ldquo;<strong>foobar
bazquux</strong>&rdquo;</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>