Title: [147143] trunk/LayoutTests
- Revision
- 147143
- Author
- csaave...@igalia.com
- Date
- 2013-03-28 12:52:46 -0700 (Thu, 28 Mar 2013)
Log Message
Use String.trim() in editing/selection/move-vertically-with-paddings-borders.html test
https://bugs.webkit.org/show_bug.cgi?id=113490
Reviewed by Ryosuke Niwa.
* editing/selection/move-vertically-with-paddings-borders.html:
(selectWord): Use String.trim() to drop trailing whitespaces that
might be added depending on the editing behavior. See related bug
110487.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (147142 => 147143)
--- trunk/LayoutTests/ChangeLog 2013-03-28 19:46:35 UTC (rev 147142)
+++ trunk/LayoutTests/ChangeLog 2013-03-28 19:52:46 UTC (rev 147143)
@@ -1,3 +1,15 @@
+2013-03-28 Claudio Saavedra <csaave...@igalia.com>
+
+ Use String.trim() in editing/selection/move-vertically-with-paddings-borders.html test
+ https://bugs.webkit.org/show_bug.cgi?id=113490
+
+ Reviewed by Ryosuke Niwa.
+
+ * editing/selection/move-vertically-with-paddings-borders.html:
+ (selectWord): Use String.trim() to drop trailing whitespaces that
+ might be added depending on the editing behavior. See related bug
+ 110487.
+
2013-03-28 Julien Chaffraix <jchaffr...@webkit.org>
[CSS Grid Layout] Before / start paddings and borders are not accounted for when placing the grid items
Modified: trunk/LayoutTests/editing/selection/move-vertically-with-paddings-borders.html (147142 => 147143)
--- trunk/LayoutTests/editing/selection/move-vertically-with-paddings-borders.html 2013-03-28 19:46:35 UTC (rev 147142)
+++ trunk/LayoutTests/editing/selection/move-vertically-with-paddings-borders.html 2013-03-28 19:52:46 UTC (rev 147143)
@@ -36,7 +36,7 @@
function selectWord() {
window.getSelection().modify('move', 'backward', 'word');
window.getSelection().modify('extend', 'forward', 'word');
- return window.getSelection().toString();
+ return getSelection().toString().trim();
}
function moveVerticallyAndVerify(node, direction, from, to) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes