HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

What kind of formal semantics can describe HTML and CSS?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
cansemanticswhatcssformalkinddescribeandhtml

Problem

What kind of formal semantics can describe HTML and CSS? Are there endeavours to do this. HTML/CSS layouts are espcially complex, so formalization can be of help.

Solution

I think the paper "Automated Reasoning for Web Page Layout" might be interesting to you. This paper defines CSS semantics in order to verify the layout formally. Look at section 3 of the paper for details. This would be one of the ways to express the CSS semantics, although this is a bit different from other semantics for programming languages.

Context

StackExchange Computer Science Q#64722, answer score: 5

Revisions (0)

No revisions yet.