We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.11
sfc playground
when rendering a <template> vnode, the content of the template is appended directly to the template element instead of the template DocumentFragment.
<template>
This result in non standard template element
elements rendered by vue should follow the standard and should not deviate from how a standard template tag is being handled by the browser.
vue directly appends children to the template element instead of the template Fragment / content
https://html.spec.whatwg.org/multipage/scripting.html#the-template-element https://html.spec.whatwg.org/multipage/syntax.html#template-syntax
The text was updated successfully, but these errors were encountered:
v-native-template directive as a fix
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
3.2.11
Reproduction link
sfc playground
Steps to reproduce
when rendering a
<template>
vnode, the content of the template is appended directly to the template element instead of the template DocumentFragment.This result in non standard template element
What is expected?
elements rendered by vue should follow the standard and should not deviate from how a standard template tag is being handled by the browser.
What is actually happening?
vue directly appends children to the template element instead of the template Fragment / content
https://html.spec.whatwg.org/multipage/scripting.html#the-template-element
https://html.spec.whatwg.org/multipage/syntax.html#template-syntax
The text was updated successfully, but these errors were encountered: