Can I use
.
Which CSS, SVG and JavaScript features work in an app that Silk UI draws itself, on the
window
and
web-canvas
targets. An app on the
web-dom
target is a browser page, and has whatever the browser has.
The list of features is caniuse's, from its public data (CC BY 4.0): each name links to its page there, and under it are the first versions of Chrome, Firefox and Safari that have it. The answer on the right is ours.
How an answer is checked
Answer
What it means
Works
A stylesheet that uses the feature changes what the UI tree lays out or draws, and a test holds it to that
Partly
Some of it works, and the note says what does not. The parts that are missing have a test too, which fails the day they start to work
Not yet
The tree ignores it
Not for apps
It is about web pages or printing, and an app has no use for it
Not checked
Nobody has tested it yet, so there is no answer
"Works" means the feature does something, not that every corner of its specification is done. The answers live in
docs/caniuse/support
in the Silk UI repository, each with the stylesheets that back it, and the tree's test suite runs them all.
CSS
142
work
25
partly
16
not yet
9
not for apps
0
not checked
CSS background-attachment
fixed
layers are placed on the viewport and stay put while scroll containers scroll, without painting again;
local
layers scroll with a scroll container's content. Inside a transformed box
fixed
still follows the viewport.
Chrome 4
Firefox 25
Safari 15.4
Works
Background-clip: text
background-clip: text
, also spelled
-webkit-background-clip: text
, fills the text with the background color and gradient layers, as Tailwind's
bg-clip-text text-transparent
expects.
-webkit-text-fill-color: transparent
works too.
Chrome 4
Firefox 49
Safari 15.5
Works
CSS3 Background-image options
Chrome 15
Firefox 4
Safari 7
Works
Works
CSS background-repeat round and space
Chrome 32
Firefox 49
Safari 7
Works
CSS3 Border images
border-image
and its longhands draw on every renderer:
url()
images,
image-set()
and gradients as the source, nine slices with
fill
, widths in numbers, lengths, percentages or
auto
,
outset
, and
stretch
,
repeat
,
round
and
space
. The image replaces the border style; the border widths still take their space.
Chrome 56
Firefox 50
Safari 9.1
Works
CSS3 Border-radius (rounded corners)
Chrome 4
Firefox 3
Safari 3.1
Works
calc() as CSS unit value
Chrome 19
Firefox 4
Safari 6
Works
ch (character) unit
Chrome 27
Firefox 2
Safari 7
Works
View Transitions (cross-document)
About animating a navigation from one web page to another. An app does not navigate between documents.
Chrome 126
Firefox –
Safari 18.2
Not for apps
CSS all property
Chrome 37
Firefox 27
Safari 9.1
Works
CSS Anchor Positioning
anchor-name
,
position-anchor
,
anchor()
in the insets (also in
calc(anchor(...) ± px)
),
position-area
,
anchor-size()
as
width
or
height
, and the
flip-block
and
flip-inline
fallbacks of
position-try-fallbacks
work. Missing:
@position-try
rules,
position-try-order
,
position-visibility
,
anchor-scope
,
anchor-center
, the
anchor()
fallback,
anchor-size()
inside
calc()
or in margins and min/max sizes, and the
position-try
shorthand. An element only uses its first anchor name.
Tree.anchor
in the Silk tree API is built on it: it gives a popup
position: fixed
, its anchor node as the implicit anchor,
position-area: bottom span-right
and
flip-block
.
Chrome –
Firefox –
Safari 27
Partly
CSS Animation
Keyframes and transitions change opacity, the colors, border radii and widths,
box-shadow
,
filter
,
backdrop-filter
, sizes, margins, padding, insets, gaps,
font-size
,
flex-grow
and
flex-shrink
,
visibility
,
display
, the transforms,
perspective
and the
offset-*
motion path. Other properties,
background-position
and
background-image
among them, keep their base value; the build warns about each
@keyframes
that sets one.
Chrome 4
Firefox 5
Safari 5.1
Partly
CSS :any-link selector
Chrome 15
Firefox 3
Safari 6.1
Works
CSS Appearance
appearance
is ignored. Silk UI draws its controls itself, so there is no platform look for
appearance: none
to remove.
Chrome 83
Firefox 80
Safari 15.4
Not yet
CSS Counter Styles
@counter-style
is ignored. Markers and
counter()
use the predefined styles: disc, circle, square, decimal, decimal-leading-zero, lower/upper-roman, lower/upper-alpha (and -latin), lower-greek and disclosure-open/closed.
Chrome –
Firefox –
Safari –
Not yet
CSS Backdrop Filter
Chrome 76
Firefox 103
Safari 9
Works
CSS background-position edge offsets
Chrome 25
Firefox 13
Safari 7
Works
CSS background-blend-mode
Chrome 47
Firefox 30
Safari 10.1
Works
CSS box-decoration-break
Chrome 130
Firefox 32
Safari –
Works
CSS3 Box-shadow
Chrome 4
Firefox 3.5
Safari 5
Works
CSS Canvas Drawings
Not supported.
-webkit-canvas()
was a WebKit-only extension that never became a standard.
Chrome –
Firefox –
Safari 4
Not yet
CSS caret-color
Chrome 57
Firefox 53
Safari 11.1
Works
CSS Cascade Layers
Chrome 99
Firefox 97
Safari 15.4
Works
Scoped Styles: the @scope rule
Scope roots,
to (...)
limits,
:scope
and
&
inside, and
@scope
nested in a style rule all work, and the root adds no specificity. When two scopes tie on specificity, the later rule wins: the nearer root is not preferred.
Chrome 118
Firefox 146
Safari 17.4
Works
Case-insensitive CSS attribute selectors
Chrome 49
Firefox 47
Safari 9
Works
CSS clip-path property (for HTML)
Chrome –
Firefox 54
Safari –
Works
CSS print-color-adjust
About printing. An app window always draws the colors it is given.
Chrome 19
Firefox 48
Safari 6
Not for apps
CSS color() function
Chrome 111
Firefox 113
Safari 15
Works
CSS Conical Gradients
Chrome 69
Firefox 83
Safari 12.1
Works
CSS Container Queries (Size)
Chrome 106
Firefox 110
Safari 16.0
Works
CSS Container Style Queries
@container style(--x: value)
and
style(--x)
match against the nearest container's custom properties, with
not
/
and
/
or
, and a container name picks a named ancestor. Missing: one query that mixes
style()
with size features, and style queries on standard properties (custom properties only).
Chrome –
Firefox 151
Safari –
Partly
CSS Container Query Units
Chrome 105
Firefox 110
Safari 16.0
Works
CSS Containment
Every value works:
size
,
inline-size
,
layout
,
paint
,
style
,
strict
and
content
. A layout- or paint-contained box is an independent formatting context, a stacking context, and the containing block of its absolutely and fixed positioned descendants; style containment keeps counter changes inside the box. A change inside a box with
contain: strict
(or layout containment and a fixed size) lays out that box again, not the page around it.
Chrome 52
Firefox 69
Safari 15.4
Works
CSS content-visibility
hidden
works: the box keeps its own size and paint, and its contents are skipped as with
display: none
.
auto
draws everything, as
visible
does, and skips no work off screen.
Chrome 85
Firefox 125
Safari 18.0
Partly
CSS Counters
counter-reset
,
counter-increment
,
counter-set
,
counter()
and
counters()
work, with the implicit
list-item
counter,
ol start
and
li value
.
reversed()
counts up like a plain reset.
Chrome 4
Firefox 2
Safari 3.1
Works
Crisp edges/pixelated images
pixelated
and
crisp-edges
scale images,
url()
backgrounds and mask images by the nearest pixel.
Chrome 41
Firefox 3.6
Safari 10
Works
CSS Cross-Fade Function
cross-fade()
and
-webkit-cross-fade()
add their images by weight (plus-lighter in an isolated layer) wherever an image goes: backgrounds, masks,
border-image
. A missing percentage shares what the others leave. A
<color>
in place of an image is not read.
Chrome 17
Firefox –
Safari 5.1
Works
:default CSS pseudo-class
:default
is accepted but never matches: nodes have no default checked or selected state to report.
Chrome 51
Firefox 4
Safari 10.1
Not yet
Explicit descendant combinator >>
Chrome –
Firefox –
Safari –
Works
CSS Device Adaptation
@viewport
resized a web page's viewport on phones. An app's window is its viewport.
Chrome –
Firefox –
Safari –
Not for apps
:dir() CSS pseudo-class
Chrome 120
Firefox 17
Safari 16.4
Works
CSS display: contents
Chrome –
Firefox –
Safari –
Works
CSS element() function
element()
is not supported.
Chrome –
Firefox 4
Safari –
Not yet
CSS Environment Variables env()
An unknown name takes its fallback. The safe-area, keyboard and title-bar insets are known and are 0px, since windows report none yet.
Chrome 69
Firefox 65
Safari 11.1
Partly
CSS Exclusions Level 1
An absolutely or fixed positioned box with
wrap-flow
(
both
,
start
,
end
,
minimum
,
maximum
,
clear
) pushes the text of its containing block aside, on both sides with
both
.
wrap-through: none
keeps a block's text out of it. Not yet: in-flow, flex and grid items as exclusions, text inside nested formatting contexts (a flow root, a flex or grid item) wrapping around them,
shape-outside
on an exclusion, and vertical writing modes.
Chrome –
Firefox –
Safari –
Partly
CSS Feature Queries
Chrome 28
Firefox 22
Safari 9
Works
CSS filter() function
filter(<image>, <filters>)
works wherever an image goes. A loaded bitmap is filtered once, in its own pixels, and the result is kept with it; gradients and SVG images draw through filter layers.
Chrome –
Firefox –
Safari 9
Works
CSS Filter Effects
filter
animates and transitions. Lists ease function by function when one is
none
or one starts with the other's functions; other pairs, lists with
url()
and lists of more than 6 functions switch halfway or keep their value.
Chrome 18
Firefox 35
Safari 6
Works
::first-letter CSS pseudo-element selector
::first-letter
splits the first letter, with the punctuation around it, of a block container's first line into its own inline box that takes any style.
Chrome 9
Firefox 3.5
Safari 5.1
Works
CSS first-line pseudo-element
::first-line
paints the first line in its
color
,
-webkit-text-fill-color
and text decorations. Properties that change layout, such as
font-size
or
letter-spacing
, are ignored there.
Chrome 4
Firefox 2
Safari 3.1
Partly
CSS position:fixed
Chrome 4
Firefox 2
Safari 3.1
Works
:focus-visible CSS pseudo-class
Chrome 86
Firefox 4
Safari 15.4
Works
:focus-within CSS pseudo-class
Chrome 60
Firefox 52
Safari 10.1
Works
CSS font-palette
font-palette: normal | light | dark | <name>
and
@font-palette-values
(
font-family
,
base-palette
,
override-colors
) recolor COLR fonts, version 0 and 1.
palette-mix()
is not supported and draws the normal palette.
@font-palette-values
inside
@media
or
@supports
is ignored.
Chrome 101
Firefox 107
Safari 15.4
Partly
CSS font-display
font-display
periods follow Chromium:
auto
and
block
hide text for up to 3 s while the face loads, then show the fallback and swap the face in whenever it loads;
swap
shows the fallback at once;
fallback
hides text for 100 ms and swaps only within 3 s;
optional
hides text for 100 ms and uses the face only if it is ready by then.
Chrome 60
Firefox 58
Safari 11.1
Works
CSS font-stretch
font-stretch
and
font-width
pick the nearest width among a family's faces and set the
wdth
axis of a variable font.
Chrome 48
Firefox 9
Safari 11
Works
Works
CSS Gradients
Linear and radial gradients with any number of stops, hard edges and repeating runs. Stops mix in the gradient's
in <space> [<hue> hue]
(Oklab, Oklch, Lab, LCH, HSL, HWB, linear sRGB, Display P3 and the other CSS Color 4 spaces), or by default in sRGB for legacy colors and Oklab when any stop is a modern color, and clip to sRGB as Chromium does. Interpolation hints (a bare percentage between stops) are ignored.
Chrome 10
Firefox 36
Safari 15.4
Works
CSS Grid Layout (level 1)
Chrome 57
Firefox 52
Safari 10.1
Works
CSS Grid Lanes
display: grid-lanes
,
inline-grid-lanes
and the older
grid-template-rows: masonry
(or
grid-template-columns: masonry
) work: lanes are columns or rows, items go to the shortest lane in order, spans, explicit lanes and intrinsic lane sizes work, checked against Chromium. Missing: the
flow-tolerance
property (ties are always within 1em),
dense
back-filling, subgrids inside lanes, and lanes split across pages or columns.
Chrome –
Firefox –
Safari 26.4
Partly
CSS hanging-punctuation
hanging-punctuation
is ignored; punctuation stays inside the line box.
Chrome –
Firefox –
Safari 17.4
Not yet
:has() CSS relational pseudo-class
Chrome 105
Firefox 121
Safari 15.4
Works
CSS Hyphenation
hyphens: manual
and
none
work.
auto
breaks only at soft hyphens (
&shy;
), like
manual
: there are no hyphenation dictionaries.
Chrome 88
Firefox 6
Safari 5.1
Partly
CSS if() function
if()
with
style()
,
media()
and
supports()
tests,
not
/
and
/
or
, and
else
, in sheets and inline styles. A test is evaluated on the element where the value is used, so a branch follows custom property and window changes.
Chrome 137
Firefox –
Safari –
Works
CSS3 image-orientation
Photos show upright: a JPEG's EXIF orientation is applied when it is decoded, as
from-image
does.
image-orientation: none
is ignored.
Chrome 81
Firefox 26
Safari 13.1
Partly
CSS image-set
image-set()
and
-webkit-image-set()
work wherever an image does, with
url()
, strings and gradients,
x
,
dppx
,
dpi
and
dpcm
resolutions and
type()
. One image is chosen when the style is read, not per display: the densest one up to 2x, else the least dense.
Chrome 113
Firefox 89
Safari 17.0
Partly
Works
:indeterminate CSS pseudo-class
Chrome 39
Firefox 51
Safari 10.1
Works
CSS Initial Letter
initial-letter
makes
::first-letter
a drop cap:
3
,
3 2
,
3 drop
and
3 raise
size its cap height to that many lines and sink its baseline to the given line, floated to the line start.
Chrome –
Firefox –
Safari –
Works
CSS initial value
Chrome 4
Firefox 3.5
Safari 3.2
Works
LCH and Lab color values
Chrome 111
Firefox 113
Safari 15
Works
letter-spacing CSS property
Chrome 30
Firefox 2
Safari 6.1
Works
CSS line-clamp
Chrome 14
Firefox 68
Safari 5
Works
CSS Logical Properties
Chrome 89
Firefox 66
Safari 15
Works
CSS ::marker pseudo-element
::marker
styles the marker box, and its
content
replaces or (
none
) removes the marker.
Chrome 86
Firefox 68
Safari –
Works
CSS Masks
mask-image
with
url()
images and linear, radial and conic gradients works, with
mask-size
,
mask-position
,
mask-repeat
,
mask-origin
,
mask-clip
,
mask-mode
,
mask-composite
and the
mask
shorthand.
mask-border
and its longhands (with
mask-border-mode: luminance
) cut a nine-slice mask over the border area that multiplies with the mask layers.
Chrome 120
Firefox 53
Safari 15.4
Works
:is() CSS pseudo-class
Chrome 88
Firefox 78
Safari 14
Works
CSS math functions min(), max() and clamp()
min()
,
max()
and
clamp()
compare lengths, percentages and sums of both in sizes, margins, padding, insets and gaps:
padding: clamp(1rem, 5%, 3rem)
,
margin-inline: max(1rem, (100% - 60rem) / 2)
,
width: clamp(200px, 50% + 2rem, 800px)
,
width: calc(min(100%, 600px) - 2rem)
. Two arguments that both need the percentage basis compare only when they share their length, as in
min(10%, 20%)
;
min(10%, 5% + 20px)
is dropped, as is a fourth distinct pair of bounds on one element.
sin()
,
cos()
,
tan()
,
asin()
,
acos()
,
atan()
,
atan2()
,
pow()
,
sqrt()
,
log()
and
exp()
work over constants, such as
calc(sin(30deg) * 100px)
.
round()
,
mod()
,
rem()
,
abs()
,
sign()
and
hypot()
also take
em
,
rem
, viewport units and mixed units, such as
round(up, 2.3em, 4px)
; with a percentage in them the declaration is dropped.
Chrome 79
Firefox 75
Safari 13.1
Partly
Works
Media Queries: Range Syntax
Chrome 104
Firefox 63
Safari 16.4
Works
Media Queries: resolution feature
Chrome 68
Firefox 62
Safari 16.0
Works
CSS3 Media Queries
Chrome 4
Firefox 3.5
Safari 4
Works
Blending of HTML/SVG elements
Chrome 41
Firefox 32
Safari –
Works
CSS Motion Path
offset-path
with
ray()
, basic shapes,
path()
and a
<coord-box>
,
offset-distance
,
offset-rotate
,
offset-anchor
,
offset-position
and the
offset
shorthand work, and animate.
url()
and
shape()
paths are not followed.
Chrome 46
Firefox 72
Safari 16.0
Partly
CSS namespaces
Nodes in an app have no XML namespace, so
@namespace
has nothing to select on. It is ignored.
Chrome 4
Firefox 2
Safari 4
Not for apps
CSS Nesting
Chrome 120
Firefox 117
Safari 17.2
Works
selector list argument of :not()
Chrome 88
Firefox 84
Safari 9
Works
CSS3 Opacity
Chrome 4
Firefox 2
Safari 3.1
Works
:optional CSS pseudo-class
Chrome 15
Firefox 4
Safari 5
Works
CSS overflow property
Chrome 90
Firefox 81
Safari 16.0
Works
CSS overflow-anchor (Scroll Anchoring)
A scrolled container keeps its anchor box still when content above it changes size, as in Chromium: block axis only, nothing anchors at offset zero,
overflow-anchor: none
opts a container or a subtree out, and a layout change to the anchor or its ancestors suppresses the adjustment. Missing: anchoring in vertical writing modes, and the focused element as the preferred anchor. Virtual lists keep their own first visible item instead.
Chrome 56
Firefox 66
Safari 27
Partly
CSS overflow: overlay
overlay
computes to
auto
, as in browsers.
Chrome –
Firefox –
Safari –
Works
CSS overscroll-behavior
Chrome 65
Firefox 59
Safari 16.0
Works
CSS page-break properties
page-break-*
breaks printed pages. An app is not paginated.
Chrome 108
Firefox –
Safari –
Not for apps
CSS Painting API
There are no paint worklets, so
paint()
draws nothing.
Chrome 65
Firefox –
Safari –
Not yet
::placeholder CSS pseudo-element
Chrome 57
Firefox 19
Safari 10.1
Works
:placeholder-shown CSS pseudo-class
Chrome 47
Firefox 51
Safari 9
Works
Works
Rebeccapurple color
Chrome 38
Firefox 33
Safari 7
Works
CSS Reflections
-webkit-box-reflect
is ignored.
Chrome 4
Firefox –
Safari 4
Not yet
CSS Regions
flow-into
and
flow-from
are not read. No browser ships CSS Regions any more.
Chrome –
Firefox –
Safari –
Not yet
CSS Relative color syntax
Works in
rgb()
,
hsl()
,
hwb()
,
lab()
,
lch()
,
oklab()
,
oklch()
and
color()
, with
calc()
over the channels. An origin known only when styles resolve,
currentcolor
or a system color, is kept as an expression and follows the element's color.
Chrome 131
Firefox 133
Safari 18.0
Works
CSS Repeating Gradients
Chrome 10
Firefox 3.6
Safari 5.1
Works
CSS resize property
resize
is ignored: a box has no handle to drag it bigger.
Chrome 4
Firefox 4
Safari 4
Not yet
CSS revert value
Chrome 84
Firefox 67
Safari 9.1
Works
#rrggbbaa hex color notation
Chrome 62
Firefox 49
Safari 10
Works
CSS Scroll-behavior
Chrome 61
Firefox 36
Safari 15.4
Works
CSS scrollbar styling
Chrome 121
Firefox 64
Safari 26.2
Works
CSS 2.1 selectors
Chrome 4
Firefox 2
Safari 3.1
Works
CSS3 selectors
Chrome 4
Firefox 3.5
Safari 3.2
Works
::selection CSS pseudo-element
Applies to selected document text and to the text of inputs.
Chrome 4
Firefox 2
Safari 3.1
Works
CSS Shapes Level 1
shape-outside
with
circle()
,
ellipse()
,
inset()
,
polygon()
, a box, a raster
url()
image or a gradient, plus
shape-margin
and
shape-image-threshold
, wrap lines around a float's shape. SVG images are not read, image shapes work in horizontal writing modes only, and a gradient on a float without a definite width and height is sampled over a square.
Chrome 37
Firefox 62
Safari 7.1
Partly
CSS Scroll Snap
Snap containers settle on the nearest
scroll-snap-align
area (with
scroll-margin
and
scroll-padding
) once a user scroll stops, script scrolls land on one, and mandatory containers stay on one through layout. A fling is aimed at the snap position where it would come to rest, and a scroll never passes an area with
scroll-snap-stop: always
. Hosts send no gesture phases, so a fling is recognised from a slowing stream of wheel events.
Chrome 69
Firefox 68
Safari 11
Works
CSS position:sticky
Chrome 91
Firefox 59
Safari 7.1
Works
CSS Subgrid
Chrome 117
Firefox 71
Safari 16.0
Works
CSS Table display
Rows, row and column groups, captions,
border-spacing
,
table-layout: fixed
,
vertical-align
in cells and
colspan
,
rowspan
and
span
attributes all work. Percentage widths on cells and columns,
empty-cells
and
visibility: collapse
on rows and columns follow Chromium.
border-collapse: collapse
resolves conflicts between borders (
hidden
wins, then the widest, then solid before dashed, then the cell before its row, group, column and table). Tables split across pages and multi-column columns as CSS Tables 3 says: short rows move whole, while rows taller than half the page, rows a
rowspan
joins and rows that cannot fit split, their cells continuing on the next page. Header and footer groups repeat on each page when they are at most a quarter of it tall, with the table's top border above the repeated header, as in Chromium. Chromium also splits short rows that cross the break. Each box draws one border style and color on all its sides.
Chrome 4
Firefox 3
Safari 3.1
Partly
CSS3 text-align-last
Chrome 47
Firefox 12
Safari 16.0
Works
CSS Text Box
text-box
,
text-box-trim
and
text-box-edge
trim a block's first and last lines to the
cap
,
ex
,
text
or
alphabetic
edge of its own font, as for buttons and headings that hold their text. The trim does not yet reach into a first or last child block, works in horizontal writing modes only, and measures the block's font, so a taller inline box on the trimmed line overflows the edge instead of moving it.
Chrome 133
Firefox 154
Safari 18.2
Partly
CSS text-indent
Chrome 146
Firefox 121
Safari 16.0
Works
CSS text-justify
Chrome 145
Firefox 55
Safari –
Works
CSS text-orientation
Chrome 48
Firefox 41
Safari 10.1
Works
CSS text-wrap: balance
text-wrap: balance
evens out the lines of plain text, up to six lines, and aligns them in the full width. Text beside floats or broken across columns or pages, and
text-wrap: pretty
, wrap like
wrap
.
Chrome 130
Firefox 121
Safari 17.5
Partly
CSS3 Text-shadow
Chrome 4
Firefox 3.5
Safari 4
Works
CSS touch-action property
Decides which finger gestures the tree takes for itself:
auto
,
none
,
pan-x
,
pan-y
,
pan-left
,
pan-right
,
pan-up
,
pan-down
,
pinch-zoom
and
manipulation
, intersected up to the nearest scroll container. A pan cancels the pointers, scrolls under the finger and flicks on release. Pinching does not change page zoom, so
pinch-zoom
only lets the tree take a two-finger gesture, which pans.
Chrome 36
Firefox 52
Safari –
Partly
CSS3 Transitions
Chrome 4
Firefox 5
Safari 5.1
Works
CSS unset value
Chrome 41
Firefox 27
Safari 9.1
Works
CSS Variables (Custom Properties)
Chrome 49
Firefox 31
Safari 10
Works
CSS @when / @else conditional rules
@when
and
@else
are not supported (no browser has them either): the rules inside are dropped. Use
@media
and
@supports
.
Chrome –
Firefox –
Safari –
Not yet
CSS widows & orphans
About pages and printing. They are honored when a host lays out pages (
frameFragmented
); an app's continuous layout never breaks a paragraph across pages.
Chrome 25
Firefox –
Safari 7
Not for apps
CSS writing-mode property
Chrome 8
Firefox 41
Safari 5.1
Works
CSS zoom
Lengths in the subtree multiply by the effective zoom and lay out again, as in the standardized
zoom
: text is shaped at the zoomed size, images take zoomed natural sizes, and container queries compare CSS pixels.
zoom: inherit
reads as 1. Windows also have page zoom (Ctrl or Cmd with + and -).
Chrome 4
Firefox 126
Safari 4
Works
CSS3 attr() function for all properties
attr()
works only in
content
(see generated content). In other properties, with or without
type()
, the declaration is dropped.
Chrome 133
Firefox 155
Safari TP
Not yet
CSS3 Box-sizing
Chrome 4
Firefox 2
Safari 3.1
Works
CSS3 Colors
Chrome 4
Firefox 3
Safari 3.1
Works
CSS3 Cursors (original values)
Every keyword has its own cursor; where a system has none (zoom on Windows and X11,
cell
and
no-drop
on macOS and Windows) a bundled image shows.
url()
images (PNG, JPEG or SVG) show with their hot spot, the next one in the list when one fails, and the keyword while they load. A
.cur
file's own hot spot is not read.
Chrome 5
Firefox 4
Safari 5
Works
CSS grab & grabbing cursors
Chrome 4
Firefox 2
Safari 3.1
Works
CSS3 Cursors: zoom-in & zoom-out
Chrome 4
Firefox 2
Safari 3.1
Works
CSS3 tab-size
Chrome 42
Firefox 53
Safari 13.1
Works
CSS currentColor value
Chrome 4
Firefox 2
Safari 4
Works
Window.devicePixelRatio
window.devicePixelRatio
is the window's real scale factor, and it changes when the window moves to another display. The
resolution
media query follows it in stylesheets and
matchMedia
, and so do
-webkit-device-pixel-ratio
and its
-webkit-min-
and
-webkit-max-
forms.
Chrome 4
Firefox 18
Safari –
Works
ui-serif, ui-sans-serif, ui-monospace and ui-rounded values for font-family
ui-sans-serif
,
ui-serif
,
ui-monospace
and
ui-rounded
use the families the host sets for them (on macOS the system loader sets San Francisco, New York, SF Mono and SF Pro Rounded), then stand in for
system-ui
,
serif
,
monospace
and
system-ui
.
Chrome –
Firefox –
Safari 13.1
Works
CSS Flexible Box Layout Module
Chrome 21
Firefox 28
Safari 6.1
Works
gap property for Flexbox
Chrome 84
Firefox 63
Safari 14.1
Works
display: flow-root
Chrome 58
Firefox 53
Safari 13
Works
system-ui value for font-family
system-ui
picks the platform's interface font from the installed fonts: San Francisco on macOS, Segoe UI on Windows, then Noto Sans or DejaVu Sans.
Chrome 56
Firefox 92
Safari 11
Works
CSS font-feature-settings
Chrome 21
Firefox 15
Safari 9.1
Works
CSS3 font-kerning
Chrome 29
Firefox 34
Safari 7
Works
CSS Font Loading
There is no
FontFace
constructor or
document.fonts
in a JS app. Declare faces with
@font-face
; they load when text needs them.
Chrome 35
Firefox 41
Safari 10
Not yet
CSS font-size-adjust
Each face is scaled so its
ex-height
(the default),
cap-height
,
ch-width
,
ic-width
or
ic-height
is the given fraction of
font-size
, so fallback faces match the first font.
from-font
takes the first available font's own aspect.
Chrome 127
Firefox 118
Safari 17.0
Works
CSS font-smooth
-webkit-font-smoothing: none
and
font-smooth: never
draw aliased glyphs.
antialiased
,
grayscale
and
subpixel-antialiased
all draw the grayscale antialiasing text always gets, as Chrome on macOS does.
Chrome –
Firefox –
Safari –
Works
Font unicode-range subsetting
A face is requested only when text uses a character in its
unicode-range
; until then the next family draws it.
Chrome 36
Firefox 44
Safari 10
Works
CSS font-variant-alternates
historical-forms
,
stylistic()
,
styleset()
,
character-variant()
,
swash()
,
ornaments()
and
annotation()
turn on their OpenType features, with names from
@font-feature-values
. A name resolves in the first family of
font-family
that defines it.
@font-feature-values
inside
@media
or
@supports
is ignored.
Chrome 111
Firefox 34
Safari 9.1
Works
CSS font-variant-numeric
Chrome 52
Firefox 34
Safari 9.1
Works
@font-face Web fonts
src
takes
url()
(loaded by the host) and
local()
(an installed font);
unicode-range
, media conditions and cascade layers apply.
Chrome 4
Firefox 3.5
Safari 3.1
Works
Fullscreen API
There is no
requestFullscreen()
and no
:fullscreen
selector.
Chrome 71
Firefox 64
Safari 16.4
Not yet
getComputedStyle
JavaScript apps in a window have
getComputedStyle
, read one property at a time from the tree: animated properties as they are now, sizes, margins, padding and border widths as laid out, the rest as cascaded with lengths in pixels. Shorthands, custom properties and pseudo-elements read an empty string, and so does everything in a browser (web canvas) build. Silk code reads a node's computed style from the tree.
Chrome 11
Firefox 4
Safari 5
Partly
CSS inline-block
Chrome 4
Firefox 3
Safari 3.1
Works
Intrinsic & Extrinsic Sizing
Chrome 22
Firefox –
Safari 16.0
Works
CSS justify-content: space-evenly
Chrome 60
Firefox 52
Safari 11
Works
High-quality kerning pairs & ligatures
Kerning and ligatures are always on (turn them off with
font-kerning
or
font-feature-settings
);
text-rendering
is accepted and changes nothing.
Chrome 4
Firefox 3
Safari 5
Works
CSS min/max-width/height
Chrome 4
Firefox 2
Safari 3.1
Works
CSS3 Multiple backgrounds
Chrome 4
Firefox 3.6
Safari 3.1
Works
CSS3 Multiple column layout
columns
,
column-count
,
column-width
,
column-gap
,
column-rule
,
column-fill
and
column-span: all
work, with balanced columns and
break-before
/
break-after: column
, in vertical writing modes too. A spanner deeper in the flow splits the blocks around it. A multicol container inside another one, or inside printed pages, splits into its own columns but stays whole in one outer column or page instead of continuing into the next.
Chrome –
Firefox –
Safari 10
Partly
CSS3 object-fit/object-position
Chrome 32
Firefox 36
Safari 10
Works
CSS outline properties
Chrome 4
Firefox 2
Safari 3.1
Works
Pointer events
Every pointer event,
pointerover
and
pointerout
included, with
pointerId
,
pointerType
(
mouse
or
touch
, each finger its own pointer),
isPrimary
,
buttons
,
setPointerCapture()
,
releasePointerCapture()
,
hasPointerCapture()
, the capture events and
getCoalescedEvents()
, followed by the compatibility mouse events (
mousedown
,
mousemove
,
mouseup
,
mouseover
,
mouseout
,
mouseenter
,
mouseleave
) in Chrome's order. Pressure, tilt and contact size are the spec defaults (0.5 while pressed, 1 by 1 pixel) because no host reports them yet, pens arrive as a mouse, and
getPredictedEvents()
is empty. Capturing a second finger to another node does not move its events.
Chrome 55
Firefox 59
Safari 13
Partly
CSS pointer-events (for HTML)
Chrome 4
Firefox 3.6
Safari 4
Works
prefers-color-scheme media query
Chrome 76
Firefox 67
Safari 12.1
Works
prefers-reduced-motion media query
Chrome 74
Firefox 63
Safari 10.1
Works
rem (root em) units
Chrome 4
Firefox 3.6
Safari 5
Works
display: run-in
display: run-in
is ignored. No browser ships it.
Chrome –
Firefox –
Safari –
Not yet
Scoped attribute
An app has no
<style>
elements: sheets are adopted on a root and apply to it alone.
@scope
is the CSS way to scope rules inside one root.
Chrome –
Firefox –
Safari –
Not for apps
SVG in CSS backgrounds
background-image
and
mask-image
take SVG files and
data:
URLs, loaded by the host like any image. An SVG drawn this way does not inherit a color:
currentColor
is black.
Chrome 5
Firefox 24
Safari 5
Works
text-decoration styling
Chrome –
Firefox –
Safari –
Works
text-emphasis styling
text-emphasis
,
-style
,
-color
and
-position
draw a mark over or under each character, skipping spaces and punctuation, and the marks take room in the line when its half-leading cannot hold them. Keyword marks are drawn as shapes; a string mark draws its first character from the text's own font.
Chrome 99
Firefox 46
Safari 7.1
Works
CSS3 Text-overflow
Chrome 4
Firefox 7
Safari 3.1
Works
CSS text-size-adjust
About mobile browsers enlarging the text of pages made for desktops. An app's text is drawn at the size it asks for.
Chrome 54
Firefox –
Safari –
Not for apps
CSS text-stroke and text-fill
-webkit-text-fill-color
fills the glyphs, while decorations, borders and
currentcolor
keep following
color
.
-webkit-text-stroke
is ignored: glyphs get no outline.
Chrome 4
Firefox 49
Safari 3.1
Partly
CSS3 2D Transforms
Chrome 4
Firefox 3.5
Safari 3.1
Works
CSS3 3D Transforms
3D transform functions,
perspective
,
perspective-origin
,
backface-visibility
and
transform-style: preserve-3d
: boxes in one 3D rendering context are sorted by depth and split where they cross, as in Chromium.
Chrome 12
Firefox 10
Safari 4
Works
Works
CSS user-select: none
none
,
text
,
all
,
contain
and
-webkit-user-select
, used values as in Chromium. Text is selectable by default: a press, drag, double click (word) or triple click (paragraph) selects it, Shift extends, and Ctrl+C or Cmd+C copies plain text the way Chromium does. Selections follow tree order for now, as Chromium does; reordered layouts (flex
order
, grid placement) come next.
Chrome 4
Firefox 2
Safari 3.1
Works
Variable fonts
Chrome 66
Firefox 62
Safari 11
Works
View Transitions API (single-document)
No
document.startViewTransition()
and no
::view-transition
pseudo-elements. CSS transitions and animations work.
Chrome 111
Firefox 144
Safari 18.0
Not yet
Small, Large, and Dynamic viewport units
Chrome 108
Firefox 101
Safari 15.4
Works
Viewport units: vw, vh, vmin, vmax
Chrome 26
Firefox 19
Safari 6.1
Works
CSS -webkit-user-drag property
Nothing in an app is dragged out the way a browser drags links and images, so there is nothing for it to turn off. The property is ignored.
Chrome –
Firefox –
Safari 3.1
Not for apps
CSS will-change property
Only a hint, so nothing else changes, but as in browsers it makes the box a stacking context when it names a property that would make one (
transform
,
opacity
,
filter
, ...).
Chrome 36
Firefox 36
Safari 9.1
Partly
CSS3 word-break
Chrome 44
Firefox 15
Safari 9
Works
CSS3 Overflow-wrap
Chrome 23
Firefox 49
Safari 6.1
Works
SVG
5
work
1
partly
3
not yet
1
not for apps
0
not checked
SVG favicons
About the icon a browser shows for a web page. An app sets its window and tray icons itself.
Chrome 80
Firefox 41
Safari 26.0
Not for apps
SVG (basic support)
Inline
<svg>
and SVG images draw with lib-svg: shapes, paths, text, gradients, patterns, clipping, masks and markers.
Chrome 4
Firefox 3
Safari 3.2
Works
SVG filters
In icons: lib-svg draws
<filter>
elements with every primitive.
Chrome 8
Firefox 3
Safari 6
Works
SVG fonts
App text cannot use SVG fonts:
@font-face
does not load them. Inside an icon's markup, lib-svg draws the document's own
<font>
elements.
Chrome –
Firefox –
Safari 3.2
Not yet
SVG fragment identifiers
An icon draws its whole document; a
#id
or
#svgView(...)
fragment in its URL does not pick out a part.
Chrome 50
Firefox 15
Safari 11.1
Not yet
SVG effects for HTML
Nodes cannot use SVG effects by reference:
filter: url(#id)
is skipped,
clip-path: url(#id)
clips to the border box, and there is no
foreignObject
for nodes. CSS filter functions, shapes and gradient masks work.
Chrome –
Firefox 3.5
Safari –
Not yet
Inline SVG in HTML5
Inline
<svg>
markup works in React, Foldkit and plain JavaScript (
createSvgElement
, or
document.createElementNS
after importing
@silkui/core/globals
); markup held as a string goes in as a
data:image/svg+xml
image. An
<svg>
drawn once and then changed updates element by element, redrawing only the shapes that changed, so script animations such as stock lottie-web play. Listeners on its elements hear pointer events on their shapes, and
getBBox()
,
getTotalLength()
and
getPointAtLength()
work. The whole
<svg>
is one node: its elements take attributes and
style
, not app stylesheets, and
foreignObject
is not drawn.
Chrome 7
Firefox 4
Safari 5.1
Partly
SVG in HTML img element
An image node draws an
.svg
file or a
data:image/svg+xml
URL (base64 or percent-encoded), as
<img>
does, at the file's own
width
and
height
when CSS gives no size. Unlike
<img>
, its
currentColor
is the node's
color
.
Chrome 28
Firefox 4
Safari 9
Works
SVG SMIL animation
SMIL and CSS animations inside an icon play, rendered per frame. Good for small icons such as spinners; each frame is a separate texture.
Chrome 5
Firefox 4
Safari 6
Works
SVG vector-effect: non-scaling-stroke
In icons: lib-svg honors
vector-effect: non-scaling-stroke
.
Chrome 15
Firefox 15
Safari 5.1
Works
JavaScript
The language itself, as the SilkJS Engine runs it.
30
work
6
partly
3
not yet
1
not for apps
0
not checked
Array.prototype.find
Chrome 45
Firefox 25
Safari 7.1
Works
Array.prototype.findIndex
Chrome 45
Firefox 25
Safari 7.1
Works
flat & flatMap array methods
Chrome 69
Firefox 62
Safari 12
Works
Array.prototype.includes
Chrome 47
Firefox 43
Safari 9
Works
Arrow functions
Chrome 45
Firefox 22
Safari 10
Works
asm.js
asm.js code runs and gives the right results, as ordinary JavaScript: nothing compiles it ahead of time, and there is no WebAssembly in the default runtime to target instead.
Chrome –
Firefox 22
Safari –
Partly
Async functions
Chrome 55
Firefox 52
Safari 11
Works
BigInt
Chrome 67
Firefox 68
Safari 14
Works
const
Chrome 49
Firefox 36
Safari 11
Works
Date.prototype.toLocaleDateString
The default runtime has no
Intl
, so the method ignores its locales and options and always gives
MM/DD/YYYY
. With
App.runtime(Runtime.node())
locales and options work.
Chrome 70
Firefox 56
Safari 12
Partly
Decorators
The engine does not parse
@decorator
syntax. Decorators that TypeScript or Babel compile away work, since what runs is plain JavaScript.
Chrome –
Firefox –
Safari –
Not yet
ECMAScript 5
Chrome 23
Firefox 21
Safari 6
Works
ECMAScript 2015 (ES6)
Chrome 51
Firefox 54
Safari 10
Works
ES6 classes
Chrome 49
Firefox 45
Safari 9
Works
ES6 Generators
Chrome 39
Firefox 26
Safari 10
Works
JavaScript modules via script tag
An app is an ES module, bundled by Vite; there is no
<script type="module">
.
Chrome 61
Firefox 60
Safari 11
Works
JavaScript modules: dynamic import()
import()
loads the modules the host knows: those in the bundle, or by path with
App.runtime(Runtime.node())
.
Chrome 63
Firefox 67
Safari 11.1
Works
ES6 Number
Chrome 34
Firefox 32
Safari 9
Works
String.prototype.includes
Chrome 41
Firefox 40
Safari 9
Works
Import maps
Import maps are an HTML
<script>
feature. A Silk UI app is bundled by Vite, which resolves every import at build time.
Chrome 89
Firefox 108
Safari 16.4
Not for apps
Internationalization API
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
Intl
, so
toLocaleString
and friends give locale-independent results.
Chrome 24
Firefox 29
Safari 10
Partly
Intl.PluralRules API
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
Intl
.
Chrome 63
Firefox 58
Safari 13
Partly
Lookbehind in JS regular expressions
Chrome 62
Firefox 78
Safari 16.4
Works
JSON parsing
Chrome 4
Firefox 3.5
Safari 4
Works
let
Chrome 49
Firefox 44
Safari 11
Works
localeCompare()
The default runtime has no
Intl
:
localeCompare
compares UTF-16 code units and ignores locales and options, so
"ä"
sorts after
"z"
. With
App.runtime(Runtime.node())
it collates by locale.
Chrome 24
Firefox 29
Safari 10
Partly
Object.entries
Chrome 54
Firefox 47
Safari 10.1
Works
Object.observe data binding
A withdrawn proposal that no browser ships any more. Use a
Proxy
instead.
Chrome –
Firefox –
Safari –
Not yet
Object.values method
Chrome 54
Firefox 47
Safari 10.1
Works
Promise.prototype.finally
Chrome 63
Firefox 58
Safari 11.1
Works
Promises
Chrome 33
Firefox 29
Safari 7.1
Works
Proxy object
Chrome 49
Firefox 18
Safari 10
Works
Rest parameters
Chrome 47
Firefox 15
Safari 10
Works
Shared Array Buffer
SharedArrayBuffer
and
Atomics
work, but the default runtime has no workers to share a buffer with, and there
Atomics.wait
throws on the UI thread, as on a browser's main thread. With
App.runtime(Runtime.node())
it can wait.
Chrome 68
Firefox 79
Safari 15.2-15.3
Partly
ES6 Template Literals (Template Strings)
Chrome 41
Firefox 34
Safari 9.1
Works
Temporal
Neither runtime has
Temporal
turned on yet; use a polyfill such as
temporal-polyfill
.
Chrome 144
Firefox 139
Safari TP
Not yet
Typed Arrays
Chrome 7
Firefox 4
Safari 6
Works
unhandledrejection/rejectionhandled events
unhandledrejection
reaches listeners on the global object (
addEventListener("unhandledrejection", ...)
) as a
PromiseRejectionEvent
;
preventDefault()
keeps it off the console. It is the only event the global object gets: there is no
window
resize
or
keydown
.
Chrome 49
Firefox 69
Safari 11
Works
ECMAScript 5 Strict Mode
Chrome 13
Firefox 4
Safari 6
Works
JavaScript APIs
What a JavaScript app can call: SilkJS's own APIs and the ones
@silkui/core
adds.
29
work
15
partly
59
not yet
29
not for apps
0
not checked
AbortController & AbortSignal
AbortController
and
AbortSignal
with
abort(reason)
,
AbortSignal.abort()
,
timeout()
and
any()
. The
signal
option of
addEventListener
removes the listener on abort, both on nodes and on other event targets. With
Runtime.node()
,
fetch
and Node's own APIs take a signal too.
Chrome 66
Firefox 57
Safari 12.1
Works
Accelerometer
No device sensor APIs.
Chrome 67
Firefox –
Safari –
Not yet
Ambient Light Sensor
No device sensor APIs.
Chrome –
Firefox –
Safari –
Not yet
Asynchronous Clipboard API
readText()
,
writeText()
,
read()
,
write()
and
ClipboardItem
work on the system clipboard for
text/plain
,
text/html
and
image/png
, the types
ClipboardItem.supports()
names. A write takes one item, as in Chromium.
Chrome 66
Firefox 125
Safari 13.1
Works
Base64 encoding and decoding
Chrome 4
Firefox 2
Safari 3.1
Works
Web Audio API
No audio output or Web Audio API.
Chrome 14
Firefox 25
Safari 6
Not yet
Auxclick
There is no
auxclick
event;
pointerdown
and
pointerup
carry
button
for every button.
Chrome 55
Firefox 53
Safari 18.2
Not yet
Background Sync API
A service worker feature for pages that sync while closed.
Chrome 49
Firefox –
Safari –
Not for apps
Battery Status API
navigator.getBattery()
resolves to a
BatteryManager
with
charging
,
level
,
chargingTime
and
dischargingTime
, read from the system: IOKit on macOS,
/sys/class/power_supply
on Linux and
GetSystemPowerStatus
on Windows. With no battery to read, it reports a full battery on external power, as the spec allows. The change events come from a re-read every 30 seconds while something listens. Apps on
Runtime.node()
do not have it yet. Silk apps read the same values with
ui_tree.battery.read()
.
Chrome 38
Firefox –
Safari –
Works
Beacon API
sendBeacon
sends data as a page unloads; an app can send it with
fetch
before it quits.
Chrome 39
Firefox 31
Safari 11.1
Not for apps
Printing Events
Printing events are about printing documents.
Chrome 63
Firefox 6
Safari 13
Not for apps
Blob constructing
The default engine runtime's
Blob
has no
stream()
.
Chrome 20
Firefox 13
Safari 6
Works
Blob URLs
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
URL.createObjectURL
.
Chrome 8
Firefox 4
Safari 6
Partly
BroadcastChannel
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
BroadcastChannel
.
Chrome 54
Firefox 38
Safari 15.4
Partly
Channel messaging
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
MessageChannel
.
Chrome 4
Firefox 41
Safari 5
Partly
Synchronous Clipboard API
copy
,
cut
and
paste
fire at the focused node from the shortcuts, the Edit menu and the input context menu, and bubble.
clipboardData
is a
DataTransfer
: a prevented copy or cut writes what a listener set, and a paste carries
text/plain
,
text/html
and a pasted PNG in
files
. Cut and paste edits fire
beforeinput
(
deleteByCut
,
insertFromPaste
) first, and preventing it cancels the edit.
Chrome –
Firefox –
Safari 12
Works
Basic console logging functions
Lines go to the host's standard error.
Chrome 4
Firefox 4
Safari 3.1
Works
console.time and console.timeEnd
console.time
,
timeLog
,
timeEnd
,
count
,
countReset
,
group
and
groupEnd
work;
console.table
prints its argument as
console.log
does.
Chrome 4
Firefox 10
Safari 4
Works
Constraint Validation API
No form validation API: inputs have no
checkValidity()
or
setCustomValidity()
.
Chrome 40
Firefox 51
Safari 10
Not yet
Cookie Store API
Cookies belong to pages in a browser.
Chrome 87
Firefox 140
Safari 18.4
Not for apps
Cross-Origin Resource Sharing
CORS restricts what pages may fetch from other origins; an app's requests are not under the same-origin policy.
Chrome 13
Firefox 3.5
Safari 6
Not for apps
createImageBitmap
No
createImageBitmap
.
Chrome 59
Firefox 98
Safari 17.0
Not yet
Credential Management API
No
navigator.credentials
.
Chrome 51
Firefox –
Safari –
Not yet
Web Cryptography
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
crypto.subtle
.
Chrome 37
Firefox 34
Safari 7.1
Partly
CSS.supports() API
CSS.supports(property, value)
and
CSS.supports(conditionText)
, with
selector()
, answered by the same parser as a stylesheet's
@supports
.
font-tech()
and
font-format()
answer false, as they do in
@supports
.
Chrome 61
Firefox 55
Safari 9
Works
CustomEvent
CustomEvent
,
Event
and
EventTarget
work, and nodes take listeners for event types of the app's own:
node.dispatchEvent(event)
sends one through the tree with a capture and a bubble phase.
Chrome 15
Firefox 11
Safari 6.1
Works
DeviceOrientation & DeviceMotion events
No device orientation or motion events.
Chrome 31
Firefox 6
Safari 17.0
Not yet
Do Not Track API
A browser privacy setting for websites.
Chrome 23
Firefox 32
Safari –
Not for apps
document.currentScript
There is no document or
<script>
element.
Chrome 29
Firefox 4
Safari 8
Not for apps
document.evaluate & XPath
XPath queries a document; a Silk UI app has a tree of nodes, not a document.
Chrome 4
Firefox 3
Safari 3.1
Not for apps
Document.execCommand()
A deprecated API for editable documents. Rich inputs have
format()
and
toggleMark()
for the same job.
Chrome 4
Firefox 9
Safari 6
Not for apps
Document Object Model Range
Range
,
StaticRange
and
createRange()
follow the DOM Standard over the app's nodes, and live ranges follow every change; they match Chromium on the WPT-style cases in
modules/js/packages/core/test/ranges
.
getClientRects()
and
getBoundingClientRect()
read the tree's layout. Without a
document
,
document.createRange()
is
createRange()
from
@silkui/core
.
Chrome 4
Firefox 2
Safari 3.1
Works
Scroll methods on elements (scroll, scrollTo, scrollBy)
scrollTo
,
scroll
and
scrollBy
take
(x, y)
or
{ left, top, behavior }
.
behavior: "smooth"
animates in the tree only while the scroll moves, and
auto
follows the node's
scroll-behavior
.
scrollLeft
and
scrollTop
can be set.
Chrome 61
Firefox 36
Safari 14
Works
Encrypted Media Extensions
No media playback, so no encrypted media either.
Chrome 42
Firefox 38
Safari 12
Not yet
Server-sent events
No
EventSource
in either runtime; with
App.runtime(Runtime.node())
, read the stream with
fetch
.
Chrome 6
Firefox 6
Safari 5
Not yet
Feature Policy
A header for pages and their frames.
Chrome 74
Firefox –
Safari –
Not for apps
Fetch
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
fetch
.
Chrome 42
Firefox 39
Safari 10.1
Partly
File API
Files dropped on a window arrive as
File
-like objects with a
name
and a
path
, but the default runtime has no
File
or
Blob
to read them.
App.runtime(Runtime.node())
has
File
,
Blob
and
FileReader
, and
node:fs
with
App.allow(Access.Files)
.
Chrome 38
Firefox 28
Safari 10
Partly
FileReader API
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
FileReader
.
Chrome 6
Firefox 3.6
Safari 6
Not yet
FileReaderSync
No workers, and no
FileReaderSync
.
Chrome 15
Firefox 8
Safari 6
Not yet
Filesystem & FileWriter API
A deprecated sandboxed file system for pages. With
App.runtime(Runtime.node())
and
App.allow(Access.Files)
, use
node:fs
.
Chrome 13
Firefox –
Safari –
Not for apps
Gamepad API
No Gamepad API.
Chrome 21
Firefox 29
Safari 10.1
Not yet
Geolocation
No
navigator.geolocation
.
Chrome 5
Firefox 3.5
Safari 5
Not yet
Element.getBoundingClientRect()
getBoundingClientRect()
,
getClientRects()
, the
client*
,
scroll*
and
offset*
metrics,
elementFromPoint
,
elementsFromPoint
and
caretPositionFromPoint
read the tree, laying out first only when something changed. Silk code reads the same through
ui_tree.cssom_view
.
Chrome 4
Firefox 12
Safari 4
Works
crypto.getRandomValues()
crypto.getRandomValues
and
crypto.randomUUID
take their bits from the operating system.
crypto.subtle
is there only with
App.runtime(Runtime.node())
.
Chrome 11
Firefox 21
Safari 6.1
Works
Gyroscope
No device sensor APIs.
Chrome 67
Firefox –
Safari –
Not yet
navigator.hardwareConcurrency
Chrome 37
Firefox 48
Safari 15.4
Works
Hashchange event
About the address of a page.
@silkui/foldkit
keeps an address in memory for its router.
Chrome 5
Firefox 3.6
Safari 5
Not for apps
High Resolution Time API
performance.now()
runs on the host's clock, and
performance.timeOrigin
is the wall-clock time it counts from.
Chrome 20
Firefox 15
Safari 8
Works
ImageCapture API
No camera access.
Chrome 59
Firefox –
Safari –
Not yet
Input Method Editor API
IME composition works in inputs, but there is no API to read or steer the IME from script.
Chrome –
Firefox –
Safari –
Not yet
IndexedDB
No IndexedDB in either runtime. With
App.runtime(Runtime.node())
and
App.allow(Access.Files)
, keep data in files with
node:fs
.
Chrome 23
Firefox 10
Safari 15
Not yet
IndexedDB 2.0
No IndexedDB in either runtime.
Chrome 58
Firefox 51
Safari 10.1
Not yet
Directory selection from file input
No file or directory picker yet; files can be dropped on a window.
Chrome 30
Firefox 50
Safari 11.1
Not yet
Works
Element.insertAdjacentHTML()
Silk UI has no HTML. Nodes are made with
createBox
and
createText
, or by a framework.
Chrome 4
Firefox 8
Safari 4
Not for apps
IntersectionObserver
Computed in the tree after each layout and scroll, clipped through every scroll container and
overflow
clip, with
root
,
rootMargin
and
threshold
lists. Callbacks run only when a target crosses a threshold. The parent chain stands for the containing block chain, so a fixed box inside a scroller is still clipped by it.
Chrome 58
Firefox 55
Safari 12.1
Works
IntersectionObserver V2
scrollMargin
works.
trackVisibility
and
delay
are there but
isVisible
is always false.
Chrome 74
Firefox –
Safari –
Partly
Magnetometer
No device sensor APIs.
Chrome –
Firefox –
Safari –
Not yet
matches() DOM method
Nodes have
matches()
,
webkitMatchesSelector()
,
closest()
,
querySelector()
and
querySelectorAll()
(a static array), run by the selector matcher that stylesheets use, so they agree with CSS, including live states and
:has()
. An invalid selector throws a
SyntaxError
. A browser (web canvas) build has no tree to ask, so they find nothing there.
@silkui/foldkit
's elements keep their own simpler matcher for HTML tag names.
Chrome 34
Firefox 34
Safari 7.1
Partly
matchMedia
matchMedia
answers any media query for the window, including
resolution
, the viewport size and the host's appearance and motion preferences. Lists with a
change
listener or
onchange
hear when the answer flips, for example when the window moves to a display of another scale.
Chrome 9
Firefox 6
Safari 5.1
Works
maxlength attribute for input and textarea elements
Inputs have no length limit attribute; cut the value in an
input
listener.
Chrome 4
Firefox 4
Safari 5.1
Not yet
Media Capture from DOM Elements API
No media capture.
Chrome 62
Firefox –
Safari –
Not yet
MediaRecorder API
No media capture or recording.
Chrome 49
Firefox 29
Safari 14.1
Not yet
Media Source Extensions
No media playback.
Chrome 23
Firefox 42
Safari 8
Not yet
Web MIDI API
No Web MIDI.
Chrome 43
Firefox 108
Safari –
Not yet
Mutation Observer
No
MutationObserver
. The app makes every change to its nodes itself.
Chrome 18
Firefox 14
Safari 6
Not yet
Web Storage - name/value pairs
No
localStorage
or
sessionStorage
in either runtime. With
App.runtime(Runtime.node())
and
App.allow(Access.Files)
, keep data in a file with
node:fs
.
Chrome 4
Firefox 3.5
Safari 4
Not yet
File System Access API
No file pickers. With
App.runtime(Runtime.node())
and
App.allow(Access.Files)
,
node:fs
reads and writes any file the app may.
Chrome 105
Firefox –
Safari –
Not yet
Navigation Timing API
Times the loading of a page.
Chrome 6
Firefox 7
Safari 8
Not for apps
Network Information API
No
navigator.connection
.
Chrome –
Firefox –
Safari –
Not yet
Web Notifications
Importing
@silkui/core
gives
Notification
:
new Notification(title, { body })
shows a desktop notification, with
click
and
show
events. Permission is always granted;
close()
, icons and actions do nothing.
Chrome 22
Firefox 22
Safari 6
Partly
Object RTC (ORTC) API for WebRTC
No real-time communication APIs.
Chrome –
Firefox –
Safari –
Not yet
Online/offline status
No
navigator.onLine
or
online
and
offline
events.
Chrome 14
Firefox 41
Safari 5
Not yet
Orientation Sensor
No device sensor APIs.
Chrome 67
Firefox –
Safari –
Not yet
PageTransitionEvent
About pages entering and leaving a browser's history.
Chrome 4
Firefox 2
Safari 5
Not for apps
Page Visibility
Script cannot ask whether the window is visible or minimized.
Chrome 14
Firefox 10
Safari 6.1
Not yet
Passkeys
No WebAuthn or passkeys.
Chrome 108
Firefox 122
Safari 16.1
Not yet
Payment Request API
Browser checkout for shopping pages.
Chrome 78
Firefox –
Safari 12.1
Not for apps
Permissions API
No
navigator.permissions
.
Chrome 43
Firefox 46
Safari 16.0
Not yet
Permissions Policy
A header for pages and their frames.
Chrome –
Firefox –
Safari –
Not for apps
Picture-in-Picture
No picture-in-picture windows.
Chrome 70
Firefox 153
Safari 13.1
Not yet
Pointer Lock API
No pointer lock.
Chrome 22
Firefox 14
Safari 10.1
Not yet
Portals
Embeds and navigates between pages.
Chrome –
Firefox –
Safari –
Not for apps
Proximity API
No device sensor APIs.
Chrome –
Firefox 15
Safari –
Not yet
Push API
Server pushes to a page's service worker. An app can hold its own connection, with
WebSocket
under
App.runtime(Runtime.node())
.
Chrome 50
Firefox 44
Safari 18.0
Not for apps
requestAnimationFrame
Callbacks run before the window's frames, with the frame time.
Chrome 22
Firefox 11
Safari 6
Works
requestIdleCallback
requestIdleCallback
runs the callback from a timer, with a 50 ms
timeRemaining()
budget; the
timeout
option changes nothing, since the callback never waits longer than a timer.
Chrome 47
Firefox 55
Safari TP
Works
Resize Observer
Entries carry
contentRect
,
borderBoxSize
,
contentBoxSize
and
devicePixelContentBoxSize
, after a layout that changed the observed box and before paint. A change a callback makes is laid out in the next frame.
Chrome 64
Firefox 69
Safari 13.1
Works
Resource Timing (basic support)
Times the resources a page loads.
Chrome 25
Firefox 35
Safari 11.1
Not for apps
WebRTC Peer-to-peer connections
No WebRTC.
Chrome 23
Firefox 22
Safari 11
Not yet
Screen Orientation
No
screen.orientation
.
Chrome 38
Firefox 44
Safari 16.4
Not yet
scrollIntoView
true
,
false
or
{ block, inline, behavior }
, through every scroll container, with
scroll-margin
,
scroll-padding
and snapping.
Chrome 61
Firefox 36
Safari 16.0
Works
Element.scrollIntoViewIfNeeded()
Scrolls only the containers that do not already show the node, centered unless
centerIfNeeded
is false.
Chrome 15
Firefox –
Safari 5.1
Works
Selection API
getSelection()
is the selection the user makes in the app's text, with Chrome's rules, and scripts can read and change it:
addRange
,
collapse
,
extend
,
setBaseAndExtent
,
selectAllChildren
,
containsNode
,
deleteFromDocument
and the rest, over live ranges.
toString()
gives the text as copying does.
selectstart
(cancelable) and
selectionchange
reach listeners; the document's
selectionchange
fires at the mounted root. Not there:
modify()
, and inputs keep their own selection (
selectionStart
,
setSelectionRange
) rather than showing in
getSelection()
. Across children that layout reorders, the selection holds one range per piece seen.
Chrome 15
Firefox 52
Safari 5.1
Partly
Server Timing
Reports server timings of a page's requests to its devtools.
Chrome 65
Firefox 61
Safari 16.4
Not for apps
Service Workers
Service workers make pages work offline; an app is offline already.
Chrome 45
Firefox 44
Safari 11.1
Not for apps
Efficient Script Yielding: setImmediate()
Chrome –
Firefox –
Safari –
Works
Shared Web Workers
Shared workers share one worker between pages.
Chrome 4
Firefox 29
Safari 16.0
Not for apps
Speech Recognition API
No speech recognition.
Chrome –
Firefox –
Safari –
Not yet
Speech Synthesis API
No speech synthesis. To have a screen reader speak, use
announce()
from
@silkui/core
.
Chrome 33
Firefox 49
Safari 7
Not yet
Web SQL Database
Web SQL is deprecated and gone from browsers.
Chrome –
Firefox –
Safari –
Not for apps
getUserMedia/Stream API
No camera or microphone access.
Chrome 53
Firefox 36
Safari 11
Not yet
Streams
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
ReadableStream
,
WritableStream
or
TransformStream
.
Chrome 89
Firefox 102
Safari –
Partly
TextEncoder & TextDecoder
TextDecoder
reads UTF-8, UTF-16 and windows-1252 (
latin1
); other labels throw a
RangeError
.
Chrome 38
Firefox 20
Safari 10.1
Works
Touch events
touchstart
,
touchmove
,
touchend
and
touchcancel
with
touches
,
targetTouches
and
changedTouches
, after each finger's pointer events and before a tap's mouse events, as in Chrome. A touch stays with the node it went down on, and preventing
touchstart
or the first
touchmove
stops the pan and the tap's click. Fingers come from Windows, macOS, Wayland and the browser. No host reports
force
or
radiusX
/
radiusY
yet, and
touches
lists only fingers on nodes with touch listeners.
Chrome 22
Firefox 52
Safari –
Partly
Trusted Types for DOM manipulation
Guards HTML injection into a document; Silk UI has no HTML.
Chrome 83
Firefox 148
Safari 26.0
Not for apps
FIDO U2F API
A deprecated API, replaced by WebAuthn.
Chrome –
Firefox –
Safari 13
Not for apps
URL API
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
URL
.
Chrome 32
Firefox 26
Safari 7.1
Partly
URLSearchParams
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
URLSearchParams
.
Chrome 49
Firefox 44
Safari 10.1
Partly
User Timing API
performance.mark
,
measure
,
getEntries
,
getEntriesByName
,
getEntriesByType
,
clearMarks
and
clearMeasures
work. The default runtime has no
PerformanceObserver
.
Chrome 25
Firefox 38
Safari 11
Works
Vibration API
No
navigator.vibrate
.
Chrome 30
Firefox –
Safari –
Not yet
Screen Wake Lock API
No screen wake lock.
Chrome 84
Firefox 126
Safari 16.4
Not yet
Web Animations API
No
element.animate()
. CSS transitions and
@keyframes
animations work through styles.
Chrome 84
Firefox 75
Safari 13.1
Not yet
Web Bluetooth
No Bluetooth access.
Chrome 56
Firefox –
Safari –
Not yet
Web Serial API
No serial port access.
Chrome 89
Firefox 151
Safari –
Not yet
Web Share API
No
navigator.share
.
Chrome 128
Firefox –
Safari 12.1
Not yet
WebCodecs API
No WebCodecs.
Chrome 94
Firefox 130
Safari 26.0
Not yet
WebGPU
No WebGPU.
Chrome 113
Firefox –
Safari –
Not yet
WebHID API
No HID device access.
Chrome 89
Firefox –
Safari –
Not yet
Web NFC
No NFC access.
Chrome –
Firefox –
Safari –
Not yet
Web Sockets
Only with
App.runtime(Runtime.node())
, the SilkJS runtime; the default engine runtime has no
WebSocket
.
Chrome 16
Firefox 11
Safari 7
Partly
WebTransport
No WebTransport.
Chrome 97
Firefox 114
Safari 26.4
Not yet
WebUSB
No USB access.
Chrome 61
Firefox –
Safari –
Not yet
WebVR API
Replaced by WebXR and gone from browsers.
Chrome –
Firefox 55
Safari –
Not for apps
Web Workers
No
Worker
in either runtime: an app's JavaScript runs on the UI thread.
Chrome 4
Firefox 3.5
Safari 4
Not yet
WebXR Device API
No WebXR.
Chrome –
Firefox –
Safari –
Not yet
Cross-document messaging
postMessage
between pages and frames; an app has one realm.
Chrome 4
Firefox 3
Safari 4
Not for apps
XMLHttpRequest advanced features
No
XMLHttpRequest
in either runtime;
fetch
works with
App.runtime(Runtime.node())
.
Chrome 50
Firefox 47
Safari 11.1
Not yet
DOM Parsing and Serialization
Parses and serializes HTML and XML documents; Silk UI has no document.
Chrome 31
Firefox 12
Safari 7.1
Not for apps
App memory usage (memoryUsage)
memoryUsage()
returns
{ footprint, processes }
in bytes:
phys_footprint
on macOS,
Pss
on Linux,
PrivateUsage
on Windows, the numbers Activity Monitor,
footprint
and Task Manager show. In a browser build it is only the wasm tree's memory.
Chrome –
Firefox –
Safari –
Works
Presented frame stats (frameStats)
frameStats()
returns the frames the window presented since the last call, with presents per second, painted frames the GPU never drew, and the 50th, 95th and 99th percentile and longest milliseconds between presents.
null
in a browser build.
Chrome –
Firefox –
Safari –
Works