Experiments and tests of HTML, CSS, SVG, and JavaScript
Note
Anything reusable should be moved to html-common
Experiments might be:
- horribly broken
- really dumb
- incomplete
- quite old
- demo/polygon
- css/colour
- css/colour-calc
- css/perspective
- dom/transform
- dom/transform3d
- svg/text/baseline
I'm using jsconfig.json to turn on typechecking, currently with the following settings - keep these updated to the latest:
"compilerOptions": {
"checkJs": true,
"target": "es2024",
"module": "es2022"
}Important
Make sure compilerOptions in jsconfig are set to something modern or you can get really confusing and outdated errors
Details in the task folder.
Currently working on:
- A small testing library
- JSDoc typing & type safety in general
- CSS colour calculation experiments
- 2D and 3D transformations with the DOM and CSS
- Temporal API