- From: Adam Sobieski via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Oct 2023 10:13:41 +0000
- To: public-css-archive@w3.org
@romainmenke, thank you. My motivating use case involves a new markup language and corresponding object model that I am working on for interacting with multiple finite-state automata. It is inspired by [SCXML](https://www.w3.org/TR/scxml/) and will support both styling and scripting. To some HTML-related scenarios, one example of where it might be (or might once have been) convenient to have this expressiveness is the box model: ```css div { margin: { top: 10px; right: 10px; bottom: 10px; left: 10px; }; border: { top: 1px solid blue; right: 1px solid blue; bottom: 1px solid blue; left: 1px solid blue; }; padding: { top: 10px; right: 10px; bottom: 10px; left: 10px; }; } ``` Another example involves fonts: ```css span { font: { family: sans serif; size: 12pt; style: normal; weight: bold; }; } ``` Strings and objects are both useful and versatile. I will brainstorm on some more concrete examples. -- GitHub Notification of comment by AdamSobieski Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9502#issuecomment-1772456721 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 October 2023 10:13:43 UTC