From 49cb267474d011c69d30d9a5f51fee9a99cf45f0 Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Sat, 26 Apr 2025 18:56:30 -0400 Subject: [PATCH] System/Libraries/Html/Tokenizer: Add width/height DistanceType to @html_dom_node --- System/Libraries/Html/Tokenizer.HC | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/System/Libraries/Html/Tokenizer.HC b/System/Libraries/Html/Tokenizer.HC index 4ece44b..f4295c4 100644 --- a/System/Libraries/Html/Tokenizer.HC +++ b/System/Libraries/Html/Tokenizer.HC @@ -90,8 +90,10 @@ class @html_dom_node : JsonElement JsonArray* children; U8* text; I64 textAlign; - I64 width; - I64 height; + F64 width; + F64 height; + I64 widthDistanceType; + I64 heightDistanceType; U32 backgroundColor; U32 underlineColor; U32 linethroughColor;