Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfad423

Browse files
committed
fix :style single value test in Firefox
1 parent 1538cdd commit cfad423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/unit/specs/directives/internal/style_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ describe(':style', function () {
125125
// #2654
126126
it('background size with only one value', function () {
127127
dir.update({ backgroundSize: '100%' })
128-
expect(el.style.cssText.replace(/\s/g, '')).toBe('background-size:100%;')
128+
expect(el.style.cssText.replace(/\s/g, '')).toMatch(/background-size:100%(auto)?;/)
129129
})
130130
})

0 commit comments

Comments
 (0)