@@ -38,28 +38,6 @@ void testMain() {
3838 expect (hasFakeRule, isFalse);
3939 });
4040
41- test ('Attaches outrageous text styles to flt-scene-host' , () {
42- final bool hasColorRed = hasCssRule (styleElement,
43- selector: 'flt-scene-host' , declaration: 'color: red' );
44-
45- bool hasFont = false ;
46- if (isSafari) {
47- // Safari expands the shorthand rules, so we check for all we've set (separately).
48- hasFont = hasCssRule (styleElement,
49- selector: 'flt-scene-host' ,
50- declaration: 'font-family: monospace' ) &&
51- hasCssRule (styleElement,
52- selector: 'flt-scene-host' , declaration: 'font-size: 14px' );
53- } else {
54- hasFont = hasCssRule (styleElement,
55- selector: 'flt-scene-host' , declaration: 'font: $_kDefaultCssFont ' );
56- }
57-
58- expect (hasColorRed, isTrue,
59- reason: 'Should make foreground color red within scene host.' );
60- expect (hasFont, isTrue, reason: 'Should pass default css font.' );
61- });
62-
6341 test ('Attaches styling to remove password reveal icons on Edge' , () {
6442 // Check that style.sheet! contains input::-ms-reveal rule
6543 final bool hidesRevealIcons = hasCssRule (styleElement,
0 commit comments