'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'Iframe should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'object should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'video should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'audio should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'canvas should allow at least one insertion point');
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'map should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'textarea should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'progress should allow at least one insertion point');
'<span id="shadow">This is a node that should be distributed</span>' +
'<span id="flbk">This is a fallback content</span>';
- var s = createSR(el);
+ var s = el.createShadowRoot();
s.innerHTML = '<content select="#shadow"></content>';
assert_true(d.querySelector('#shadow').offsetTop > 0, 'meter should allow at least one insertion point');