Commit Graph
10 Commits
Author SHA1 Message Date
waozi e87bd75a45 Report recoverable and browser-only native CSS issues 2026-11-22 15:55:25 -03:00
waozi eba580e376 Compile native width and height for retained layouts 2026-11-20 12:19:41 -03:00
waozi 95fd8e09cb Compile native CSS transitions and keyframes 2026-11-20 01:52:45 -03:00
waozi ad4ec746bb Expand native CSS authoring and remove legacy KSS 2026-11-19 22:12:22 -03:00
waozi 240cf61ab6 Test the CSS subset on every backend
Behavior tests for the parser, sheets, formatter, migrator and DOM
export; a conformance digest that C, C++, Go, ZX, Android and the
browser export must agree on; and a sanitized fuzzer. The export keeps
Kryon's rule ranking, HSL rounds as browsers round it, and the
migrator refuses output that would not parse.
2026-11-07 13:53:00 -03:00
waozi bc247a75de Parse Kryon styles as a CSS subset
Work in progress: the CSS parser, sheet, compiled packs, formatter,
migrator and DOM export replace the KSS reader. Tests and downstream
conversion follow.
2026-11-07 13:15:02 -03:00
waozi 5dc6e6a76c Export portable KSS styles for native browser layout 2026-10-07 18:29:52 -03:00
waozi 5ac28fe5db State the KSS lexer's byte class laws
The byte classes the lexer reads, white space, digits, letters, hex
digits, and name and selector-name characters, were Bend laws over one
representative byte per class on Kryon's old runtime. They are now
Ziran laws proved for every byte, and `make test` checks them.
2026-09-29 22:12:40 -03:00
waozi 3a90196f28 Check that formatting keeps form feeds and vertical tabs inside quotes
The fuzz check now ignores vertical tab and form feed as the lexer
does, so it cannot see them vanish from quoted text. This test formats
a sheet with both inside a quoted value and requires the formatter to
copy them through.
2026-09-29 21:35:11 -03:00
waozi 95387b23f5 Parse, format, and install KSS style sheets as a package over Kryon
KSS moves here from Kryon, with the classic, lightfield, and material
style packs, the pack module generator, and the parser tests and
sanitized fuzzing. Kryon keeps the rule table and style resolution;
apps that read .kss text add this package and import kss/Kss or
kss/SystemStyle.
2026-09-29 20:56:55 -03:00