mirror of https://github.com/vuejs/core.git
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute. |
||
|---|---|---|
| .. | ||
| compiler-core | ||
| compiler-dom | ||
| compiler-sfc | ||
| compiler-ssr | ||
| dts-built-test | ||
| dts-test | ||
| reactivity | ||
| reactivity-transform | ||
| runtime-core | ||
| runtime-dom | ||
| runtime-test | ||
| server-renderer | ||
| sfc-playground | ||
| shared | ||
| template-explorer | ||
| vue | ||
| vue-compat | ||
| global.d.ts | ||