This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2565,10 +2565,9 @@ Future<void> testMain() async {
2565
2565
expect (input.style.backgroundColor, 'transparent' );
2566
2566
expect (input.style.caretColor, 'transparent' );
2567
2567
expect (input.style.outline, 'none' );
2568
- expect (input.style.border, 'none' );
2568
+ expect (input.style.border. split ( ' ' ), contains ( 'none' ) );
2569
2569
expect (input.style.textShadow, 'none' );
2570
- // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
2571
- }, skip: isFirefox);
2570
+ });
2572
2571
2573
2572
test ('prevents effect of (forced-colors: active)' , () {
2574
2573
editingStrategy! .enable (
@@ -2579,7 +2578,9 @@ Future<void> testMain() async {
2579
2578
2580
2579
final DomHTMLElement input = editingStrategy! .activeDomElement;
2581
2580
expect (input.style.getPropertyValue ('forced-color-adjust' ), 'none' );
2582
- // TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
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.
2583
2584
}, skip: isFirefox || isSafari);
2584
2585
});
2585
2586
}
You can’t perform that action at this time.
0 commit comments