Changeset 89092 in webkit
- Timestamp:
- Jun 16, 2011 5:29:41 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 added
- 10 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r89091 r89092 1 2011-06-16 Wyatt Carss <wcarss@chromium.org> 2 3 Reviewed by Ryosuke Niwa. 4 5 markup-dump conversion + rename: editing/deleting/5408255.html 6 https://bugs.webkit.org/show_bug.cgi?id=62680 7 8 Tests if the UI delete button works while '-webkit-user-select: none' is applied. 9 There should be no visible content in the dumped markup. Holding off on rename. 10 11 * editing/deleting/5408255.html: 12 * editing/deleting/5408255-expected.txt: 13 * platform/chromium-linux/editing/deleting/5408255-expected.png: Removed. 14 * platform/chromium-mac-leopard/editing/deleting/5408255-expected.png: Removed. 15 * platform/chromium-mac/editing/deleting/5408255-expected.png: Removed. 16 * platform/chromium-win/editing/deleting/5408255-expected.png: Removed. 17 * platform/chromium-win/editing/deleting/5408255-expected.txt: Removed. 18 * platform/gtk/editing/deleting/5408255-expected.png: Removed. 19 * platform/gtk/editing/deleting/5408255-expected.txt: Removed. 20 * platform/mac/editing/deleting/5408255-expected.png: Removed. 21 * platform/mac/editing/deleting/5408255-expected.txt: Removed. 22 * platform/qt/editing/deleting/5408255-expected.txt: Removed. 23 1 24 2011-06-16 Ryosuke Niwa <rniwa@webkit.org> 2 25 -
trunk/LayoutTests/editing/deleting/5408255.html
r40455 r89092 1 <!DOCTYPE html> 2 <html> 1 3 <body> 2 4 3 <p>This tests for a bug where the delete button wouldn't work because it had -webkit-user-select:none instead of -webkit-user-select:ignore. The list should be removed, the editable region below should be empty.</p> 4 <div contenteditable="true" style="padding: 1em;"> 5 <div id="test" contenteditable="true" style="padding: 1em;"> 5 6 <ul class="needsDeletionUI"><li>1</li><li id="li">2</li></ul> 6 7 </div> 7 8 9 <script src="../../resources/dump-as-markup.js"></script> 8 10 <script> 9 11 … … 16 18 x = deleteButton.offsetParent.offsetLeft + deleteButton.offsetParent.offsetParent.offsetLeft + deleteButton.offsetLeft + deleteButton.offsetWidth / 2; 17 19 y = deleteButton.offsetParent.offsetTop + deleteButton.offsetParent.offsetParent.offsetTop + deleteButton.offsetTop + deleteButton.offsetHeight / 2; 18 alert(x);19 alert(y);20 20 eventSender.mouseMoveTo(x, y); 21 21 eventSender.mouseDown(); 22 22 eventSender.mouseUp(); 23 deleteButton = document.getElementById("WebKit-Editing-Delete-Button"); 24 testContainer = document.getElementById("test"); 25 Markup.description("There should be no visible content in the markup below. This test is for a bug where the delete button wouldn't work because it had -webkit-user-select:none instead of -webkit-user-select:ignore."); 26 if (deleteButton) 27 testContainer.innerHTML += "FAIL"; 28 Markup.dump("test"); 23 29 } 24 30 25 31 </script> 26 32 </body> 33 </html>
Note: See TracChangeset
for help on using the changeset viewer.