| Index: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| index bb6717f9a4c09e7483dfad72333ad94d9ab49731..aaa9118db9fba174a2646b6f74d8bce6ff78aa9a 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| @@ -103,6 +103,9 @@ static inline void insert(HTMLConstructionSiteTask& task) {
|
| if (isHTMLTemplateElement(*task.parent))
|
| task.parent = toHTMLTemplateElement(task.parent.get())->content();
|
|
|
| + // https://html.spec.whatwg.org/#insert-a-foreign-element
|
| + // 3.1, (3) Push (pop) an element queue
|
| + CEReactionsScope reactions;
|
| if (task.nextChild)
|
| task.parent->parserInsertBefore(task.child.get(), *task.nextChild);
|
| else
|
|
|