mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Merge branch 'master' into double-properties-invocation
This commit is contained in:
@@ -12,10 +12,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
@@ -12,10 +12,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
@@ -11,10 +11,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
@@ -456,7 +456,8 @@ function getEffectiveChildNodes(node) {
|
||||
}
|
||||
|
||||
function getComposedHTML(node) {
|
||||
return ShadyDOM.nativeTree.innerHTML(node);
|
||||
// Ignore shady CSS scoping
|
||||
return ShadyDOM.nativeTree.innerHTML(node).replace(/ class="[^"]*"/g, '');
|
||||
}
|
||||
|
||||
function getComposedChildAtIndex(node, index) {
|
||||
|
||||
@@ -769,7 +769,7 @@ test('variables in @keyframes', function(done) {
|
||||
});
|
||||
|
||||
test('instances of scoped @keyframes', function(done) {
|
||||
if (navigator.userAgent.match(/Safari\/60(3|4)/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) {
|
||||
if (navigator.userAgent.match(/Safari/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) {
|
||||
// `:nth-of-type` is broken in shadow roots on Safari 10.1
|
||||
// https://bugs.webkit.org/show_bug.cgi?id=166748
|
||||
this.skip();
|
||||
|
||||
Reference in New Issue
Block a user