forked from firka/flutter
Test for border parsing I failed to include in my last change.
https://codereview.chromium.org/673073002/ R=abarth@chromium.org Review URL: https://codereview.chromium.org/654393004
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Running 1 tests
|
||||
ok 1 Border should render
|
||||
1 tests
|
||||
1 pass
|
||||
0 fail
|
||||
14
engine/src/flutter/tests/styles/border-parsing.html
Normal file
14
engine/src/flutter/tests/styles/border-parsing.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<link rel="import" href="../resources/mocha.html" />
|
||||
<link rel="import" href="../resources/chai.html" />
|
||||
<foo />
|
||||
<script>
|
||||
describe('Border', function() {
|
||||
it('should render', function() {
|
||||
var foo = document.querySelector('foo');
|
||||
foo.setAttribute('style', 'border: 1px solid red');
|
||||
assert.equal(foo.style.border, '1px solid rgb(255, 0, 0)');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user