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. |
||
---|---|---|
.. | ||
directives | ||
helpers | ||
createApp.spec.ts | ||
customElement.spec.ts | ||
customizedBuiltIn.spec.ts | ||
nodeOps.spec.ts | ||
patchAttrs.spec.ts | ||
patchClass.spec.ts | ||
patchEvents.spec.ts | ||
patchProps.spec.ts | ||
patchStyle.spec.ts | ||
rendererStaticNode.spec.ts |