Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: sky/tests/styles/border-parsing.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/tests/resources/run-after-display.sky ('k') | sky/tests/styles/border-parsing-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <import src="../resources/mocha.sky" />
3 <import src="../resources/chai.sky" />
4 <foo /> 2 <foo />
5 <script> 3 <script>
6 describe('Border', function() { 4 import "../resources/third_party/unittest/unittest.dart";
7 it('should render', function() { 5 import "../resources/unit.dart";
6
7 import "dart:sky";
8
9 void main() {
10 initUnit();
11
12 test('should render', () {
8 var foo = document.querySelector('foo'); 13 var foo = document.querySelector('foo');
9 foo.setAttribute('style', 'border: 1px solid red'); 14 foo.setAttribute('style', 'border: 1px solid red');
10 assert.equal(foo.style.border, '1px solid rgb(255, 0, 0)'); 15 expect(foo.style.getPropertyValue("border"), equals('1px solid rgb(255, 0, 0 )'));
11 }); 16 });
12 }); 17 }
13 </script> 18 </script>
14 </html> 19 </html>
OLDNEW
« no previous file with comments | « sky/tests/resources/run-after-display.sky ('k') | sky/tests/styles/border-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698