System/Libraries/Html/Tokenizer: Add CSS margin, border, padding to @html_dom_node
This commit is contained in:
parent
066b22de28
commit
a74a7bfa98
1 changed files with 13 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue