Skip to content

Commit 64e15aa

Browse files
committed
merge with devel
2 parents 8e81962 + 412fe76 commit 64e15aa

18 files changed

Lines changed: 522 additions & 321 deletions

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 2.44.0
2+
### Features
3+
* new API `terminal::animation()` and `terminal::delay()` [#683](https://github.com/jcubic/jquery.terminal/issues/683)
4+
* add images in less now have `terminal-less` class
5+
* add `execHistory` main option and `history` option to `terminal::exec()` [#745](https://github.com/jcubic/jquery.terminal/issues/745)
6+
* add helper `$.terminal.remove_formatter`
7+
* escape xml in `$.terminal.escape_formatting` when xml formatter is used [#973](https://github.com/jcubic/jquery.terminal/issues/973)
8+
### Bugfix
9+
* fix number of rows when using different `--size` [#969](https://github.com/jcubic/jquery.terminal/issues/969)
10+
* fix hidden cursor when using command that change `--size` [#968](https://github.com/jcubic/jquery.terminal/issues/968)
11+
* fix command prop in `export_view()` when in command [#967](https://github.com/jcubic/jquery.terminal/issues/967)
12+
* fix processing images in less [#970](https://github.com/jcubic/jquery.terminal/issues/970)
13+
* fix passing alt and class for image in less
14+
* fix width of images in less when image is bigger than the terminal
15+
* fix line-height of the lines to render less image slices properly
16+
* fix flashing of old prompt after prompt animation [#976](https://github.com/jcubic/jquery.terminal/issues/976)
17+
18+
## 2.43.2
19+
### Bugfix
20+
* fix scroll to bottom when using `terminal::import_view`
21+
122
## 2.43.1
223
### Bugfix
324
* fix height when not using `--rows` [#962](https://github.com/jcubic/jquery.terminal/issues/962)

Makefile

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,26 @@ UPDATE_CONTRIBUTORS=0
2525

2626
.PHONY: coverage test coveralls lint.src eslint skipped_tests jsonlint publish lint tscheck publish-guthub emoji
2727

28-
ALL: Makefile .$(VERSION) terminal.jquery.json bower.json package.json assets/ascii_art.svg js/jquery.terminal-$(VERSION).js js/jquery.terminal.js js/jquery.terminal-$(VERSION).min.js js/jquery.terminal.min.js js/jquery.terminal.min.js.map css/jquery.terminal-$(VERSION).css css/jquery.terminal-$(VERSION).min.css css/jquery.terminal.min.css css/jquery.terminal.min.css.map css/jquery.terminal.css README.md import.html js/terminal.widget.js css/emoji.css update-contributors
28+
ALL: Makefile .$(VERSION) terminal.jquery.json bower.json package.json assets/ascii_art.svg js/jquery.terminal.js js/jquery.terminal.min.js js/jquery.terminal.min.js.map css/jquery.terminal.min.css css/jquery.terminal.min.css.map css/jquery.terminal.css README.md import.html js/terminal.widget.js css/emoji.css update-contributors
2929

3030
bower.json: templates/bower.in .$(VERSION)
3131
$(SED) -e "s/{{VER}}/$(VERSION)/g" templates/bower.in > bower.json
3232

3333
package.json: .$(VERSION)
3434
$(SED) -i 's/"version": "[^"]\+"/"version": "$(VERSION)"/' package.json
3535

36-
js/jquery.terminal-$(VERSION).js: js/jquery.terminal-src.js .$(VERSION)
37-
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" js/jquery.terminal-src.js > js/jquery.terminal-$(VERSION).js || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" js/jquery.terminal-src.js > js/jquery.terminal-$(VERSION).js
36+
js/jquery.terminal.js: js/jquery.terminal-src.js .$(VERSION)
37+
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" js/jquery.terminal-src.js > js/jquery.terminal.js || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" js/jquery.terminal-src.js > js/jquery.terminal.js
3838

39-
js/jquery.terminal.js: js/jquery.terminal-$(VERSION).js
40-
$(CP) js/jquery.terminal-$(VERSION).js js/jquery.terminal.js
41-
42-
js/jquery.terminal-$(VERSION).min.js: js/jquery.terminal.min.js
43-
$(CP) js/jquery.terminal.min.js js/jquery.terminal-$(VERSION).min.js
44-
45-
js/jquery.terminal.min.js js/jquery.terminal.min.js.map: js/jquery.terminal-$(VERSION).js
39+
js/jquery.terminal.min.js js/jquery.terminal.min.js.map: js/jquery.terminal.js
4640
$(CD) js && $(UGLIFY) -o jquery.terminal.min.js --comments --mangle --source-map "includeSources,url='jquery.terminal.min.js.map'" -- jquery.terminal.js && $(ECHO) >> jquery.terminal.min.js
4741

48-
css/jquery.terminal-$(VERSION).css: css/jquery.terminal-src.css .$(VERSION)
49-
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal-$(VERSION).css
50-
51-
css/jquery.terminal.css: css/jquery.terminal-$(VERSION).css .$(VERSION)
52-
$(CP) css/jquery.terminal-$(VERSION).css css/jquery.terminal.css
42+
css/jquery.terminal.css: css/jquery.terminal-src.css .$(VERSION)
43+
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal.css || $(SED) -e "s/{{VER}}/$(VERSION)/g" -e "s/{{DATE}}/$(DATE)/g" css/jquery.terminal-src.css > css/jquery.terminal.css
5344

5445
css/jquery.terminal.min.css css/jquery.terminal.min.css.map: css/jquery.terminal.css
5546
$(CSSNANO) css/jquery.terminal.css css/jquery.terminal.min.css
5647

57-
css/jquery.terminal-$(VERSION).min.css: css/jquery.terminal.min.css
58-
$(CP) css/jquery.terminal.min.css css/jquery.terminal-$(VERSION).min.css
59-
6048
README.md: templates/README.in .$(VERSION) __tests__/terminal.spec.js
6149
$(GIT) branch | grep '* devel' > /dev/null && $(SED) -e "s/{{VER}}/DEV/g" -e \
6250
"s/{{BRANCH}}/$(BRANCH_SAFE)/g" -e "s/{{CHECKSUM}}/$(SPEC_CHECKSUM)/" \

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<h1 align="center">
2-
<img src="https://github.com/jcubic/jquery.terminal/blob/master/assets/ascii_art.svg?raw=true&ver=2.43.1"
2+
<img src="https://github.com/jcubic/jquery.terminal/blob/devel/assets/ascii_art.svg?raw=true&ver=DEV"
33
alt="ASCII Art that represent text jQuery Terminal - JavaScript Library for Web Based Terminal Emulators" />
44
</h1>
55

66
[JavaScript Library for Web Based Terminal Emulators](https://terminal.jcubic.pl)
77

8-
[![npm](https://img.shields.io/badge/npm-2.43.1-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
9-
![bower](https://img.shields.io/badge/bower-2.43.1-yellow.svg)
10-
[![Build and test](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml/badge.svg?branch=master&event=push)](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml)
11-
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=master&cd09bc55e55c92b2e6b07bb29830ae68)](https://coveralls.io/github/jcubic/jquery.terminal?branch=master)
8+
[![npm](https://img.shields.io/badge/npm-DEV-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
9+
![bower](https://img.shields.io/badge/bower-DEV-yellow.svg)
10+
[![Build and test](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml/badge.svg?branch=devel&event=push)](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml)
11+
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&0f20bf6eaa4edcca15f83f8bbf243c1e)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
1212
![NPM Downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat)
1313
[![jsDelivr Downloads](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded&n=1)](https://www.jsdelivr.com/package/npm/jquery.terminal)
1414
[![Paid Support](https://img.shields.io/badge/paid-support-354465.svg)](https://support.jcubic.pl/)
@@ -87,7 +87,7 @@ You can test current version at this URL:
8787

8888
or if it doesn't use latest version (because of jsDelivr cache) you can force it with this URL:
8989

90-
* [https://jcubic.github.io/jquery.terminal/?ver=2.43.1](https://jcubic.github.io/jquery.terminal/?ver=2.43.1)
90+
* [https://jcubic.github.io/jquery.terminal/?ver=DEV](https://jcubic.github.io/jquery.terminal/?ver=DEV)
9191

9292
And development version using:
9393

@@ -106,20 +106,20 @@ or use jsDelivr:
106106

107107
```
108108

109-
Then include js/jquery.terminal-2.43.1.min.js and css/jquery.terminal-2.43.1.min.css
109+
Then include js/jquery.terminal-DEV.min.js and css/jquery.terminal-DEV.min.css
110110

111111
You can grab the files from CDN:
112112

113113
```html
114-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.43.1/js/jquery.terminal.min.js"></script>
115-
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.43.1/css/jquery.terminal.min.css" rel="stylesheet"/>
114+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/DEV/js/jquery.terminal.min.js"></script>
115+
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/DEV/css/jquery.terminal.min.css" rel="stylesheet"/>
116116
```
117117

118118
or
119119

120120
```html
121-
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal@2.43.1/js/jquery.terminal.min.js"></script>
122-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery.terminal@2.43.1/css/jquery.terminal.min.css"/>
121+
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal@DEV/js/jquery.terminal.min.js"></script>
122+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery.terminal@DEV/css/jquery.terminal.min.css"/>
123123
```
124124

125125
If you always want latest version, you can get it from [unpkg](https://unpkg.com/) without specifying version,
@@ -401,7 +401,7 @@ You can request paid support, you can find details at [support.jcubic.pl](https:
401401

402402
### Star History
403403

404-
[![Star History Chart](https://api.star-history.com/svg?repos=jcubic/jquery.terminal&type=Date&branch=master)](https://star-history.com/#jcubic/jquery.terminal&Date)
404+
[![Star History Chart](https://api.star-history.com/svg?repos=jcubic/jquery.terminal&type=Date&branch=devel)](https://star-history.com/#jcubic/jquery.terminal&Date)
405405

406406
### License
407407

__tests__/__snapshots__/terminal.spec.js.snap

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -561,49 +561,49 @@ exports[`Terminal utils $.terminal.from_ansi should render Denis Richie ANSI art
561561
exports[`Terminal utils $.terminal.less should split image 1`] = `
562562
"xxx
563563
564-
[[@;;;;data:image/jpg,<BLOB>] ]
565-
[[@;;;;data:image/jpg,<BLOB>] ]
566-
[[@;;;;data:image/jpg,<BLOB>] ]
567-
[[@;;;;data:image/jpg,<BLOB>] ]
568-
[[@;;;;data:image/jpg,<BLOB>] ]
569-
[[@;;;;data:image/jpg,<BLOB>] ]
570-
[[@;;;;data:image/jpg,<BLOB>] ]
571-
[[@;;;;data:image/jpg,<BLOB>] ]
572-
[[@;;;;data:image/jpg,<BLOB>] ]
573-
[[@;;;;data:image/jpg,<BLOB>] ]
574-
[[@;;;;data:image/jpg,<BLOB>] ]
575-
[[@;;;;data:image/jpg,<BLOB>] ]
576-
[[@;;;;data:image/jpg,<BLOB>] ]
577-
[[@;;;;data:image/jpg,<BLOB>] ]
578-
[[@;;;;data:image/jpg,<BLOB>] ]
579-
[[@;;;;data:image/jpg,<BLOB>] ]
580-
[[@;;;;data:image/jpg,<BLOB>] ]
581-
[[@;;;;data:image/jpg,<BLOB>] ]
582-
[[@;;;;data:image/jpg,<BLOB>] ]
583-
[[@;;;;data:image/jpg,<BLOB>] ]
584-
[[@;;;;data:image/jpg,<BLOB>] ]
585-
[[@;;;;data:image/jpg,<BLOB>] ]
586-
[[@;;;;data:image/jpg,<BLOB>] ]
587-
[[@;;;;data:image/jpg,<BLOB>] ]
588-
[[@;;;;data:image/jpg,<BLOB>] ]
589-
[[@;;;;data:image/jpg,<BLOB>] ]
590-
[[@;;;;data:image/jpg,<BLOB>] ]
591-
[[@;;;;data:image/jpg,<BLOB>] ]
592-
[[@;;;;data:image/jpg,<BLOB>] ]
593-
[[@;;;;data:image/jpg,<BLOB>] ]
594-
[[@;;;;data:image/jpg,<BLOB>] ]
595-
[[@;;;;data:image/jpg,<BLOB>] ]
596-
[[@;;;;data:image/jpg,<BLOB>] ]
597-
[[@;;;;data:image/jpg,<BLOB>] ]
598-
[[@;;;;data:image/jpg,<BLOB>] ]
599-
[[@;;;;data:image/jpg,<BLOB>] ]
600-
[[@;;;;data:image/jpg,<BLOB>] ]
601-
[[@;;;;data:image/jpg,<BLOB>] ]
602-
[[@;;;;data:image/jpg,<BLOB>] ]
603-
[[@;;;;data:image/jpg,<BLOB>] ]
604-
[[@;;;;data:image/jpg,<BLOB>] ]
605-
[[@;;;;data:image/jpg,<BLOB>] ]
606-
[[@;;;;data:image/jpg,<BLOB>] ]
564+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
565+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
566+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
567+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
568+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
569+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
570+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
571+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
572+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
573+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
574+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
575+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
576+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
577+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
578+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
579+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
580+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
581+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
582+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
583+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
584+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
585+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
586+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
587+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
588+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
589+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
590+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
591+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
592+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
593+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
594+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
595+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
596+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
597+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
598+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
599+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
600+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
601+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
602+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
603+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
604+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
605+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
606+
[[@;;;terminal-less;data:image/jpg,<BLOB>] ]
607607
608608
xxx
609609
~

__tests__/terminal.spec.js

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,28 @@ window.Image = class Image {
223223
}
224224
}
225225
};
226-
window.HTMLCanvasElement.prototype.getContext = function () {
226+
227+
const context = {
228+
putImageData: function(data, x, y) {
229+
},
230+
getImageData: function(x, y, w, h) {
231+
return [1,1,1];
232+
},
233+
drawImage: function(image, x1, y1, iw, ih, out_x, out_y, out_w, out_h) {
234+
}
235+
};
236+
237+
global.OffscreenCanvas = function(width, height) {
227238
return {
228-
putImageData: function(data, x, y) {
229-
},
230-
getImageData: function(x, y, w, h) {
231-
return [1,1,1];
232-
},
233-
drawImage: function(image, x1, y1, iw, ih, out_x, out_y, out_w, out_h) {
234-
}
239+
height,
240+
width,
241+
getContext: () => context,
242+
convertToBlob: () => Promise.resolve('<BLOB>')
235243
};
236244
};
237-
window.HTMLCanvasElement.prototype.toBlob = function(fn) {
238-
fn('<BLOB>');
239-
};
245+
246+
window.HTMLCanvasElement.prototype.getContext = () => context;
247+
window.HTMLCanvasElement.prototype.toBlob = (fn) => fn('<BLOB>');
240248
global.URL = window.URL = {
241249
createObjectURL: function(blob) {
242250
return 'data:image/jpg,' + blob;
@@ -482,6 +490,10 @@ describe('Terminal utils', function() {
482490
Object.keys($.terminal.xml_formatter).forEach(key => {
483491
keys[key] = $.terminal.xml_formatter[key];
484492
});
493+
var formatters = $.terminal.defaults.formatters;
494+
if (!formatters.includes($.terminal.xml_formatter)) {
495+
$.terminal.new_formatter($.terminal.xml_formatter);
496+
}
485497
term = $('<div/>').terminal({}, {greetings: false});
486498
});
487499
afterEach(() => {
@@ -579,6 +591,13 @@ describe('Terminal utils', function() {
579591
term.echo(input);
580592
expect(term.find('.terminal-output').html()).toMatchSnapshot();
581593
});
594+
it('should escape xml tags', () => {
595+
expect($.terminal.escape_formatting('<white>hello</white>')).toEqual('&lt;white&gt;hello&lt;/white&gt;');
596+
});
597+
it('should not escape xml tags', () => {
598+
$.terminal.remove_formatter($.terminal.xml_formatter);
599+
expect($.terminal.escape_formatting('<white>hello</white>')).toEqual('<white>hello</white>');
600+
});
582601
});
583602
describe('$.terminal.from_ansi', function() {
584603
var ansi_string = '\x1b[38;5;12mHello\x1b[2;31;46mFoo\x1b[1;3;4;32;45mB[[sb;;]a]r\x1b[0m\x1b[7mBaz\x1b[0;48;2;255;255;0;38;2;0;100;0mQuux\x1b[m';
@@ -2209,6 +2228,7 @@ describe('Terminal utils', function() {
22092228
numRows: rows
22102229
});
22112230
term.css('width', 800);
2231+
term.find('.terminal-output').css('width', 800);
22122232
term.focus();
22132233
});
22142234
function key(ord, key) {
@@ -5525,7 +5545,9 @@ describe('Terminal plugin', function() {
55255545
}
55265546
};
55275547
spy(interpreter, 'foo');
5528-
term = $('<div/>').appendTo('body').terminal(interpreter);
5548+
term = $('<div/>').appendTo('body').terminal(interpreter, {
5549+
name: '__exec__'
5550+
});
55295551
term.focus();
55305552
});
55315553
afterEach(function() {
@@ -5748,6 +5770,16 @@ describe('Terminal plugin', function() {
57485770
}, 800);
57495771
});
57505772
});
5773+
it('should not save command in history', () => {
5774+
term.clear();
5775+
term.focus().exec('echo hello');
5776+
expect(term.history().data()).toEqual([]);
5777+
});
5778+
it('should save command in history', () => {
5779+
term.clear();
5780+
term.focus().exec('echo hello', { history: true });
5781+
expect(term.history().data()).toEqual(['echo hello']);
5782+
});
57515783
});
57525784
describe('autologin', function() {
57535785
var token = 'TOKEN';

css/emoji.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/jquery.terminal-src.css

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -845,8 +845,9 @@ terminal .terminal-output > div {
845845
}
846846
.terminal .terminal-output > :not(.raw) > div,
847847
.cmd div,
848+
.terminal,
848849
.terminal.external div {
849-
line-height: var(--terminal-line, 1em);
850+
line-height: round(var(--terminal-line, 1em));
850851
}
851852
.terminal [data-text], .cmd [data-text] {
852853
/* conditionals: https://www.kizu.ru/conditions-for-css-variables/ */
@@ -950,33 +951,34 @@ terminal .terminal-output > div {
950951
* overwrite css variables that don't work with selection in Edge
951952
*/
952953
@property --color {
953-
syntax: '<color>';
954-
inherits: true;
955-
initial-value: rgba(170, 170, 170, 0.99);
954+
syntax: '<color>';
955+
inherits: true;
956+
initial-value: rgba(170, 170, 170, 0.99);
956957
}
957958
@property --background {
958-
syntax: '<color>';
959-
inherits: true;
960-
initial-value: #000;
959+
syntax: '<color>';
960+
inherits: true;
961+
initial-value: #000;
961962
}
962963
@property --link-color {
963-
syntax: '<color>';
964-
inherits: true;
965-
initial-value: #3377FF;
964+
syntax: '<color>';
965+
inherits: true;
966+
initial-value: #3377FF;
966967
}
967968
@property --size {
968-
syntax: '<number>';
969-
inherits: true;
970-
initial-value: 1;
969+
syntax: '<number>';
970+
inherits: true;
971+
initial-value: 1;
971972
}
972973
@property --padding {
973-
syntax: '<number>';
974-
inherits: true;
975-
initial-value: 10;
974+
syntax: '<number>';
975+
inherits: true;
976+
initial-value: 10;
976977
}
977978
@property --rows {
978-
syntax: '<number>';
979-
inherits: true;
979+
syntax: '<number> | auto';
980+
inherits: true;
981+
initial-value: auto;
980982
}
981983
@supports (-ms-ime-align:auto) {
982984
.terminal h1::selection,

0 commit comments

Comments
 (0)