Update web-platform-tests to revision a184aa4fd5cd8f92eb87ce0035f257f2a4c7c0b2

This commit is contained in:
WPT Sync Bot 2021-01-17 08:22:00 +00:00
parent e1065fa22a
commit c7e8937c37
84 changed files with 2653 additions and 218 deletions

View file

@ -1,5 +1,7 @@
"use strict";
// TODO: extend `EditorTestUtils` in editing/include/edit-test-utils.mjs
const kBackspaceKey = "\uE003";
const kDeleteKey = "\uE017";
const kArrowRight = "\uE014";
@ -323,7 +325,7 @@ function setupEditor(innerHTMLWithRangeMarkers) {
return {
marker: scanResult[0],
container: textNode,
offset: scanResult.index + offset,
offset: scanResult.index + offset
};
}
if (startContainer.nodeType === Node.TEXT_NODE) {
@ -359,7 +361,7 @@ function setupEditor(innerHTMLWithRangeMarkers) {
return {
marker: scanResult[0],
container: textNode,
offset: scanResult.index + offset,
offset: scanResult.index + offset
};
}
if (startContainer.nodeType === Node.TEXT_NODE) {