]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(css-vars): nullish v-bind in style should not lead to unexpected inheritance...
authorGU Yiling <justice360@gmail.com>
Thu, 3 Jul 2025 08:20:28 +0000 (16:20 +0800)
committerGitHub <noreply@github.com>
Thu, 3 Jul 2025 08:20:28 +0000 (16:20 +0800)
commitc85f1b5a132eb8ec25f71b250e25e65a5c20964f
tree2760054251106bc9c763d71e8093531255ab75f5
parent7e133dbe01acea3efe8d0ad4cd0d864bc4efa6b6
fix(css-vars): nullish v-bind in style should not lead to unexpected inheritance (#12461)

close #12434
close #12439
close #7474
close #7475
12 files changed:
packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap
packages/compiler-sfc/__tests__/compileScript.spec.ts
packages/compiler-sfc/src/style/cssVars.ts
packages/runtime-core/src/component.ts
packages/runtime-core/src/hydration.ts
packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts
packages/runtime-dom/src/helpers/useCssVars.ts
packages/server-renderer/__tests__/ssrRenderAttrs.spec.ts
packages/server-renderer/src/helpers/ssrRenderAttrs.ts
packages/shared/__tests__/cssVars.spec.ts [new file with mode: 0644]
packages/shared/src/cssVars.ts [new file with mode: 0644]
packages/shared/src/index.ts