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

[web] Update text editing test skips #37642

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions lib/web_ui/test/text_editing_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2565,10 +2565,9 @@ Future<void> testMain() async {
expect(input.style.backgroundColor, 'transparent');
expect(input.style.caretColor, 'transparent');
expect(input.style.outline, 'none');
expect(input.style.border, 'none');
expect(input.style.border.split(' '), contains('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(
Expand All @@ -2579,7 +2578,9 @@ Future<void> testMain() async {

final DomHTMLElement input = editingStrategy!.activeDomElement;
expect(input.style.getPropertyValue('forced-color-adjust'), 'none');
// TODO(hterkelsen): https://github.com/flutter/flutter/issues/115327
// 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.
}, skip: isFirefox || isSafari);
});
}
Expand Down