File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ define([
32
32
setup : function ( ) {
33
33
// For testing that css! loaded styles don't override user-defined styles
34
34
document . head . insertAdjacentHTML ( "beforeend" ,
35
- "<style>.userDefined { border: 4px solid black; }</style>" ) ;
35
+ "<style>.userDefined { border: 1px dashed black; }</style>" ) ;
36
36
37
37
assert . strictEqual ( getStyles ( ) . match ( / u s e r D e f i n e d / g) . length , 1 , "userDefined CSS inserted" ) ;
38
38
@@ -61,7 +61,7 @@ define([
61
61
assert ( backgroundImage , "stylesheet loaded" ) ;
62
62
63
63
// Test that <style> nodes defined by app override the style that was loaded by css!
64
- assert . strictEqual ( getComputedStyle ( window . userDefined ) . borderLeftWidth , "4px " ,
64
+ assert . strictEqual ( getComputedStyle ( window . userDefined ) . borderLeftStyle , "dashed " ,
65
65
"user defined style wins: " + getStyles ( ) ) ;
66
66
} ) ) ;
67
67
You can’t perform that action at this time.
0 commit comments