Import Cobalt 19.master.0.203780

Includes the following patches:
  https://cobalt-review.googlesource.com/c/cobalt/+/5210
    by errong.leng@samsung.com
  https://cobalt-review.googlesource.com/c/cobalt/+/5270
    by linus.wang@samsung.com
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/blank.html b/src/third_party/web_platform_tests/custom-elements/resources/blank.html
new file mode 100644
index 0000000..2e5697b
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/blank.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>Blank document</title>
+    <link rel="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
+</head>
+<body>
+</body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/import-master-async.html b/src/third_party/web_platform_tests/custom-elements/resources/import-master-async.html
new file mode 100644
index 0000000..0ecaafb
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/import-master-async.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>Import Master Document (asynchronous)</title>
+        <link rel="import" href="import.html" async>
+    </head>
+    <body>
+        <p>Master document body</p>
+    </body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/import-master.html b/src/third_party/web_platform_tests/custom-elements/resources/import-master.html
new file mode 100644
index 0000000..d91bcb9
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/import-master.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>Import Master Document</title>
+        <link rel="import" href="import.html">
+    </head>
+    <body>
+        <p>Master document body</p>
+    </body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/import.html b/src/third_party/web_platform_tests/custom-elements/resources/import.html
new file mode 100644
index 0000000..dddc467
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/import.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>Import Document</title>
+    </head>
+    <body>
+        <p>Import Document body</p>
+    </body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/register-and-create-custom-element.html b/src/third_party/web_platform_tests/custom-elements/resources/register-and-create-custom-element.html
new file mode 100644
index 0000000..3aabff2
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/register-and-create-custom-element.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>Register and create custom element</title>
+    <link rel="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
+    <link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
+</head>
+<body>
+    <div id="log"></div>
+    <script>
+        var proto = Object.create(HTMLElement.prototype);
+        proto.createdCallback = function() {
+            document.querySelector('#log').textContent = 'Created callback was called';
+        };
+        document.registerElement('x-element', {prototype: proto});
+    </script>
+    <x-element id="x-element"></x-element>
+</body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/x-element.html b/src/third_party/web_platform_tests/custom-elements/resources/x-element.html
new file mode 100644
index 0000000..0c0d2da
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/x-element.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>x-element custom element</title>
+    <link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
+</head>
+<body>
+    <x-element id="x-element"></x-element>
+</body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/x-mathml-element.html b/src/third_party/web_platform_tests/custom-elements/resources/x-mathml-element.html
new file mode 100644
index 0000000..3efdc2d
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/x-mathml-element.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>Custom element in MathML namespace</title>
+    <link rel="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
+</head>
+<body>
+    <math xmlns="http://www.w3.org/1998/Math/MathML">
+        <x-math-element id="x-math-element"></x-math-element>
+    </math>
+</body>
+</html>
diff --git a/src/third_party/web_platform_tests/custom-elements/resources/x-svg-element.html b/src/third_party/web_platform_tests/custom-elements/resources/x-svg-element.html
new file mode 100644
index 0000000..6cea857
--- /dev/null
+++ b/src/third_party/web_platform_tests/custom-elements/resources/x-svg-element.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>SVG custom element</title>
+    <link rel="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
+</head>
+<body>
+    <svg height="100" width="100">
+        <x-svg-element id="x-svg-element"></x-element>
+    </svg>
+</body>
+</html>