blob: d0c74b37ac16975c7af1f8d9b3e2c1221321156c [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=74775">74775</a> WebKit editing throws exception when monochrome color dragged onto text</p>
<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b>
<ol>
<li>Open a color panel in any app, such as TextEdit.app.</li>
<li>Select some text in the editable region below.</li>
<li>Drag a color swatch for a monochrome color, e.g. a gray from the grayscale slider of the color panel, to the selected text.</li>
</ol>
</p>
<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
If the color changes to the desired gray, and the drag appears to be accepted, the test passes.
</p>
<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
If the color change does not apply to the text, and the drag appears to bounce back, then the bug is probably occurring. The bug can be confirmed by looking for evidence of an uncaught exception in the system console log.
</p>
<div contentEditable="true">Select this text and drag a grayscale color to it.</div>
</body>
</html>