Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 71c3481

Browse files
author
Harry Terkelsen
authored
Revert "Update text editing tests (#37642)"
This reverts commit eedb93e.
1 parent b74c2c5 commit 71c3481

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/web_ui/test/text_editing_test.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,9 +2565,10 @@ Future<void> testMain() async {
25652565
expect(input.style.backgroundColor, 'transparent');
25662566
expect(input.style.caretColor, 'transparent');
25672567
expect(input.style.outline, 'none');
2568-
expect(input.style.border.split(' '), contains('none'));
2568+
expect(input.style.border, 'none');
25692569
expect(input.style.textShadow, 'none');
2570-
});
2570+
// TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
2571+
}, skip: isFirefox);
25712572

25722573
test('prevents effect of (forced-colors: active)', () {
25732574
editingStrategy!.enable(
@@ -2578,9 +2579,7 @@ Future<void> testMain() async {
25782579

25792580
final DomHTMLElement input = editingStrategy!.activeDomElement;
25802581
expect(input.style.getPropertyValue('forced-color-adjust'), 'none');
2581-
// TODO(hterkelsen): Firefox does not support forced-color-adjust even
2582-
// though it supports forced-colors. Safari doesn't support forced-colors
2583-
// so this isn't a problem there.
2582+
// TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
25842583
}, skip: isFirefox || isSafari);
25852584
});
25862585
}

0 commit comments

Comments
 (0)