diff options
author | Morten Sørvig <[email protected]> | 2023-02-03 12:59:42 +0100 |
---|---|---|
committer | Morten Sørvig <[email protected]> | 2023-02-03 18:42:21 +0100 |
commit | 2443f2be07607e44ec483278873702eb0f57ab26 (patch) | |
tree | bbcb961ef744646010a23ccb2e264de7c2978c01 /src/plugins/platforms/wasm/qwasmcssstyle.cpp | |
parent | 43a77d4b64608edee3782ddbe15da2364b24567e (diff) |
wasm: set contenteditable on canvas
We don't want to make the top-level screen contenteditable,
since that interferes with accessibility. Instead, make
the canvas contenteditable and install clipboard event
handlers there.
Also move follow-up settings which counters some of the
effects contenteditable (outline: none and inputmode: none),
and move aria-hidden.
Pick-to: 6.5
Change-Id: Ibe73d8d097acd948ba8920c781a2003db0a14f3d
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmcssstyle.cpp')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmcssstyle.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/wasm/qwasmcssstyle.cpp b/src/plugins/platforms/wasm/qwasmcssstyle.cpp index 6222e9c88a4..a4821cb0279 100644 --- a/src/plugins/platforms/wasm/qwasmcssstyle.cpp +++ b/src/plugins/platforms/wasm/qwasmcssstyle.cpp @@ -24,7 +24,6 @@ const char *Style = R"css( width: 100%; height: 100%; overflow: hidden; - outline: none; } .qt-window { |