mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-29 16:36:44 +01:00
1333be0c6a
Microdata are a strange set of attributes which are ONLY defined in markup, and have no relationship to the underlying Document Object Model node. As such programmatically defining an element and setting a property on it with a given Microdata attribute will not work: https://codepen.io/iambrosius/full/jOvXBBG One can read more about microdata here: https://developer.mozilla.org/en-US/docs/Web/HTML/Microdata The fix is to remove itemscope being a boolean attribute, because that opts into a transformation as a DOM property, which is wrong. |
||
---|---|---|
.. | ||
css | ||
custom-elements | ||
hydration | ||
js | ||
motion | ||
parser | ||
preprocess | ||
runtime | ||
runtime-puppeteer | ||
server-side-rendering | ||
sourcemaps | ||
stats | ||
store | ||
utils | ||
validator | ||
vars | ||
.eslintrc.json | ||
helpers.ts | ||
setup.js | ||
test.ts | ||
tsconfig.json |