S0AndS0
43725acce6
runtime(css): Add additional CSS pseudo-classes and functions
...
Problem: Other than `state()` these are widely supported CSS features
Solution: Add :host, :host-context(), slotted(), and state() CSS
pseudo-classes and functions (S0AndS0).
Reference:
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host_function
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::slotted
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:state
TLDR: `host` and `host-context()` are useful for shadowDom stuff,
`::slotted()` enables targeting elements passed/injected into a
`<template>` and `state()` enables targeting custom identifiers.
For example, currently I'm (ab)using `:host` as a drop-in replacement
for `:root` when defining variables that are intended to be shared
across custom/template elements;
- `./assets/css/host.css`
```css
:host {
--default__margin-block: 0.25rem;
}
```
- `./custom-elements/example.html`
```html
<template>
<link rel="stylesheet" href="/assets/css/host.css">
<style>
header {
margin-block-start: calc(var(--default__margin-block) * 2);
}
</style>
<header></header>
</template>
```
closes : #21404
Signed-off-by: S0AndS0 <strangerthanbland@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-09-30 19:46:40 +00:00
Jay Sitter and Matthew Hughes
06512b153c
runtime(css): add more missing CSS properties
...
This is defined in the 'CSS Overflow Module Level 3' spec[1] and
supported by recent versions of all browsers reported by MDN[2], see the
MDN page also for the available values.
Link: https://drafts.csswg.org/css-overflow/#scrollbar-gutter-property [1]
Link: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/scrollbar-gutter#browser_compatibility [2]
related: #20639
closes: #20653
Co-Authored-by: Matthew Hughes <matthewhughes934@gmail.com >
Signed-off-by: Jay Sitter <jay@jaysitter.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-06-28 16:59:26 +00:00
DuckAfire
1cf38bfebe
runtime(css): Add missing numeric units
...
- Add missing numeric units to css syntax script
(baseline 2015, 2020, 2022, 2023, 2026):
dvb, dvh, dvi, dvmax, dvmin, dvw ic,
lvb, lvh, lvi, lvmax, lvmin, lvw, svb, svh,
svi, svmax, svmin, svw, vb, vi, x, cap, lh,
rlh, rcap, rch, rex, ric
closes : #19325
Signed-off-by: DuckAfire <155199080+duckafire@users.noreply.github.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-02-13 09:04:21 +01:00
Christian Brabandt
62d8f3dab5
runtime: Revert several "mark invalid contact addresses" commits
...
This reverts commits:
- 6b652a7850
- 2f689d5abd
- a025a46d41
Several email addresses that are known to be valid caused bounces
due to an issue with my email setup. The previous commits incorrectly
marked these addresses as invalid. So revert the whole thing again.
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-01-01 15:14:14 +00:00
Christian Brabandt
2f689d5abd
runtime: mark more invalid email addresses
...
Signed-off-by: Christian Brabandt <cb@256bit.org >
2025-12-31 16:38:08 +00:00
Neil Lambert
f85951fee0
runtime(css): improve cssBoxProp matches
...
closes : #18717
Signed-off-by: Neil Lambert <nlambert@pm.me >
Signed-off-by: Jay Sitter <jsit@users.noreply.github.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2025-11-11 18:01:31 +00:00
Jay Sitter
e84490311b
runtime(css): update syntax script
...
Signed-off-by: Jay Sitter <jay@jaysitter.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-03-04 16:19:48 +01:00
Adrian Heine né Lang
309ded1954
runtime(css): Update pseudo-classes in syntax script ( #11595 )
2023-08-20 21:23:18 +02:00
Bram Moolenaar
0e6adf8a29
Update runtime files
2021-12-16 14:41:10 +00:00
Bram Moolenaar
2286304cdb
Update runtime files
2021-10-16 15:23:36 +01:00
Bram Moolenaar
4f4d51a942
Update runtime files.
2020-10-11 13:57:40 +02:00
Bram Moolenaar
e7b1ea0276
Update runtime files.
2020-08-07 19:54:59 +02:00
Bram Moolenaar
06fe74aef7
Runtime files update.
2019-08-31 16:20:32 +02:00
Bram Moolenaar
22f1d0e35e
Updated runtime files.
...
Add Serbian translations and spell checking.
2018-02-27 14:53:30 +01:00
Bram Moolenaar
369b6f57c4
Update runtime files.
2017-01-17 12:22:32 +01:00
Bram Moolenaar
f37506f60f
Updated runtime files. Remove HiLink commands.
2016-08-31 22:22:10 +02:00
Bram Moolenaar
89bcfda683
Updated runtime files. Remove version checks for Vim older than 6.0.
2016-08-30 23:26:57 +02:00
Bram Moolenaar
f2571c61d5
Updated runtime files.
2015-06-09 19:44:55 +02:00
Bram Moolenaar
dfb18411cf
Updated runtime files.
2013-12-11 18:53:29 +01:00
Bram Moolenaar
18441ae2cd
Fix problem with 'iskeyword' in CSS syntax.
2013-09-24 23:30:38 +02:00
Bram Moolenaar
baca7f705b
Update runtime files. Add support for J.
2013-09-22 14:42:24 +02:00
Bram Moolenaar
e2db695d31
Updated runtime files.
2013-07-24 19:53:36 +02:00
Bram Moolenaar
3a0d8090b1
Updated runtime files.
2012-10-21 03:02:54 +02:00
Bram Moolenaar
0c5fa7d740
Updated runtime files.
2012-10-05 22:26:30 +02:00
Bram Moolenaar
d09acef44b
Updated runtime files.
2012-09-21 14:54:30 +02:00
Bram Moolenaar
f1568eca24
Update runtime files.
2011-12-14 21:17:39 +01:00
Bram Moolenaar
59c0395e6b
Minor runtime file updates.
2010-07-28 12:52:27 +02:00
Bram Moolenaar
8c8de83932
updated for version 7.2a
2008-06-24 22:58:06 +00:00
Bram Moolenaar
29c34723d5
updated for version 7.1
2007-05-12 15:34:06 +00:00
Bram Moolenaar
a5792f5890
updated for version 7.0158
2005-11-23 21:25:05 +00:00
Bram Moolenaar
293ee4d421
updated for version 7.0021
2004-12-09 21:34:53 +00:00
Bram Moolenaar
071d4279d6
updated for version 7.0001
2004-06-13 20:20:40 +00:00