loleaflet/dist/leaflet.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b480bcda56ad092c1a485d13a715b9284c927696 Author: Pranav Kant <pran...@collabora.co.uk> Date: Mon Mar 19 21:56:44 2018 +0530 loleaflet: Keep the hidden input width 1x1 to keep safari happy It's not possible otherwise to focus the <input> html element in Safari. Unfortunately, making the input field 1x1 has the disadvantage that on IE 11, a very small blinking artifact appears on bigger font size. There doesn't seem to be any other solution to hide the cursor on IE without messing up with IME candidate window position. Without this patch, typing doesn't work on Safari at all which is much much bigger of an issue than some artifact appearing on IE. Change-Id: Ib618a96ba2ec3aa621ed448ffbf410113d8975b8 Reviewed-on: https://gerrit.libreoffice.org/51579 Reviewed-by: Aron Budea <aron.bu...@collabora.com> Tested-by: Aron Budea <aron.bu...@collabora.com> (cherry picked from commit a61ddfe9b4dbaa88404a2f346aaaf531d525ca84) Reviewed-on: https://gerrit.libreoffice.org/51580 diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css index 50f543957..d1a615a50 100644 --- a/loleaflet/dist/leaflet.css +++ b/loleaflet/dist/leaflet.css @@ -689,8 +689,8 @@ div.leaflet-cursor-container:hover > .leaflet-cursor-header { } input.clipboard { - width: 0px; - height: 0px; + width: 1px; + height: 1px; padding: 0px !important; /* w2ui defines "input:not([type=button])" rule which sets the padding to non-zero. Hence, the !important. Otherwise, clipboard cursor apperas in MSIE and MSEdge */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits