H. C. Kruse
1a71b2c664
feat: Allow to specify a custom permission for css unscoping
2023-04-06 20:52:07 +02:00
H. C. Kruse
04e204f0c1
bug: Fix checking permissions during tag handling
2023-02-11 11:45:35 +01:00
H. C. Kruse
ce31917593
bug: Fix checking of editinterface
permission
2023-02-11 08:32:01 +01:00
H. C. Kruse
70a0a139d8
feat: Add option for unscoping the css
2023-02-10 11:15:07 +01:00
Hannes
dcc4fd7b9f
refactor: Remove 1.39 check
2023-01-23 14:03:27 +01:00
CosmicAlpha
1c5862b601
Fix support for MediaWiki 1.39+ / css-sanitizer 4.0.0+
...
In css-sanitizer 4.0.0, `MatcherFactory::cssSingleTimingFunction()` was renamed to `cssSingleEasingFunction()`. Therefore, since TemplateStyles on MediaWiki 1.39 uses css-sanitizer 4.0.0, it causes a fatal.
2022-11-03 11:13:38 -06:00
Hannes
c3a5cb4469
Merge branch 'master' of github.com:octfx/mediawiki-extensions-TemplateStylesExtender
2022-09-30 15:40:30 +02:00
Hannes
ff9dd2ede6
feat: Add support for aspect-ratio
...
NOTE: using `--var` as a substitute for a number is currently NOT supported.
Implements #8
2022-09-30 15:36:11 +02:00
Hannes
477ce7aa99
refactor: Use new TemplateStyles namespace
2022-05-28 18:02:27 +02:00
Hannes
22e68465c7
feat: Partly implement clamp()
...
Fixes #5
Note: This only covers `(min/max-)height`, `(min/max-)width`
2022-05-08 22:48:05 +02:00
Hannes
0a0dd88e6e
feat: Add webkit mask image prefix
...
`mask-image` is already implemented, fixes #3
2022-05-08 22:05:32 +02:00
Hannes
15b23983d6
feat: Add revert
and revert-layer
keywords
...
Implements #6
2022-05-08 21:39:27 +02:00
Hannes
dcc5228bd9
bug: Fix css wide keywords
2021-09-06 17:29:57 +02:00
Hannes
4fe8910a35
bug: Fix declaring css vars
2021-07-19 19:30:28 +02:00
Hannes
37e873bdd0
feat: Add css var declarations
2021-07-19 12:41:06 +02:00
Hannes
e286af5b2d
feat: Allow to disable the var matcher
2021-05-21 21:51:31 +02:00
Hannes
ec064f083e
feat: Add matcher for pointer-events
2021-05-21 21:51:07 +02:00
Hannes
6cd9888ade
bug: Fix matching of rules like '1px solid var( --color )'
2021-03-24 09:25:26 +01:00
Hannes
f5b122aaed
doc: Update comments
2021-03-20 09:25:22 +01:00
Hannes
fdabcb7384
refactor: CSS Var matcher
2021-03-20 09:03:23 +01:00
Hannes
932bda9ebb
refactor: Var matcher
2021-03-20 08:12:52 +01:00
Hannes
1e7439f246
feat: Add prefers-color-scheme rule
2021-03-19 22:48:47 +01:00
Hannes
91610a8c7b
bug: Fix matching !important with css vars
2021-03-19 21:57:10 +01:00
Hannes
c605dd1119
bug: Fix regex matcher for var names
2021-03-19 21:48:41 +01:00
Hannes
7b24e89d7e
bug: Fix matching !important after var
2021-03-19 21:42:31 +01:00
Hannes
995c3ae939
feat: Implement requested tasks
2021-03-19 21:41:33 +01:00
Hannes
9d3db523eb
initial commit
2021-03-19 21:00:11 +01:00