From 4779ebc3755f6798cd25b7a9eb5323eaed703a01 Mon Sep 17 00:00:00 2001 From: Harry Terkelsen Date: Tue, 15 Nov 2022 16:28:19 -0800 Subject: [PATCH] Revert "Update text editing tests (#37642)" (flutter/engine#37653) This reverts commit dbdeabc5076e5f818e3726e8dd4a4f1bb4c19d97. --- .../src/flutter/lib/web_ui/test/text_editing_test.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/engine/src/flutter/lib/web_ui/test/text_editing_test.dart b/engine/src/flutter/lib/web_ui/test/text_editing_test.dart index aba045c9ea..5a174483ad 100644 --- a/engine/src/flutter/lib/web_ui/test/text_editing_test.dart +++ b/engine/src/flutter/lib/web_ui/test/text_editing_test.dart @@ -2565,9 +2565,10 @@ Future testMain() async { expect(input.style.backgroundColor, 'transparent'); expect(input.style.caretColor, 'transparent'); expect(input.style.outline, 'none'); - expect(input.style.border.split(' '), contains('none')); + expect(input.style.border, 'none'); expect(input.style.textShadow, 'none'); - }); + // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327 + }, skip: isFirefox); test('prevents effect of (forced-colors: active)', () { editingStrategy!.enable( @@ -2578,9 +2579,7 @@ Future testMain() async { final DomHTMLElement input = editingStrategy!.activeDomElement; expect(input.style.getPropertyValue('forced-color-adjust'), 'none'); - // TODO(hterkelsen): Firefox does not support forced-color-adjust even - // though it supports forced-colors. Safari doesn't support forced-colors - // so this isn't a problem there. + // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327 }, skip: isFirefox || isSafari); }); }