Index: LayoutTests/fast/forms/resources/common.js |
diff --git a/LayoutTests/fast/forms/resources/common.js b/LayoutTests/fast/forms/resources/common.js |
index 82925fb46c4ba0984e8ddff67e00a2c99014f21b..8efb2ec43644d8781c6728f8fce435f4a879944a 100644 |
--- a/LayoutTests/fast/forms/resources/common.js |
+++ b/LayoutTests/fast/forms/resources/common.js |
@@ -102,6 +102,13 @@ function searchCancelButtonPosition(element) { |
return pos; |
} |
+function searchCancelButtonPositionRTL(element) { |
+ var pos = {}; |
+ pos.x = element.offsetLeft + 9; |
+ pos.y = element.offsetTop + element.offsetHeight / 2; |
+ return pos; |
+} |
+ |
function mouseMoveToIndexInListbox(index, listboxId) { |
var listbox = document.getElementById(listboxId); |
var itemHeight = Math.floor(listbox.offsetHeight / listbox.size); |