Title: [183848] trunk/LayoutTests
- Revision
- 183848
- Author
- [email protected]
- Date
- 2015-05-05 21:39:57 -0700 (Tue, 05 May 2015)
Log Message
Fix tests after r183770 on non-Mac ports. These tests are expecting Mac editing behavior.
* editing/execCommand/strikethroughSelection.html:
* editing/execCommand/toggle-mixed-text-decorations.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (183847 => 183848)
--- trunk/LayoutTests/ChangeLog 2015-05-06 03:39:20 UTC (rev 183847)
+++ trunk/LayoutTests/ChangeLog 2015-05-06 04:39:57 UTC (rev 183848)
@@ -1,3 +1,10 @@
+2015-05-05 Ryosuke Niwa <[email protected]>
+
+ Fix tests after r183770 on non-Mac ports. These tests are expecting Mac editing behavior.
+
+ * editing/execCommand/strikethroughSelection.html:
+ * editing/execCommand/toggle-mixed-text-decorations.html:
+
2015-05-05 Roger Fong <[email protected]>
Unreviewed. Some assertion failures in compositing code after r183820.
Modified: trunk/LayoutTests/editing/execCommand/strikethroughSelection.html (183847 => 183848)
--- trunk/LayoutTests/editing/execCommand/strikethroughSelection.html 2015-05-06 03:39:20 UTC (rev 183847)
+++ trunk/LayoutTests/editing/execCommand/strikethroughSelection.html 2015-05-06 04:39:57 UTC (rev 183848)
@@ -13,11 +13,12 @@
<script>
function editingTest() {
+ if (window.internals)
+ internals.settings.setEditingBehavior('mac');
for (i = 0; i < 21; i++) {
- execExtendSelectionForwardByCharacterCommand();
- execStrikethroughCommand();
-
+ execExtendSelectionForwardByCharacterCommand();
+ execStrikethroughCommand();
}
}
Modified: trunk/LayoutTests/editing/execCommand/toggle-mixed-text-decorations.html (183847 => 183848)
--- trunk/LayoutTests/editing/execCommand/toggle-mixed-text-decorations.html 2015-05-06 03:39:20 UTC (rev 183847)
+++ trunk/LayoutTests/editing/execCommand/toggle-mixed-text-decorations.html 2015-05-06 04:39:57 UTC (rev 183848)
@@ -8,6 +8,9 @@
description("Test to make sure we can toggle underline and strike through separately.")
+if (window.internals)
+ internals.settings.setEditingBehavior('mac');
+
var testContainer = document.createElement("div");
testContainer.contentEditable = true;
document.body.appendChild(testContainer);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes