mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Libraries/Html/Tokenizer: Add CSS margin, border, padding to @html_dom_node
This commit is contained in:
@@ -88,21 +88,30 @@ class @html_dom_node : JsonElement
|
|||||||
U8 tagName[32];
|
U8 tagName[32];
|
||||||
JsonObject* attributes;
|
JsonObject* attributes;
|
||||||
JsonArray* children;
|
JsonArray* children;
|
||||||
|
|
||||||
U8* text;
|
U8* text;
|
||||||
|
|
||||||
|
I64 display;
|
||||||
I64 textAlign;
|
I64 textAlign;
|
||||||
|
|
||||||
F64 width;
|
F64 width;
|
||||||
F64 height;
|
F64 height;
|
||||||
I64 widthDistanceType;
|
I64 widthDistanceType;
|
||||||
I64 heightDistanceType;
|
I64 heightDistanceType;
|
||||||
U32 backgroundColor;
|
|
||||||
U32 underlineColor;
|
@css_area margin;
|
||||||
U32 linethroughColor;
|
@css_area border;
|
||||||
|
@css_area padding;
|
||||||
|
|
||||||
U32 color;
|
U32 color;
|
||||||
|
U32 backgroundColor;
|
||||||
|
U32 linethroughColor;
|
||||||
|
U32 underlineColor;
|
||||||
|
|
||||||
U8* fontFamily;
|
U8* fontFamily;
|
||||||
I64 fontSize;
|
I64 fontSize;
|
||||||
I64 fontWeight;
|
I64 fontWeight;
|
||||||
Bool italic;
|
Bool italic;
|
||||||
I64 display;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class @html_input_buffer
|
class @html_input_buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user