Re: [fpc-pascal] New FCL-CSS package in the GitLab repo

2022-03-27 Thread Michael Van Canneyt via fpc-pascal
On Sun, 27 Mar 2022, Michael Van Canneyt via fpc-pascal wrote: On Sun, 27 Mar 2022, Alexey Torgashin via fpc-pascal wrote: "*zoom", really ? That's not even valid CSS syntax. I checked 2 EBNF grammars: neither will allow this. I checked the W3 spec: Confirms this is simply not valid synt

Re: [fpc-pascal] New FCL-CSS package in the GitLab repo

2022-03-27 Thread Michael Van Canneyt via fpc-pascal
On Sun, 27 Mar 2022, Alexey Torgashin via fpc-pascal wrote: "*zoom", really ? That's not even valid CSS syntax. I checked 2 EBNF grammars: neither will allow this. I checked the W3 spec: Confirms this is simply not valid syntax. But "*.nnn" is valid one. https://css-tricks.com/almanac/sele

Re: [fpc-pascal] New FCL-CSS package in the GitLab repo

2022-03-27 Thread Alexey Torgashin via fpc-pascal
"*zoom", really ? That's not even valid CSS syntax. I checked 2 EBNF grammars: neither will allow this. I checked the W3 spec: Confirms this is simply not valid syntax. But "*.nnn" is valid one. https://css-tricks.com/almanac/selectors/u/universal/ So if the "*" has meaning in one context, it

Re: [fpc-pascal] New FCL-CSS package in the GitLab repo

2022-03-27 Thread Michael Van Canneyt via fpc-pascal
On Sun, 27 Mar 2022, Alexey Torgashin via fpc-pascal wrote: @Michael Van Canneyt I didn't test but I hope this package can parse this _minified_ CSS file? Minified or not is normally not relevant for parsing. Attached on the forum https://forum.lazarus.freepascal.org/index.php/topic,5885

[fpc-pascal] New FCL-CSS package in the GitLab repo

2022-03-27 Thread Alexey Torgashin via fpc-pascal
@Michael Van Canneyt I didn't test but I hope this package can parse this _minified_ CSS file? Attached on the forum https://forum.lazarus.freepascal.org/index.php/topic,58853.msg438550.html#msg438550 It has many tricks. E.g. @media blocks (@media supports nested blocks, not only 1 level), e.