| Index: tests/html/template_element_test.dart
|
| diff --git a/tests/html/template_element_test.dart b/tests/html/template_element_test.dart
|
| index 3a5854c9f29c582bccb32031c53ec0e6a09df5fd..d71f8545fef9bb264ac700a196f4b27745170635 100644
|
| --- a/tests/html/template_element_test.dart
|
| +++ b/tests/html/template_element_test.dart
|
| @@ -1320,6 +1320,24 @@ templateElementTests() {
|
| }
|
| });
|
|
|
| + test('BindShadowDOM bindModel', () {
|
| + if (ShadowRoot.supported) {
|
| + var root = createShadowTestHtml('Hi {{ name }}');
|
| + var model = toSymbolMap({'name': 'Leela'});
|
| + TemplateElement.bindModel(root, model);
|
| + deliverChangeRecords();
|
| + expect(root.text, 'Hi Leela');
|
| + }
|
| + });
|
| +
|
| + test('bindModel to polyfilled shadow root', () {
|
| + var root = createTestHtml('Hi {{ name }}');
|
| + var model = toSymbolMap({'name': 'Leela'});
|
| + TemplateElement.bindModel(root, model);
|
| + deliverChangeRecords();
|
| + expect(root.text, 'Hi Leela');
|
| + });
|
| +
|
| // https://github.com/toolkitchen/mdv/issues/8
|
| test('UnbindingInNestedBind', () {
|
| var div = createTestHtml(
|
|
|