@@ -2804,15 +2804,14 @@ Future<void> testMain() async {
28042804 );
28052805
28062806 final DomHTMLElement input = editingStrategy! .activeDomElement;
2807- expect (input.style.color, 'transparent' );
2808- expect (input.style.background, 'transparent' );
2809- expect (input.style.backgroundColor, 'transparent' );
2810- expect (input.style.caretColor, 'transparent' );
2811- expect (input.style.outline, 'none' );
2812- expect (input.style.border, 'none' );
2813- expect (input.style.textShadow, 'none' );
2814- // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
2815- }, skip: isFirefox);
2807+ expect (input.style.color, contains ('transparent' ));
2808+ expect (input.style.background, contains ('transparent' ));
2809+ expect (input.style.backgroundColor, contains ('transparent' ));
2810+ expect (input.style.caretColor, contains ('transparent' ));
2811+ expect (input.style.outline, contains ('none' ));
2812+ expect (input.style.border, contains ('none' ));
2813+ expect (input.style.textShadow, contains ('none' ));
2814+ });
28162815
28172816 test ('prevents effect of (forced-colors: active)' , () {
28182817 editingStrategy! .enable (
@@ -2823,7 +2822,9 @@ Future<void> testMain() async {
28232822
28242823 final DomHTMLElement input = editingStrategy! .activeDomElement;
28252824 expect (input.style.getPropertyValue ('forced-color-adjust' ), 'none' );
2826- // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
2825+ // TODO(hterkelsen): Firefox does not support forced-color-adjust even
2826+ // though it supports forced-colors. Safari doesn't support forced-colors
2827+ // so this isn't a problem there.
28272828 }, skip: isFirefox || isSafari);
28282829 });
28292830}
0 commit comments