shithub: puzzles

Download patch

ref: a55c0c188b55d71eb6ebc2984561e21cf2d20fe3
parent: a90bb4a4ef9fac5c6185b763aa2cafba9d7c6b12
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Nov 14 20:06:35 EST 2022

js: Use -moz-appearance and -webkit-appearance

The "appearance" property is newer than WebAssembly, but major browsers
have much older namespaced versions that we can support as well.

--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -195,6 +195,8 @@
 #gamemenu button {
     /* Menu items that trigger an action.  We put some effort into
      * removing the default button styling. */
+    -moz-appearance: none;
+    -webkit-appearance: none;
     appearance: none;
     font: inherit;
     color: inherit;
@@ -208,6 +210,8 @@
     /* The tick at the start of a menu item, or its unselected equivalent.
      * This is represented by an <input type="radio">, so we put some
      * effort into overriding the default style. */
+    -moz-appearance: none;
+    -webkit-appearance: none;
     appearance: none;
     margin: initial;
     font: inherit;