Commit Graph

2476 Commits

Author SHA1 Message Date
Rob Garrison
e67aad9c8b Switch to isNumber function 2018-09-18 07:40:30 -05:00
Rob Garrison
74979ebea5 More suggested changes 2018-09-17 23:16:14 -05:00
Rob Garrison
0f92592ed2 Remove unnecessary css 2018-09-17 23:16:14 -05:00
Rob Garrison
dbf736e4bb Fix clamp to step floor 2018-09-17 23:16:08 -05:00
Rob Garrison
d0e4d2d5c0 Fix default values 2018-09-17 23:09:05 -05:00
Rob Garrison
3094ee65ad Allow including null in number/range variables 2018-09-17 22:14:13 -05:00
Rob Garrison
8e53396444 Fix select default option extraction 2018-09-17 22:10:43 -05:00
Rob Garrison
6c8be9f4e5 Fix clampValue issue if min/max are not defined 2018-09-16 18:56:45 -05:00
Rob Garrison
b24aa4c09d Don't allow step to be set to zero 2018-09-16 18:41:48 -05:00
Rob Garrison
06cfdc4c9a Remove rangeToProps & fix clampValue functions 2018-09-16 18:23:50 -05:00
Rob Garrison
fc7190910b Remove va.range & add min/max/step to va directly 2018-09-16 18:22:50 -05:00
Rob Garrison
3b3a1266e4 Remove console.logs 2018-09-16 17:30:20 -05:00
Rob Garrison
0ed4f69a2c Minor cleanup 2018-09-16 17:25:46 -05:00
Rob Garrison
e216e2a7a0 Fix all the things 2018-09-16 17:17:56 -05:00
Rob Garrison
a3d0c0b810 Ensure range default & value types match 2018-09-16 17:17:56 -05:00
Rob Garrison
5a5fe78be5 Add proper number & range validation 2018-09-16 17:17:56 -05:00
Rob Garrison
e4b73f3e49 Include units in number & range variable 2018-09-16 17:17:56 -05:00
Rob Garrison
652732c3eb Clamp number input from user 2018-09-16 17:17:56 -05:00
Rob Garrison
290c5f6c56 UserCSS Number variable now accepts a range 2018-09-16 17:17:55 -05:00
Rob Garrison
2f73f8b0eb Change range settings to [default, min, max, step] 2018-09-16 17:17:55 -05:00
Rob Garrison
a0ff7f5251 Use string slice instead of replace 2018-09-16 17:17:55 -05:00
Rob Garrison
18e5a08a1c Wrap default & remove unnecessary break 2018-09-16 17:17:55 -05:00
Rob Garrison
a2bbc8da3a Don't set value on all types of input 2018-09-16 17:17:55 -05:00
Rob Garrison
37ad749a62 Rename select all text function 2018-09-16 17:17:55 -05:00
Rob Garrison
4b5b212597 Rename to defaultValue 2018-09-16 17:17:54 -05:00
Rob Garrison
71d9f6843e Add default select option. See #492 2018-09-16 17:17:54 -05:00
Rob Garrison
018c0eaf88 Add select all text on focus. See #492 2018-09-16 17:17:54 -05:00
Rob Garrison
4b95c973c1 Add number & range variables. See #492 2018-09-16 17:17:54 -05: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