Supported Declarations
This page documents declaration/property support in AngleSharp.Css based on the registration in DefaultDeclarationFactory and declaration classes in src/AngleSharp.Css/Declarations.
Coverage Model
- A declaration is considered supported if a declaration class exists and is registered in the default declaration factory.
- The parser can optionally keep unknown declarations (
CssParserOptions.IsIncludingUnknownDeclarations = true), but they are treated as generic unknown properties. - Support means parsing and round-tripping in the CSSOM; semantic browser behavior (layout/painting) is outside scope.
- Total implemented declaration names: 412.
By CSS Area / Spec
Backgrounds and Borders
- Primary specs: CSS Backgrounds and Borders Module.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (82):
backgroundbackground-attachmentbackground-blend-modebackground-clipbackground-colorbackground-imagebackground-originbackground-positionbackground-position-xbackground-position-ybackground-repeatbackground-repeat-xbackground-repeat-ybackground-sizeborderborder-blockborder-block-colorborder-block-endborder-block-end-colorborder-block-end-styleborder-block-end-widthborder-block-startborder-block-start-colorborder-block-start-styleborder-block-start-widthborder-block-styleborder-block-widthborder-bottomborder-bottom-colorborder-bottom-left-radiusborder-bottom-right-radiusborder-bottom-styleborder-bottom-widthborder-collapseborder-colorborder-end-end-radiusborder-end-start-radiusborder-imageborder-image-outsetborder-image-repeatborder-image-sliceborder-image-sourceborder-image-widthborder-inlineborder-inline-colorborder-inline-endborder-inline-end-colorborder-inline-end-styleborder-inline-end-widthborder-inline-startborder-inline-start-colorborder-inline-start-styleborder-inline-start-widthborder-inline-styleborder-inline-widthborder-leftborder-left-colorborder-left-styleborder-left-widthborder-radiusborder-rightborder-right-colorborder-right-styleborder-right-widthborder-spacingborder-start-end-radiusborder-start-start-radiusborder-styleborder-topborder-top-colorborder-top-left-radiusborder-top-right-radiusborder-top-styleborder-top-widthborder-widthbox-decoration-breakbox-shadowoutlineoutline-coloroutline-offsetoutline-styleoutline-width
Fonts and Text
- Primary specs: CSS Fonts, CSS Text, CSS Writing Modes.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (52):
directionfontfont-displayfont-familyfont-kerningfont-language-overridefont-optical-sizingfont-palettefont-sizefont-size-adjustfont-stretchfont-stylefont-synthesisfont-synthesis-small-capsfont-synthesis-stylefont-synthesis-weightfont-variantfont-variation-settingsfont-weighthanging-punctuationhyphenate-characterhyphenate-limit-charshyphensletter-spacingline-heightruby-alignruby-overhangruby-positiontab-sizetext-aligntext-align-lasttext-anchortext-decorationtext-decoration-colortext-decoration-linetext-decoration-skip-inktext-decoration-styletext-decoration-thicknesstext-indenttext-justifytext-shadowtext-transformtext-underline-offsettext-wraptext-wrap-modetext-wrap-styleunicode-bidivertical-alignwhite-spaceword-breakword-spacingword-wrap
Overflow, Scrolling, and Scroll Snap
- Primary specs: CSS Overflow, CSS Scroll Snap, CSSOM View.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (47):
overflowoverflow-anchoroverflow-clip-marginoverflow-wrapoverflow-xoverflow-yoverscroll-behavioroverscroll-behavior-blockoverscroll-behavior-inlineoverscroll-behavior-xoverscroll-behavior-yscroll-behaviorscroll-marginscroll-margin-blockscroll-margin-block-endscroll-margin-block-startscroll-margin-bottomscroll-margin-inlinescroll-margin-inline-endscroll-margin-inline-startscroll-margin-leftscroll-margin-rightscroll-margin-topscroll-paddingscroll-padding-blockscroll-padding-block-endscroll-padding-block-startscroll-padding-bottomscroll-padding-inlinescroll-padding-inline-endscroll-padding-inline-startscroll-padding-leftscroll-padding-rightscroll-padding-topscroll-snap-stopscroll-snap-typescrollbar-arrow-colorscrollbar-base-colorscrollbar-colorscrollbar-dark-shadow-colorscrollbar-face-colorscrollbar-gutterscrollbar-highlight-colorscrollbar-shadow-colorscrollbar-track-colorscrollbar-widthscrollbar3d-light-color
Box Model and Sizing
- Primary specs: CSS Box Model, CSS Sizing.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (36):
aspect-ratioblock-sizebox-sizingheightinline-sizemarginmargin-blockmargin-block-endmargin-block-startmargin-bottommargin-inlinemargin-inline-endmargin-inline-startmargin-leftmargin-rightmargin-topmax-block-sizemax-heightmax-inline-sizemax-widthmin-block-sizemin-heightmin-inline-sizemin-widthpaddingpadding-blockpadding-block-endpadding-block-startpadding-bottompadding-inlinepadding-inline-endpadding-inline-startpadding-leftpadding-rightpadding-topwidth
Animations, Transitions, and Transforms
- Primary specs: CSS Animations, CSS Transitions, CSS Transforms, View Transitions.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (29):
animationanimation-compositionanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-rangeanimation-range-endanimation-range-startanimation-timelineanimation-timing-functionbackface-visibilityperspectiveperspective-originrotatescaletransformtransform-origintransform-styletransitiontransition-delaytransition-durationtransition-propertytransition-timing-functiontranslateview-transition-class
Tables, Fragmentation, and Multi-column
- Primary specs: CSS2 Tables, CSS Fragmentation, CSS Multi-column Layout.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (20):
break-afterbreak-beforebreak-insidecaption-sidecolumn-countcolumn-fillcolumn-rulecolumn-rule-colorcolumn-rule-stylecolumn-rule-widthcolumn-spancolumn-widthcolumnsempty-cellsorphanspage-break-afterpage-break-beforepage-break-insidetable-layoutwidows
Compositing, Masking, and Effects
- Primary specs: Filter Effects, Compositing and Blending, CSS Masking.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (20):
backdrop-filterclipmask-bordermask-border-modemask-border-outsetmask-border-repeatmask-border-slicemask-border-sourcemask-border-widthmask-clipmask-compositemask-imagemask-modemask-originmask-positionmask-repeatmask-sizemask-typemix-blend-modeopacity
Visual Formatting and Positioning
- Primary specs: CSS2 Visual Formatting Model, CSS Positioned Layout.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (17):
bottomcleardisplayfloatinsetinset-blockinset-block-endinset-block-startinset-inlineinset-inline-endinset-inline-startleftpositionrighttopvisibilityz-index
Lists, Counters, and Generated Content
- Primary specs: CSS Lists and Counters, Generated Content for Paged Media.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (15):
bookmark-labelbookmark-levelbookmark-statecontentcounter-incrementcounter-resetcounter-setfootnote-displayfootnote-policylist-stylelist-style-imagelist-style-positionlist-style-typequotesrunning
Box Alignment
- Primary specs: CSS Box Alignment.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (12):
align-contentalign-itemsalign-selfcolumn-gapgapjustify-contentjustify-itemsjustify-selfplace-contentplace-itemsplace-selfrow-gap
Grid Layout
- Primary specs: CSS Grid Layout.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (17):
grid-areagrid-auto-columnsgrid-auto-flowgrid-auto-rowsgrid-columngrid-column-endgrid-column-gapgrid-column-startgrid-gapgrid-rowgrid-row-endgrid-row-gapgrid-row-startgrid-templategrid-template-areasgrid-template-columnsgrid-template-rows
Containment and Container Queries
- Primary specs: CSS Containment and Container Queries.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (10):
containcontain-intrinsic-block-sizecontain-intrinsic-heightcontain-intrinsic-inline-sizecontain-intrinsic-sizecontain-intrinsic-widthcontainercontainer-namecontainer-typecontent-visibility
SVG and Graphics Presentation
- Primary specs: SVG/CSS Presentation Attributes.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (10):
image-renderingshape-renderingstrokestroke-dasharraystroke-dashoffsetstroke-linecapstroke-linejoinstroke-miterlimitstroke-opacitystroke-width
Flexible Box Layout
- Primary specs: CSS Flexible Box Layout.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (8):
flexflex-basisflex-directionflex-flowflex-growflex-shrinkflex-wraporder
Anchor Positioning and Fallbacks
- Primary specs: CSS Anchor Positioning.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (7):
anchor-nameanchor-scopeposition-anchorposition-areaposition-try-fallbacksposition-try-orderposition-visibility
User Interface
- Primary specs: CSS Basic User Interface.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (6):
accent-colorappearancecaret-colorcursortouch-actionuser-select
Color and Color Adjustment
- Primary specs: CSS Color, CSS Color Adjustment.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (4):
colorcolor-schemeforced-color-adjustprint-color-adjust
Other / Legacy / Vendor
- Primary specs: Legacy / draft / vendor-oriented extensions.
- Potential limitations: Validation depth follows the registered converter; unsupported grammar branches are rejected or normalized by parser behavior.
- Implemented declarations (20):
fillgridimage-orientationinitial-letterinitial-letter-alignisolationline-breakobject-fitobject-positionpointer-eventsresizeshape-image-thresholdshape-marginshape-outsidesrcstring-setunicode-rangeview-transition-namewhite-space-collapsewill-change
Edit this page on GitHub
View as Markdown
Synced from
b358610