blob: d0c74b37ac16975c7af1f8d9b3e2c1221321156c [file] [log] [blame]
<!DOCTYPE html>
<p><b>BUG ID:</b> <a href="">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>
<li>Open a color panel in any app, such as</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>
<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 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.
<div contentEditable="true">Select this text and drag a grayscale color to it.</div>