Below is a list of all the supported CSS properties and values.
<color> and auto; controls the glyph colour of checked <input type="checkbox"> and <input type="radio">)scroll, fixed, local)text)red 0% 25%)url() and all gradient types)fill)auto)stretch, repeat, round, space)solid, dashed, dotted, double, groove, ridge, inset, outset)slice and clone)auto keyword supported)auto, pixelated, crisp-edges, smooth; also -webkit-optimize-contrast and vendor crisp-edges prefixes)auto, isolate — creates a stacking context that scopes mix-blend-mode compositing of descendants)auto, cover, contain, lengths, percentages)repeat, no-repeat, repeat-x, repeat-y)border-box, padding-box, content-box)border-box, padding-box, content-box, no-clip)alpha, luminance, match-source)add, subtract, intersect, exclude)-webkit-mask-* prefixed properties supported as fallbacksolid, dashed, dotted, double, groove, ridge, inset, outset, auto)start, center, space-around, space-between)over, under, inter-character; the inter-character value is only implemented by WebKit)color, alpha included)auto/from-font scale with the font size: 16px → 1px)auto, none, all; underlines and overlines are cut straight across where glyphs cross them, line-through is never skipped)text-shadow is also applied to decoration linesnone, filled/open + dot/circle/double-circle/triangle/sesame, custom <string>)over/under + left/right)text-emphasis supportedbidi-override, isolate-override)color for the text fill layer; transparent/unset falls back to color)above, below, left, right directions-webkit-box-reflect must be set as an inline style (style="-webkit-box-reflect: ...") to be captured. Firefox strips unknown CSS properties from its CSSOM, so stylesheet-defined values cannot be read. Inline values are extracted from the raw style HTML attribute before Firefox discards them.::before, ::after — content, attr(), counter(), counters(), quotes, url images::first-letter — first character wrapped in a synthetic element; supports color, font-size, font-weight, font-style, font-family, text-transform, float, line-height::first-line — partial: color, font-style only (properties that do not affect text layout); layout-affecting properties like font-size, font-weight, letter-spacing cannot be supported because TextBounds are measured after the native pseudo is neutralised::placeholder — color, opacity, font-weight, font-style, background-color on <input> and <textarea> elements when the placeholder text is shown (empty value)::marker — color, font-family on <li> elements; overrides the default list marker color/fonthtml2canvas reads the browser's computed styles and draws with its Canvas 2D API, so it is limited by what the browser running it supports.
ctx.filter is accepted but has no effect. html2canvas detects it and switches to a fallback for filter, backdrop-filter and the blur of box-shadow / text-shadow:box-shadow, text-shadow, drop-shadow()) use canvas shadows, which give the same Gaussian;blur() of coloured content is computed in software;brightness(), contrast(), grayscale(), hue-rotate(), invert(), opacity(), saturate(), sepia()) are applied per pixel.box-decoration-break is only supported prefixed (-webkit-box-decoration-break); html2canvas reads both.-webkit-box-reflect is not supported natively (see the inline-style workaround above).text-decoration-inset is currently only implemented by Firefox; the inter-character value of ruby-position only by WebKit (over and under work everywhere).These CSS properties are NOT currently supported
::selection<img> — loaded via cache, supports object-fit and object-position, SVG images<canvas> — pixels captured from the original canvas (2D and WebGL)<svg> — serialised and rendered as an image<video> — current frame captured as a canvas snapshot<iframe> — content document parsed and rendered recursively<object> — rendered as image when data points to an image; fallback children rendered otherwise<input type="text|password|email|tel|url|search|number"> — text rendered with vertical centering; password masked with bullets<input type="checkbox"> — styled checkbox with checkmark when checked; glyph colour follows accent-color<input type="radio"> — styled radio with filled circle when checked; glyph colour follows accent-color<input type="range"> — track and thumb rendered based on min/max/value<textarea> — multi-line text with word-wrap, scroll offset, and letter-spacing<select> — closed dropdown: selected option text rendered; list box (multiple or size > 1): one option per line with selected rows highlighted<progress> — bar with grey track and blue fill<meter> — bar with green/yellow/red fill based on low/high/optimum thresholds<button>, <input type="submit|reset|button"> — rendered via generic CSS (no native chrome)<fieldset>, <legend> — top border gap around the legend, with the legend centered on the border line<ul>, <ol>, <menu> — list owners for marker numbering<li> — list markers rendered with list-style-type, list-style-position, list-style-image; supports ::marker color/font overrideThese elements have no special rendering logic — they are painted using their computed CSS styles (backgrounds, borders, text, layout):
<div>, <span>, <p>, <section>, <article>, <nav>, <aside>, <main>, <header>, <footer>, <h1>–<h6>, <figure>, <figcaption>, <blockquote>, <pre>, <code>, <address>, <a>, <em>, <strong>, <b>, <i>, <u>, <s>, <small>, <mark>, <del>, <ins>, <sub>, <sup>, <abbr>, <cite>, <kbd>, <samp>, <var>, <time>, <ruby>, <rt>, <rp>, <bdi>, <bdo>, <wbr>, <br>, <hr>
<table>, <thead>, <tbody>, <tfoot>, <tr>, <td>, <th>, <caption>
<q> — quotation marks rendered via ::before/::after with open-quote/close-quote; supports quotes CSS property and falls back to English-style typographic quotes (" ")<details> / <summary> — closed details hides all children except summary<slot> — assigned nodes are rendered instead of slot content (Shadow DOM)-) — replaced by a generic container with copied styles<style> — CSS rules extracted and preserved in the clone<script> — always ignored<audio> — no visual rendering (native controls not captured)<embed> — content not accessible<dialog> ::backdrop — dialog element renders via CSS but backdrop pseudo is not captured