We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const p2 = new HTML({ id: 'p1', name: 'p2-name', className: 'p2-classname', style: { x: 400, y: 100, width: 60, height: 30, innerHTML: 'p2', }, });
另外在 Safari 中测试时发现 width / height 放在 <foreignObject> 的 style 中是无效的,必须要作为 attribute,但 Chrome 是支持的,因此是一个兼容性问题。
<foreignObject>
The text was updated successfully, but these errors were encountered:
fix: move width & height from style to attribute in <foreignObject> #…
fe7130c
…1485
fix: move width & height from style to attribute in <foreignObject> (#…
c0b9fc4
…1486) * fix: move width & height from style to attribute in <foreignObject> #1485 * chore: commit changeset
Release (#1489)
992e9d5
* fix: move width & height from style to attribute in <foreignObject> (#1486) * fix: move width & height from style to attribute in <foreignObject> #1485 * chore: commit changeset * chore(release): bump version (#1488) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
xiaoiver
No branches or pull requests
另外在 Safari 中测试时发现 width / height 放在
<foreignObject>
的 style 中是无效的,必须要作为 attribute,但 Chrome 是支持的,因此是一个兼容性问题。The text was updated successfully, but these errors were encountered: