Daniel Imms
38c6af9b46
Fix _renderer access in api test
2023-08-27 07:22:08 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Daniel Imms
1cef30cca0
Enforce half minimum contrast ratio for dim text
...
Provided MCR is not too high, this ensures dim text differs from normal
text and has a reasonable difference in contrast.
Fixes #4262
2023-08-13 11:27:57 -07:00
Daniel Imms
1dfd14fbc0
Fix canvas count test
2023-08-01 08:28:59 -07:00
Daniel Imms
d5c47ec531
it -> itWebgl
2023-05-20 09:35:37 -07:00
Daniel Imms
5a145fcffe
Add webgl api tests for dim
2023-05-20 08:41:11 -07:00
Daniel Imms
ca68a5c59a
Fix typo in test
2022-10-15 20:13:24 -07:00
Daniel Imms
171ba446bd
Update other files
2022-10-15 15:32:02 -07:00
Svante Boberg
14b02b9ad5
Bump minimum target to es2015
...
Now that we no longer support IE we can raise the minimum ES target a
bit. Changing to es2015 shaves off ~17% from the main bundle size, also
it prevents generators from being transpiled into regular functions etc.
so I would guess it has the potential to give some general performance
improvements too.
For fun I also tried to raise it to es2022, this gave a slightly bigger
bundle than es2015 so I think es2015 could be an ok target unless we
need something newer for some reason.
2022-08-01 10:17:10 +02:00
Daniel Imms
906a6fc558
Rename test selection -> selectionBackground
2022-07-29 10:35:48 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
440ab765c4
Remove rendererType setting
2022-07-27 09:22:05 -07:00
Daniel Imms
ea79194925
Make the clear threshold relative to fg/bg difference
2022-07-10 08:49:09 -07:00
Daniel Imms
1639c0a031
Fix webgl min contrast ratio api tests
...
Fixes #3847
2022-06-14 16:45:19 -07:00
Megan Rogge
6b16732192
exclude box and block glyphs from contrast ratio demands ( #3844 )
2022-06-01 17:05:27 -07:00
Daniel Imms
53f05de3e7
Add selectionForeground webgl unit test
2022-05-17 12:12:01 -07:00
Daniel Imms
abdce874db
Fix cases where only one override was with tests
2022-05-11 08:31:09 -07:00
Daniel Imms
6b4df216d3
Remove unneeded code
2022-05-10 12:08:42 -07:00
Daniel Imms
afe1d7ed6f
Fix webgl contrast tests since a bug in luminance was fixed
2022-05-10 11:48:37 -07:00
Daniel Imms
51d18e533f
Merge branch 'master' into dev_wlw
2022-03-31 09:00:09 -07:00
Tobias Speicher
28dcd38a53
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 20:41:06 +01:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00
Baptiste Augrain
9e40614b5c
feat(test): use common function to launch the browser
2021-08-31 12:50:54 +02:00
Daniel Imms
24cbedb715
Fix custom glyphs when using transparency
2021-08-19 05:32:46 -07:00
Daniel Imms
158dcb06bd
Remove custom glyph tests
2021-08-19 05:16:01 -07:00
Daniel Imms
54ce0172b4
Add test custom glyph button to demo
2021-08-18 09:48:27 -07:00
Bruno Ribeiro
27c87319c1
Fix #2714 - Start demo server before running integration tests
...
- Use port 3001 instead of 300 to not conflict with the demo
2021-04-06 15:48:48 +01:00
coderaiser
de791cfb35
chore: lint using putout
2021-03-28 15:27:03 +03:00
Daniel Imms
d979c077a0
Update playwright to 1.3.0
...
Fixes #2917
2020-09-10 06:31:59 -07:00
Daniel Imms
eca36458b3
Move webgl addon test code into own tsconfig
...
Part of #2917
2020-09-09 12:53:33 -07:00