ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
StyleShorthand Struct Reference

A shorthand attribute, and the longhands it stands for. More...

Data Fields

const char * longhands [4]
 
const char * shorthand
 

Detailed Description

A shorthand attribute, and the longhands it stands for.

Attributes are stored as longhands only, because a View binds each of them to a separate Inlet over the same bytes: padding and padding-left write the same field, and the Inlet declared later wins regardless of which Selector the cascade preferred. Expanding on the way in means the cascade resolves each longhand on its own, as CSS does.

Definition at line 105 of file Style.c.

Field Documentation

◆ longhands

const char* StyleShorthand::longhands[4]

Definition at line 107 of file Style.c.

◆ shorthand

const char* StyleShorthand::shorthand

Definition at line 106 of file Style.c.


The documentation for this struct was generated from the following file: