Index: LayoutTests/imported/web-platform-tests/custom-elements/resources/register-and-create-custom-element.html |
diff --git a/LayoutTests/imported/web-platform-tests/custom-elements/resources/register-and-create-custom-element.html b/LayoutTests/imported/web-platform-tests/custom-elements/resources/register-and-create-custom-element.html |
index c128cbf413c5c2ffdd7a7233a5fc73d4db759da8..3aabff244855cec72162af84ef7188699ed2a9c1 100644 |
--- a/LayoutTests/imported/web-platform-tests/custom-elements/resources/register-and-create-custom-element.html |
+++ b/LayoutTests/imported/web-platform-tests/custom-elements/resources/register-and-create-custom-element.html |
@@ -10,7 +10,7 @@ |
<script> |
var proto = Object.create(HTMLElement.prototype); |
proto.createdCallback = function() { |
- document.querySelector('#log').innerText = 'Created callback was called'; |
+ document.querySelector('#log').textContent = 'Created callback was called'; |
}; |
document.registerElement('x-element', {prototype: proto}); |
</script> |