We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da30c3 commit d5b6badCopy full SHA for d5b6bad
1 file changed
test/unit/property-effects.html
@@ -391,7 +391,14 @@
391
});
392
393
test('does not parse bindings inside <style>', function() {
394
- assert.include(el.shadowRoot.querySelector('style').textContent, "[[binding]]");
+ var style = el.shadowRoot.querySelector('style');
395
+ // native shadow dom
396
+ if (style) {
397
+ assert.include(style.textContent, "[[binding]]");
398
+ // shady dom
399
+ } else {
400
+ assert.include(document.querySelector('[scope="x-basic"]').textContent, "[[binding]]");
401
+ }
402
403
404
0 commit comments