Primo commit del progetto: motore Rust con parser HTML, cascata CSS, layout, raster CPU, formulari, bidi, flex, tabelle, JavaScript (Boa) con eventi e costruzione di nodi, rete HTTP/HTTPS con TLS, sotto-risorse, invio dei formulari; guscio grafico per Sailfish (QML/Silica) e per desktop (minifb, distribuito come AppImage), con 11 documenti di specifica e 91 casi di reftest.
54 lines
756 B
JSON
54 lines
756 B
JSON
{
|
|
"name": "02-div-margine",
|
|
"doc": "il margine di 20 collassa con quello del body (8): vince 20, non 28.",
|
|
"html": "<div style=\"width:60px;height:40px;margin:20px;background:#00aa00\"></div>",
|
|
"css": "",
|
|
"viewport": [
|
|
200,
|
|
150
|
|
],
|
|
"probes": [
|
|
{
|
|
"x": 30,
|
|
"y": 30,
|
|
"rgb": [
|
|
0,
|
|
170,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"x": 20,
|
|
"y": 20,
|
|
"rgb": [
|
|
255,
|
|
255,
|
|
255
|
|
]
|
|
},
|
|
{
|
|
"x": 90,
|
|
"y": 30,
|
|
"rgb": [
|
|
255,
|
|
255,
|
|
255
|
|
]
|
|
}
|
|
],
|
|
"boxes": [
|
|
{
|
|
"path": "html>body>div:0",
|
|
"rect": [
|
|
28,
|
|
20,
|
|
60,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"absent": [],
|
|
"ink": [],
|
|
"lines": []
|
|
}
|