This website requires JavaScript.
Explore
Help
Sign in
dmaax
/
ladybird
Watch
1
Star
0
Fork
You've already forked ladybird
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
master
ladybird
/
Tests
/
LibWeb
/
CSSTokenizer
/
input
/
basic-rules.css
2 lines
21 B
CSS
Raw
Permalink
Normal View
History
Unescape
Escape
Tests: Add a CSS Tokenizer test suite Based on test-js-ast and test-js-bytecode, test-css-tokenizer finds CSS files in CSSTokenizer/input, tokenizes them, and then dumps the output, to compare against files in the expected/ directory. Our Tokenizer is in a good state currently, but this will let us track regressions, and also allow us to rewrite this in Rust and ensure that the output matches. To support test-css-tokenizer.py, we also have css-tokenizer.cpp which exposes the Tokenizer, which is usually only used internally. We'll want to expand this test suite over time, but this initial set of tests covers each type of Token.
2026-04-10 08:14:15 -03:00
body
{
color
:
red
;
}
Reference in a new issue
Copy permalink