diff options
Diffstat (limited to 'parser/html/nsHtml5TreeBuilderCppSupplement.h')
-rw-r--r-- | parser/html/nsHtml5TreeBuilderCppSupplement.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parser/html/nsHtml5TreeBuilderCppSupplement.h b/parser/html/nsHtml5TreeBuilderCppSupplement.h index f09cc1853..aa6767e42 100644 --- a/parser/html/nsHtml5TreeBuilderCppSupplement.h +++ b/parser/html/nsHtml5TreeBuilderCppSupplement.h @@ -185,9 +185,9 @@ nsHtml5TreeBuilder::createElement(int32_t aNamespace, aAttributes->getValue(nsHtml5AttributeName::ATTR_CROSSORIGIN); nsHtml5String integrity = aAttributes->getValue(nsHtml5AttributeName::ATTR_INTEGRITY); - bool async =
- aAttributes->contains(nsHtml5AttributeName::ATTR_ASYNC);
- bool defer =
+ bool async = + aAttributes->contains(nsHtml5AttributeName::ATTR_ASYNC); + bool defer = aAttributes->contains(nsHtml5AttributeName::ATTR_DEFER); bool noModule = aAttributes->contains(nsHtml5AttributeName::ATTR_NOMODULE); @@ -198,9 +198,9 @@ nsHtml5TreeBuilder::createElement(int32_t aNamespace, crossOrigin, integrity, mode == nsHtml5TreeBuilder::IN_HEAD, - async,
+ async, defer, - noModule);
+ noModule); mCurrentHtmlScriptIsAsyncOrDefer = async || defer; } } else if (nsHtml5Atoms::link == aName) { |