Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 15 / css21 inline strut baseline vertical align linebox geometry

Compute a complete inline line box and every box baseline/top/bottom under explicit font and line-height metrics.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/css21-inline-strut-baseline-vertical-align-linebox-geometry

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "cssLinebox"
      ],
      "properties": {
        "cssLinebox": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "parent",
                "boxes"
              ],
              "properties": {
                "parent": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "ascent",
                    "descent",
                    "line_height",
                    "x_height",
                    "sub_shift",
                    "super_shift"
                  ],
                  "properties": {
                    "ascent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000
                    },
                    "descent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000
                    },
                    "line_height": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 2000
                    },
                    "x_height": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000
                    },
                    "sub_shift": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000
                    },
                    "super_shift": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000
                    }
                  }
                },
                "boxes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "ascent",
                          "descent",
                          "line_height",
                          "align",
                          "value"
                        ],
                        "properties": {
                          "kind": {
                            "const": "inline"
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "ascent": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "descent": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "line_height": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 2000
                          },
                          "align": {
                            "enum": [
                              "baseline",
                              "middle",
                              "text_top",
                              "text_bottom",
                              "sub",
                              "super",
                              "length",
                              "percentage"
                            ]
                          },
                          "value": {
                            "type": "number",
                            "minimum": -1000,
                            "maximum": 1000
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "height",
                          "baseline_from_bottom",
                          "margin_top",
                          "margin_bottom",
                          "line_height",
                          "align",
                          "value"
                        ],
                        "properties": {
                          "kind": {
                            "const": "replaced"
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "height": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 2000
                          },
                          "baseline_from_bottom": {
                            "type": "number",
                            "minimum": -1000,
                            "maximum": 2000
                          },
                          "margin_top": {
                            "type": "number",
                            "minimum": -1000,
                            "maximum": 1000
                          },
                          "margin_bottom": {
                            "type": "number",
                            "minimum": -1000,
                            "maximum": 1000
                          },
                          "line_height": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 2000
                          },
                          "align": {
                            "enum": [
                              "baseline",
                              "middle",
                              "text_top",
                              "text_bottom",
                              "sub",
                              "super",
                              "length",
                              "percentage"
                            ]
                          },
                          "value": {
                            "type": "number",
                            "minimum": -1000,
                            "maximum": 1000
                          }
                        }
                      }
                    ]
                  },
                  "maxItems": 48
                }
              }
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →