Commit Graph

2633 Commits

Author SHA1 Message Date
Rob Garrison
7be33a9237 Fix default values 2018-09-24 07:02:04 -05:00
Rob Garrison
d136fdbafa Allow including null in number/range variables 2018-09-24 07:02:04 -05:00
Rob Garrison
7d533d4d4a Fix select default option extraction 2018-09-24 07:02:04 -05:00
Rob Garrison
153a066fbe Fix clampValue issue if min/max are not defined 2018-09-24 07:02:04 -05:00
Rob Garrison
2a2191049f Don't allow step to be set to zero 2018-09-24 07:02:04 -05:00
Rob Garrison
1ba0173422 Remove rangeToProps & fix clampValue functions 2018-09-24 07:02:04 -05:00
Rob Garrison
1881552348 Remove va.range & add min/max/step to va directly 2018-09-24 07:02:04 -05:00
Rob Garrison
568fc336e7 Remove console.logs 2018-09-24 07:02:04 -05:00
Rob Garrison
06629224c6 Minor cleanup 2018-09-24 07:02:04 -05:00
Rob Garrison
a277800868 Fix all the things 2018-09-24 07:02:04 -05:00
Rob Garrison
7cd4380ee4 Ensure range default & value types match 2018-09-24 07:02:04 -05:00
Rob Garrison
ae6e2647a3 Add proper number & range validation 2018-09-24 07:02:04 -05:00
Rob Garrison
f6998de6ec Include units in number & range variable 2018-09-24 07:02:04 -05:00
Rob Garrison
1a8d628be5 Clamp number input from user 2018-09-24 07:02:04 -05:00
Rob Garrison
2291197277 UserCSS Number variable now accepts a range 2018-09-24 07:02:04 -05:00
Rob Garrison
d9c748d92f Change range settings to [default, min, max, step] 2018-09-24 07:02:04 -05:00
Rob Garrison
1dc24fac1b Use string slice instead of replace 2018-09-24 07:02:04 -05:00
Rob Garrison
1edfda5417 Wrap default & remove unnecessary break 2018-09-24 07:02:04 -05:00
Rob Garrison
e2b7f194c3 Don't set value on all types of input 2018-09-24 07:02:04 -05:00
Rob Garrison
3fd3c53bd9 Rename select all text function 2018-09-24 07:02:04 -05:00
Rob Garrison
95f9f9c5d4 Rename to defaultValue 2018-09-24 07:02:04 -05:00
Rob Garrison
9b483d993b Add default select option. See #492 2018-09-24 07:02:04 -05:00
Rob Garrison
74892a3130 Add select all text on focus. See #492 2018-09-24 07:02:04 -05:00
Rob Garrison
1632a8f364 Add number & range variables. See #492 2018-09-24 07:02:04 -05:00
tophf
ec477f0c02 1.4.22 2018-09-20 12:55:52 +03:00
tophf
448cd3381b update locales 2018-09-20 12:53:32 +03:00
tophf
2a52139b6a preserve the focused element when replacing entry in-place 2018-09-13 08:41:15 +03:00
tophf
0cffb564ea don't re-toggle the style back on pressing Spacebar
fixes #501
2018-09-13 08:36:19 +03:00
tophf
e128498518 code cosmetics: convert to a lintable template string 2018-09-11 17:41:46 +03:00
tophf
6fdc01201b FF: preserve sheet's disabled state in workaround for #461 2018-09-11 17:39:43 +03:00
tophf
3243e37fbc 1.4.21 2018-09-10 18:01:34 +03:00
tophf
06425c4e6f update locales 2018-09-10 17:36:00 +03:00
tophf
b90f7bfce5 don't autofocus external links like feedback
#495
2018-09-06 20:59:04 +03:00
tophf
4a877ad27b fixup c57fef7b: always set lastFocusedViaClick
#495
2018-09-06 20:42:48 +03:00
tophf
26d7c26770 notify embedder on closing colorpicker
fixup 7fea2cfc: messageBox's Esc handler wasn't restored
2018-09-06 19:34:46 +03:00
tophf
373fe5f510 code cosmetics 2018-09-06 19:08:56 +03:00
tophf
c57fef7b1e suppress focus outline when invoked via mouse
fixes #495
2018-09-06 19:05:10 +03:00
tophf
dcdb4be10b FF59+: always set style's textContent in page context
see #461
2018-09-05 15:58:15 +03:00
tophf
74eb7c7ecd CSSLint: add conic-gradient
https://www.w3.org/TR/css-images-4/#gradients
2018-09-04 21:08:53 +03:00
tophf
79f6e7c3b3 rename OK to Close in the import notification
to disambiguate its actual function
2018-09-04 00:36:56 +03:00
tophf
3ba9201663 hyphenate long tokens in unreachableAMO message 2018-09-03 20:54:25 +03:00
tophf
c49f4dd11e don't hook auxiliary CMs
fixes #491
2018-09-03 20:54:25 +03:00
tophf
5933cf3586 CSSLint: add Q unit
https://www.w3.org/TR/css-values-3/#absolute-lengths
2018-08-30 13:41:26 +03:00
tophf
4f8953adde refresh the just edited style entry after history back 2018-08-30 09:23:55 +03:00
tophf
681176ce31 use showHelp.close when it's defined
fixes #485
2018-08-29 15:39:18 +03:00
tophf
8cf05ee185 make the hover effect less CPU-hungry
* it lagged even on a fast 4GHz i7 CPU + nVidia GPU
* the 'will-change' property didn't help and even increased memory consumption
2018-08-28 20:24:43 +03:00
tophf
af77b55eea fixup 2fdfd966
#482
2018-08-27 20:42:51 +03:00
tophf
2fdfd96699 use the new originalDigest in update UI
...when force-updating a locally edited style that turned out to be equal to the remote one

fixes #482
2018-08-27 20:39:36 +03:00
tophf
95524df6f4 code cosmetics: use :: for pseudo elements 2018-08-27 17:20:48 +03:00
tophf
699b5453fb emphasize data-skipped-edited main status message
thus visually separating it from the wall of text afterwards
2018-08-27 17:20:48 +03:00