CSS support
Donkeh parses real stylesheets with a CSS engine rather than translating a subset at build time. This page tracks the 168 property names the resolver recognises, the selector features that participate in matching, and the fastest way to get a CSS bug fixed.
a68256d.
That is a deliberate placeholder until per-property history is backfilled:
it identifies the support snapshot, not the exact commit that first added
each property.
Selectors and at-rules
The engine supports type, class, id, universal and attribute selectors, plus descendant, child, adjacent-sibling and general-sibling combinators. Specificity, source order and cascade layers decide the winner.
| Feature | Status |
|---|---|
| Interaction and state pseudo-classes | :hover, :focus, :active, :focus-visible, :checked, :disabled, :enabled, :required, :read-only and structural selectors. |
| Logical pseudo-classes | :not(), :is(), :where() and :has() are recognised but flagged as unsupported by the matcher. The native host expands simple :is(a, b) selector lists before parsing, which keeps icon-font stylesheets working. |
| Pseudo-elements | ::before and ::after generate a box when their resolved content is a string. CSS hexadecimal string escapes such as \f0c9 are decoded. ::selection is matched and its background-color (or the colour part of background) styles the text highlight; color is stored on the computed style for hosts that paint selected glyphs themselves. Other pseudo-elements are ignored. |
| Conditional at-rules | @media, @supports and @container gate matching. @layer participates in the cascade. |
| Animations | @keyframes and @-webkit-keyframes are parsed; transitions and animations run through the style resolver. |
| Imports | The data engine only records @import. The native host fetches HTTP, file and data URLs, inlines them and resolves relative URLs against the declaring stylesheet. The browser host lets the browser load them. |
Registered properties
The table lists every property name currently mapped to a
CssProperty. A registered name can still have partial value
support, so include the exact value in a bug report.
Support is Supported when the resolver writes a
computed value that a running stage consumes, Partial support
when only part of the syntax changes output, and Not supported
when the name or value is parsed but nothing downstream reads it yet.
Used by names the stage that consumes the computed value:
LayoutLab for layout, text and paint instructions,
GLRenderer for GPU drawing, Windowing for input,
scrolling, native window behaviour and media, DataEngine for
cascade processing, and Inspector for animation inspection.
| Property | Support | Used by | Support revision | Report |
|---|---|---|---|---|
all | Supported | DataEngine (cascade), LayoutLab | a68256d | Report |
display | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
position | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
float | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
clear | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
box-sizing | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
visibility | Partial support collapse behaves like hidden and still occupies layout space. | LayoutLab (paint), GLRenderer | a68256d | Report |
opacity | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
z-index | Supported | LayoutLab (stacking), GLRenderer (paint order) | a68256d | Report |
width | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
height | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
min-width | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
min-height | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
max-width | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
max-height | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
aspect-ratio | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
top | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
right | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
bottom | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
left | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
inset | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
margin | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
margin-top | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
margin-right | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
margin-bottom | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
margin-left | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
padding | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
padding-top | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
padding-right | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
padding-bottom | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
padding-left | Supported | LayoutLab (box geometry), GLRenderer (paint) | a68256d | Report |
border | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-width | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-style | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-color | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-right | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-left | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top-width | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-right-width | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom-width | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-left-width | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top-style | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-right-style | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom-style | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-left-style | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top-color | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-right-color | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom-color | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-left-color | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-radius | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top-left-radius | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-top-right-radius | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom-right-radius | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
border-bottom-left-radius | Supported | LayoutLab (box model), GLRenderer (paint) | a68256d | Report |
background | Partial support first-layer shorthand; per-layer colours and sizes are not modelled. | LayoutLab (paint), GLRenderer | a68256d | Report |
background-color | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-image | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-size | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-position | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-repeat | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-clip | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-origin | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
background-attachment | Partial support the fixed flag is stored; fixed-background scrolling is limited. | LayoutLab (paint), GLRenderer | a68256d | Report |
color | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
caret-color | Supported auto, a colour, or transparent to hide the caret. | Windowing (caret overlay) | - | Report |
font | Partial support family, size, weight, style and line-height only. | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
font-family | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
font-size | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
font-weight | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
font-style | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
line-height | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
letter-spacing | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-align | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-indent | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
vertical-align | Partial support length values only; keyword alignment falls back to auto. | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-decoration | Partial support line flags only; style, colour and thickness are ignored. | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-decoration-line | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-transform | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
white-space | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
word-break | Partial support only break-all maps to overflow-wrap:anywhere. | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
overflow-wrap | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
text-overflow | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
direction | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
writing-mode | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
-webkit-line-clamp | Supported | LayoutLab (text), GLRenderer (glyphs) | a68256d | Report |
flex | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-direction | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-wrap | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-flow | Supported | LayoutLab (flex/grid) | a68256d | Report |
justify-content | Supported | LayoutLab (flex/grid) | a68256d | Report |
align-items | Supported | LayoutLab (flex/grid) | a68256d | Report |
align-content | Supported | LayoutLab (flex/grid) | a68256d | Report |
align-self | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-grow | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-shrink | Supported | LayoutLab (flex/grid) | a68256d | Report |
flex-basis | Supported | LayoutLab (flex/grid) | a68256d | Report |
gap | Supported | LayoutLab (flex/grid) | a68256d | Report |
row-gap | Supported | LayoutLab (flex/grid) | a68256d | Report |
column-gap | Supported | LayoutLab (flex/grid) | a68256d | Report |
order | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid | Partial support track templates and auto-flow; area syntax is limited. | LayoutLab (flex/grid) | a68256d | Report |
grid-template | Partial support track templates; area declarations are ignored. | LayoutLab (flex/grid) | a68256d | Report |
grid-template-columns | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-template-rows | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-template-areas | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-auto-columns | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-auto-rows | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-auto-flow | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-column | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-column-start | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-column-end | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-row | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-row-start | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-row-end | Supported | LayoutLab (flex/grid) | a68256d | Report |
grid-area | Supported | LayoutLab (flex/grid) | a68256d | Report |
justify-items | Supported | LayoutLab (flex/grid) | a68256d | Report |
justify-self | Supported | LayoutLab (flex/grid) | a68256d | Report |
place-items | Supported | LayoutLab (flex/grid) | a68256d | Report |
place-content | Partial support only the align-content half is applied. | LayoutLab (flex/grid) | a68256d | Report |
overflow | Supported | LayoutLab (scroll), Windowing (input) | a68256d | Report |
overflow-x | Supported | LayoutLab (scroll), Windowing (input) | a68256d | Report |
overflow-y | Supported | LayoutLab (scroll), Windowing (input) | a68256d | Report |
transform | Partial support 2D translate, scale, rotate, skew and matrix functions only. | LayoutLab (paint), GLRenderer | a68256d | Report |
transform-origin | Partial support horizontal and vertical origins only. | LayoutLab (paint), GLRenderer | a68256d | Report |
box-shadow | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
outline | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
outline-width | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
outline-style | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
outline-color | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
outline-offset | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
filter | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
backdrop-filter | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
object-fit | Supported | Windowing (img/video), GLRenderer | a68256d | Report |
object-position | Not supported images and video are centred. | — | a68256d | Report |
table-layout | Not supported tables always use automatic layout. | — | a68256d | Report |
border-collapse | Supported | LayoutLab (table) | a68256d | Report |
border-spacing | Supported | LayoutLab (table) | a68256d | Report |
column-count | Not supported no multi-column layout consumes it. | — | a68256d | Report |
scrollbar-color | Supported | LayoutLab (scrollbars), GLRenderer | a68256d | Report |
scrollbar-width | Supported | LayoutLab (scrollbars) | a68256d | Report |
scroll-behavior | Supported | Windowing (scrolling) | a68256d | Report |
content | Supported | LayoutLab (generated content), GLRenderer | a68256d | Report |
clip-path | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
mask | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
mix-blend-mode | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
isolation | Supported | LayoutLab (paint), GLRenderer | a68256d | Report |
pointer-events | Supported | Windowing (hit testing) | a68256d | Report |
cursor | Supported | Windowing (pointer) | a68256d | Report |
user-select | Not supported there is no text-selection model. | — | a68256d | Report |
app-region | Supported | Windowing (native drag) | a68256d | Report |
-webkit-app-region | Supported | Windowing (native drag) | a68256d | Report |
will-change | Not supported the performance hint is ignored. | — | a68256d | Report |
contain | Not supported containment hints are ignored. | — | a68256d | Report |
animation | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-name | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-duration | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-timing-function | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-delay | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-iteration-count | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-direction | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-fill-mode | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
animation-play-state | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
transition | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
transition-property | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
transition-duration | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
transition-timing-function | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
transition-delay | Supported | LayoutLab, Windowing (clock), Inspector | a68256d | Report |
Reporting a CSS bug
Use the CSS bug report form. It asks for the property and revision, host, pipeline stage, minimal UI tree, minimal CSS, expected and actual rendering, and reproduction steps. That context is usually enough to turn a visual complaint into a failing layout or paint test.
Reproduction skeleton
using Donkeh.Hosting;
using Donkeh.UILab;
using static Donkeh.UILab.HtmlHelper;
using static Donkeh.UILab._;
[AppRoot(Width = 800, Height = 600, Title = "CSS repro")]
public sealed class App : Component
{
public override Node Render() =>
Div(new() { ClassName = "box" },
Span(new() { ClassName = "label" }, Text("Hello")));
}
.box {
display: grid;
grid-template-columns: 1fr 1fr;
}
.label {
color: rebeccapurple;
}
Replace the smallest relevant rule and attach the actual result. If the problem needs a specific font, image, viewport or platform, say so in the environment and notes fields.
Issue template fields
| Field | What to include |
|---|---|
| Property or feature | The exact CSS name, selector, at-rule or function involved. |
| Support revision | The short revision from this page, for example a68256d. |
| Host and stage | Desktop, Android or browser, and whether the problem is parsing, matching, computed values, layout, paint or animation. |
| Minimal UI tree and CSS | The smallest component and stylesheet that still show the difference. |
| Expected and actual | Describe browser-equivalent behaviour and what Donkeh produced. Include measurements for layout bugs. |
| Screenshots or dumps | Frame capture, inspector style dump, or the layout tree. Drag images straight into the form. |