diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2023-04-26 13:03:09 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-14 16:01:28 +0000 |
commit | 13ecf9141da816ccb85847e61e263290b390d7ff (patch) | |
tree | 26bc165f5fdcded3a8210b0573e0ab8102fb41cd /.github/workflows | |
parent | d5d5beb79e80f4dd4c5e6ef4b6b710f3dccfe42d (diff) | |
download | qtbase-13ecf9141da816ccb85847e61e263290b390d7ff.tar.gz |
wasm: fix qtloader.js container element regression
As of Qt 6.5 the html document should not create canvas
elements directly, but instead create div container
elements and let Qt create and manage the canvas elements.
However, qtloaders.js has not been updated to match this
and is still creating canvas elements when given div
elements.
Remove the canvas creation code and invert the primary
and fallback case: config.containerElements is now passed
to instance.qtContainerElements. config.canvasElements
is copied to config.containerElements, if set.
Change-Id: I7372db93ee4de5b23a0a5d992597a3fbd9711a33
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
(cherry picked from commit 417b61b0158def614f4079761f85ccba39fba587)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions