@@ -121,14 +121,100 @@ export function render(_ctx) {
121
121
} "
122
122
` ;
123
123
124
+ exports [` compiler v-bind > HTML global attributes should set as dom prop 1` ] = `
125
+ "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDOMProp as _setDOMProp , template as _template } from 'vue/vapor';
126
+ const t0 = _template("<div ></div >")
127
+
128
+ export function render(_ctx) {
129
+ const n0 = t0 ()
130
+ _setInheritAttrs ([" id" , " title" , " lang" , " dir" , " tabindex" ])
131
+ _renderEffect (() => _setDOMProp (n0 , " id" , _ctx .id , true ))
132
+ _renderEffect (() => _setDOMProp (n0 , " title" , _ctx .title , true ))
133
+ _renderEffect (() => _setDOMProp (n0 , " lang" , _ctx .lang , true ))
134
+ _renderEffect (() => _setDOMProp (n0 , " dir" , _ctx .dir , true ))
135
+ _renderEffect (() => _setDOMProp (n0 , " tabindex" , _ctx .tabindex , true ))
136
+ return n0
137
+ } "
138
+ ` ;
139
+
140
+ exports [` compiler v-bind > MathML global attributes should set as dom prop 1` ] = `
141
+ "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDOMProp as _setDOMProp , template as _template } from 'vue/vapor';
142
+ const t0 = _template("<math ></math >")
143
+
144
+ export function render(_ctx) {
145
+ const n0 = t0 ()
146
+ _setInheritAttrs ([" autofucus" , " dir" , " displaystyle" , " mathcolor" , " tabindex" ])
147
+ _renderEffect (() => _setDOMProp (n0 , " autofucus" , _ctx .autofucus , true ))
148
+ _renderEffect (() => _setDOMProp (n0 , " dir" , _ctx .dir , true ))
149
+ _renderEffect (() => _setDOMProp (n0 , " displaystyle" , _ctx .displaystyle , true ))
150
+ _renderEffect (() => _setDOMProp (n0 , " mathcolor" , _ctx .mathcolor , true ))
151
+ _renderEffect (() => _setDOMProp (n0 , " tabindex" , _ctx .tabindex , true ))
152
+ return n0
153
+ } "
154
+ ` ;
155
+
156
+ exports [` compiler v-bind > SVG global attributes should set as dom prop 1` ] = `
157
+ "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDOMProp as _setDOMProp , template as _template } from 'vue/vapor';
158
+ const t0 = _template("<svg ></svg >")
159
+
160
+ export function render(_ctx) {
161
+ const n0 = t0 ()
162
+ _setInheritAttrs ([" id" , " lang" , " tabindex" ])
163
+ _renderEffect (() => _setDOMProp (n0 , " id" , _ctx .id , true ))
164
+ _renderEffect (() => _setDOMProp (n0 , " lang" , _ctx .lang , true ))
165
+ _renderEffect (() => _setDOMProp (n0 , " tabindex" , _ctx .tabindex , true ))
166
+ return n0
167
+ } "
168
+ ` ;
169
+
170
+ exports [` compiler v-bind > attributes must be set as attribute 1` ] = `
171
+ "import { renderEffect as _renderEffect , setAttr as _setAttr , template as _template } from 'vue/vapor';
172
+ const t0 = _template("<div ></div >")
173
+ const t1 = _template("<input >")
174
+ const t2 = _template("<textarea ></textarea >")
175
+ const t3 = _template("<img >")
176
+ const t4 = _template("<video ></video >")
177
+ const t5 = _template("<canvas ></canvas >")
178
+ const t6 = _template("<source >")
179
+
180
+ export function render(_ctx) {
181
+ const n0 = t0 ()
182
+ const n1 = t1 ()
183
+ const n2 = t2 ()
184
+ const n3 = t3 ()
185
+ const n4 = t4 ()
186
+ const n5 = t5 ()
187
+ const n6 = t6 ()
188
+ _renderEffect (() => _setAttr (n0 , " spellcheck" , _ctx .spellcheck ))
189
+ _renderEffect (() => _setAttr (n0 , " draggable" , _ctx .draggable ))
190
+ _renderEffect (() => _setAttr (n0 , " translate" , _ctx .translate ))
191
+ _renderEffect (() => _setAttr (n0 , " form" , _ctx .form ))
192
+ _renderEffect (() => _setAttr (n1 , " list" , _ctx .list ))
193
+ _renderEffect (() => _setAttr (n2 , " type" , _ctx .type ))
194
+ _renderEffect (() => {
195
+ _setAttr (n3 , " width" , _ctx .width )
196
+ _setAttr (n4 , " width" , _ctx .width )
197
+ _setAttr (n5 , " width" , _ctx .width )
198
+ _setAttr (n6 , " width" , _ctx .width )
199
+ })
200
+ _renderEffect (() => {
201
+ _setAttr (n3 , " height" , _ctx .height )
202
+ _setAttr (n4 , " height" , _ctx .height )
203
+ _setAttr (n5 , " height" , _ctx .height )
204
+ _setAttr (n6 , " height" , _ctx .height )
205
+ })
206
+ return [n0 , n1 , n2 , n3 , n4 , n5 , n6 ]
207
+ } "
208
+ `;
209
+
124
210
exports[`compiler v-bind > basic 1`] = `
125
- "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDynamicProp as _setDynamicProp , template as _template } from 'vue/vapor';
211
+ "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDOMProp as _setDOMProp , template as _template } from 'vue/vapor';
126
212
const t0 = _template("<div ></div >")
127
213
128
214
export function render(_ctx) {
129
215
const n0 = t0 ()
130
216
_setInheritAttrs ([" id" ])
131
- _renderEffect (() => _setDynamicProp (n0 , " id" , _ctx .id , true ))
217
+ _renderEffect (() => _setDOMProp (n0 , " id" , _ctx .id , true ))
132
218
return n0
133
219
} "
134
220
`;
@@ -170,13 +256,13 @@ export function render(_ctx) {
170
256
`;
171
257
172
258
exports[`compiler v-bind > no expression 1`] = `
173
- "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDynamicProp as _setDynamicProp , template as _template } from 'vue/vapor';
259
+ "import { setInheritAttrs as _setInheritAttrs , renderEffect as _renderEffect , setDOMProp as _setDOMProp , template as _template } from 'vue/vapor';
174
260
const t0 = _template("<div ></div >")
175
261
176
262
export function render(_ctx) {
177
263
const n0 = t0 ()
178
264
_setInheritAttrs ([" id" ])
179
- _renderEffect (() => _setDynamicProp (n0 , " id" , _ctx .id , true ))
265
+ _renderEffect (() => _setDOMProp (n0 , " id" , _ctx .id , true ))
180
266
return n0
181
267
} "
182
268
`;
0 commit comments