-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
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
IE10,IE11和edage浏览器下首次渲染出的progress的value属性无法正确渲染 #6666
Comments
I found it works if we set demo: https://jsfiddle.net/r5gohw4w/ ( |
This should've been fixed in 2.4.3: #6561 |
I'm using 2.4.4, reproduced. |
My current UserAgent is I guess it's because this line doesn't run:
It works in Edge if we changed it into Thanks. |
Well, a little more study about this. It seems that in this demo: https://jsfiddle.net/r5gohw4w/ IE/Edge is correct to W3C HTML spec and Safari/Chrome is wrong. As https://w3c.github.io/html/sec-forms.html#the-progress-element says:
So for Anyway it doesn't mean the syntax in Vue template is wrong or correct. Just about browser implementations. ... and seems that using Thanks. |
I think this is related to how browsers handle updates. Non-IE browsers seem to resolve the values after the current JavaScript event loop, while IE resolves as soon as the attribute is set. I am keeping the if block for IE/Edge only for now because I don't think the spec actually mandates how this should be handled when setting attributes sequentially. |
Agree. Actually there is already an issue whatwg/html#3066 to follow. I will keep watching this. |
Version
2.3.3
Reproduction link
https://new-issue.vuejs.org/
Steps to reproduce
https://jsfiddle.net/nianqin/3j0o7uvh/
What is expected?
期望progress标签的value属性能够正确渲染
What is actually happening?
必现
The text was updated successfully, but these errors were encountered: