API reference

style_apply_text_bg.cpp · CSS properties

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

src/css/style_apply_text_bg.cpp
-webkit-image-set()
Partial3.61.7C++ / C / Go / Rust

Like image-set(), it is collapsed only in the background selection path, with a fixed 1dppx target; resources are not reselected dynamically for DPR changes. Parsing happens before the entire background value is split into layers, and a source is selected only if the whole value starts with image-set. It does not recursively expand image-set within arbitrary layers; trailing shorthand and multilayer text are also limited.

style_apply_text_bg.cpp
image-set()的前缀别名

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:342

Report an issue with this entry →
conic-gradient()
Partial3.61.7C++ / C / Go / Rust

Angular color stops are not implemented: the shared parseGradientStopPosition explicitly rejects deg/rad/turn. Support for the from angle does not imply support for angle stops. The from angle supports deg/rad/grad/turn, with an at center and percentage/implicit stops. The backend uses a sweep shader; the mask backend has no conic branch. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
conic-gradient([from <angle>] || [at <position>] || [in <supported-space> …]?, <percentage-color-stop-list>)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:741

Report an issue with this entry →
currentColor
Partial3.61.7C++ / C / Go / Rust

Contextual resolution exists for color inheritance, backgrounds and several border/decoration paths. Calling Color::parse alone does not establish support. Substitution of currentColor inside nested functions depends on the specific property path.

style_apply_text_bg.cpp
currentColor

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1228

Report an issue with this entry →
filter()
Partial3.61.7C++ / C / Go / Rust

A KUI-specific CSS image function with dedicated parsing and painting in background/background-image, border-image-source and content. The available filters match the filter property. It is not an SVG URL filter reference or a standard general-purpose CSS image function.

style_apply_text_bg.cpp
filter(<url-or-gradient>, <filter-list>)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1925

Report an issue with this entry →
image-set()
Partial3.61.7C++ / C / Go / Rust

In background/background-image, candidates are parsed and collapsed into a single image. Selection uses a fixed 1dppx target and the nearest candidate; equal distances keep the first candidate. Supports x/dppx/dpi/dpcm. type only filters through a MIME allowlist and does not prove that a decoder is available. Nonpositive resolutions are discarded; calc resolutions are simplified to 1x. This is not general support in arbitrary image contexts. Parsing happens before the entire background value is split into layers, and a source is selected only if the whole value starts with image-set. It does not recursively expand image-set within arbitrary layers; trailing shorthand and multilayer text are also limited.

style_apply_text_bg.cpp
image-set([ <url> | <image> | <string> ] [<resolution> || type(<mime>)]? #)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:74

Report an issue with this entry →
linear-gradient()
Partial3.61.7C++ / C / Go / Rust

Supports deg/rad/grad/turn angles and corner directions; the default points downward. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
linear-gradient([<angle> | to <side-or-corner>] || [in <supported-space> …]?, <color-stop-list>)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1281

Report an issue with this entry →
radial-gradient()
Partial3.61.7C++ / C / Go / Rust

Supports circles/ellipses, four size keywords, explicit radii and center positions, including some affine calc coordinates. Defaults to ellipse/farthest-corner/center. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
radial-gradient([circle | ellipse] || [closest-side | closest-corner | farthest-side | farthest-corner | <size>] [at <position>]?, <color-stop-list>)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1388

Report an issue with this entry →
repeating-conic-gradient()
Partial3.61.7C++ / C / Go / Rust

Angular color stops are not implemented: the shared parseGradientStopPosition explicitly rejects deg/rad/turn. Support for the from angle does not imply support for angle stops. The backend converts the first and last positions into sweep start/end angles and repeats. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
conic-gradient对应参数,以首末百分比色标区间重复

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1784

Report an issue with this entry →
repeating-linear-gradient()
Partial3.61.7C++ / C / Go / Rust

Supports repetition periods that differ from the full box width, degenerate zero periods and negative stops. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
linear-gradient对应参数,按首末used stop间距重复

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1782

Report an issue with this entry →
repeating-radial-gradient()
Partial3.61.7C++ / C / Go / Rust

The radial shader radius is reduced to one period and repeated. Supports single-position and double-position color stops, affine length/percentage/calc stops and color hints. Stop correction is deferred until the actual gradient length is known. Explicit interpolation spaces are limited to srgb/srgb-linear/xyz/hsl/lch; the last two support shorter/longer/increasing/decreasing hue. Spaces such as lab/oklab/oklch/display-p3 are not included. Color hints use a bounded approximation with nine additional color stops. The background, border and list-image paths use these features; the mask path does not inherit this full capability set.

style_apply_text_bg.cpp
radial-gradient对应参数,按首末used stop间距重复

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1783

Report an issue with this entry →
url()
supported3.61.7C++ / C / Go / Rust

Image sources are parsed separately in background(-image), border-image-source, list-style-image, content, mask-image and other contexts, then loaded through the image cache. Actual formats, network loading and path resolution depend on the context and build. SVG images depend on KUI_SVG_BACKEND; url() alone does not imply support for SVG filter or clipping references.

style_apply_text_bg.cpp
url(<quoted-string> | <unquoted-url>)

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/style_apply_text_bg.cpp:1978

Report an issue with this entry →
Browse this reference type →