blob: 93311ae68da8eaf066b709d2517772c5ca7ee701 [file] [log] [blame]
<!DOCTYPE html>
#content-for-region {
background-color: yellow;
-webkit-flow-into: flow;
width: 100px;
height: 100px;
#region {
background-color: gray;
-webkit-flow-from: flow;
width: 200px;
height: 200px;
<p>This test verifies that a selection in a region is painted correctly when a user drags it.</p>
<li>Starting at "Some text", select all of the text in the yellow box.</li>
<li>While the text is selected, press the mouse down on the link. Do not release the mouse.</li>
<li>Drag the selection to the whitespace on the right.</li>
<p>Expected Results:</p>
<li>A faded image of the selected text and link should follow the mouse as you drag.</li>
<li>The faded image should only contain the selected text and link.</li>
<li>The faded image should have a transparent background, not yellow and not gray.</li>
<div id="content-for-region">
Some text, followed by a <a href="#">link</a>.
<div id="region"></div>