simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Nov 15 01:52:53 GMT 2022


TL;DR:
  a55c0c1 js: Use -moz-appearance and -webkit-appearance
  ff406d4 js: Convert space after tick in menus to a space character

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2022-11-15 01:52:53

commit a55c0c188b55d71eb6ebc2984561e21cf2d20fe3
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=a55c0c188b55d71eb6ebc2984561e21cf2d20fe3;hp=a90bb4a4ef9fac5c6185b763aa2cafba9d7c6b12
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Tue Nov 15 01:06:35 2022 +0000

    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.

 html/jspage.pl | 4 ++++
 1 file changed, 4 insertions(+)

commit ff406d4edc62af1f459ba2b17a9110a8e3ef71bc
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=ff406d4edc62af1f459ba2b17a9110a8e3ef71bc;hp=a55c0c188b55d71eb6ebc2984561e21cf2d20fe3
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Tue Nov 15 01:31:01 2022 +0000

    js: Convert space after tick in menus to a space character
    
    Older Firefox versions don't support "-moz-appearance: none" on radio
    buttons, which seems to mean that the specifies padding for them
    doesn't appear.  Using a space character instead works fine, so do that
    everywhere.  This seems to move the text slightly closer to the tick on
    browsers that do support "appearance: none", but the result is quite
    acceptable.
    
    This also makes the focus outline on the ticks slightly less weird.

 emcclib.js     | 2 +-
 html/jspage.pl | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)



More information about the tartarus-commits mailing list