# CSS Line-Height Computed Value & Inheritance Analyzer

> CSS Line-Height Computed Value & Inheritance Analyzer is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Analyzes and explains why `line-height:1.5` and `line-height:150%` produce the same nominal height on a parent element but diverge after a child font-size change, verifying actual computed inheritance behavior without fabricating font metrics.

## Facts

- Endpoint: POST https://detect.halowerk.com/u/css-line-height-computed-type-inheritance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/css-line-height-computed-value-inheritance-analyzer-58c04a22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JQjWCFqxsbDrSc2AOMEcw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability css-line-height-computed-value-inheritance-analyzer-58c04a22 -d '<json body>'
```

Example prompt: Can you analyze this stylesheet at https://example.com/typography.css and explain why the line-height values diverge for child elements when font size changes — specifically the difference between unitless 1.5 and percentage 150% inheritance?

## When to prefer this

Choose this endpoint when you need to understand or verify CSS line-height inheritance behavior — particularly the difference between unitless multipliers and percentage values — before exporting a typography stylesheet or handing off design tokens to developers. It is specifically suited for catching computed-value divergence in parent-child font hierarchies rather than general CSS linting or validation.

## Known failure modes

- URL is unreachable or returns non-CSS content — analysis cannot proceed
- Stylesheet uses dynamic or generated CSS that cannot be statically resolved
- URL exceeds maximum length of 2048 characters
- No line-height rules found in the stylesheet at the given URL
- Network timeout when fetching the remote stylesheet

## How this service works

Zeigt vor einem typografischen Stylesheet-Export, warum etwa line-height:1.5 und150% beim Elternelement dieselbe nominale Höhe ergeben, nach einem Schriftgrößenwechsel beim Kind aber verschiedene Höhen vererben; verhindert dabei erfundene normal-Fontmetriken und Zeilenboxmaße.

## Output

Returns a structured explanation of how line-height values are computed and inherited through a parent-child element hierarchy, showing where unitless (1.5) and percentage (150%) values produce identical nominal heights on the parent but diverge for children with different font sizes, along with actual computed values — without inventing font metrics or line-box measurements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "maxLength": 2048
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/css-line-height-computed-value-inheritance-analyzer-58c04a22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
