Repository navigation
Not written yet
What Sashfold cannot do, it does not do — nothing stands in for a missing feature except where this page says so. The list is honest and current; the dashboard's census on The Sashfold 100 counts how often the live web asks for each.
Pages run their scripts (Scripting): the DOM, events, timers, promises and the event loop are written. What a page cannot do is what its bundle needs from the newer half of the language, below: a script that uses one of those features fails at parse time with a syntax error that names it, and the page stands as its markup alone. A growing share of sites answer a browser without their script with a bot challenge instead of the page.
The engine itself exists and runs scripts: a JavaScript engine of our own in src/js (Architecture), scored on test262 (Measurements). What it does not have yet, each of which is a syntax error that names itself rather than a silent misparse: the v regular-expression flag, lookbehind and property escapes. Modules are written — records, their linking and their evaluation, live bindings, the namespace object, dynamic import(), import.meta and top-level await (a module's body runs as an async function, and its importers wait for it) — and module scripts on the page run: fetched in CORS mode with the credentials the element asks for, held to a JavaScript type, deferred in document order with the classic defer scripts, an inline module keyed by its element with the document's URL as its base. Import maps are not written, so a bare specifier fails to resolve, and JSON and CSS modules are refused by type. Not written on the page side either: WebSocket, streams (fetch and XMLHttpRequest read a body whole), URL.createObjectURL, shadow trees, ranges and tree walkers, document.write after the parse, named access on the window, MutationObserver records.
-
Pseudo-elements other than
::before,::afterand::first-letter—::first-line,::marker,::selection,::placeholder— are parsed, and match nothing. A background, border or padding on a::first-letterwaits on inline box painting, below. -
font-synthesis— a weight or a slant the face does not have is always synthesized, sofont-synthesis-weight: noneandfont-synthesis-style: nonechange nothing. -
display: contents— the box is drawn rather than skipped.
-
margin-trim— the property is not read, so a container cannot drop the margins of the children that touch its own content edge. Now that the flow-relative properties are read, this is the one thing between the engine and the twenty-eight tests incss-box/margin-trim, which until then were matching a reference that had no margins either. -
Tables —
empty-cells: hide;visibility: collapseon rows and columns; percentage heights of rows and cells. In the collapsing border model a line whose winner changes along a spanning box's edge is drawn at the widest of them rather than segment by segment. -
Grid —
subgridandgrid-lanes(masonry) are passed over (asubgridtrack list is none); items share a baseline down a row but not across a column, sojustify-self: baselineisstart. The content keywords are read as awidth, amin-width, amax-widthand aflex-basis, but not as a height — a block's min-content and max-content heights are its content height, which is whatautoalready gives it — andfit-content(<length>)as a size property is not read (the grid track function of that name is). -
Multi-column layout,
text-overflow; hyphenation by dictionary —hyphens: autohyphenates only at the soft hyphens the text holds — andhyphenate-limit-chars;tab-size, and the tab stops a preserved tab should reach — each is 8 spaces wide wherever it stands; the words of Thai, Lao, Khmer and Myanmar, which a dictionary finds — a line ends between their clusters instead, andword-break: auto-phrasebreaks asnormaldoes; the part ofline-break: looseandnormalthat depends on the language (the CJK hyphens, centred punctuation, prefixes and suffixes);justifystretches the spaces a line was broken at, so text kept whole bywhite-space: pre-wrap— which holds its spaces inside a word — does not stretch, and the only word separator it stretches is the ordinary space, not the no-break space or the Ethiopic, Aegean, Ugaritic and Phoenician ones;text-justifyis read but the only method written is the one between words, sointer-characterbehaves asinter-word; andtext-indentreads noeach-lineorhanging.text-transformuses the SIMPLE case mappings, so sharp s stays sharp s rather than becoming SS, the Turkish dotted i and the Greek final sigma are not decided by language or neighbour, andfull-widthandfull-size-kanaare not written;capitalizefinds word starts within one text node, so a word split across an inline box is capitalized twice. -
Writing modes and bidi —
writing-modeis read, and a page or a box that asks forvertical-rl,vertical-lr,sideways-rlorsideways-lris laid out sideways: its lines stack across the page, its text runs down it, and every glyph of a horizontal script turns a quarter circle. A box whose mode is not the one around it starts an orthogonal flow, laid out in a frame of its own and turned back into the page when it is done; the room its lines have is its own extent along the outer block axis, or where that is not settled, the initial containing block's.directionand thedirattribute settle which end of the line a block's content starts at and whatstartandendmean, anddir="auto"andunicode-bidi: plaintextfind that direction in the text itself — and the bidirectional algorithm reorders the text: a line's entries are drawn in the order rules L1 and L2 give them, a run that reads right to left has its characters reversed and its brackets mirrored (L4), andunicode-bidiopens the levels its values name, on inline boxes and, for the overrides, on blocks, as the formatting characters written in the text do. A flex container's two axes, a grid's columns and a table's columns all read the way their direction says, and so does the overflow edge, the indent, the room a width leaves over, and where a box out of the flow stands when it writes no offsets of its own.What is left: an inline box whose content changes direction inside it is drawn as one box around all of it rather than in the several pieces the specification asks for; there is no shaping, so Arabic letters do not join and a combining mark inside a reversed run lands on the wrong side of its base;
text-orientationis read but does nothing, andtext-combine-uprightis not written. An orthogonal flow's baseline is dropped rather than synthesized. -
Flexbox — baseline alignment is
flex-start. -
Positioning — fixed boxes do not yet move with the shell's scroll. An inline box that the flow broke around a block child fades that block with it, but each such block is its own group rather than all of them and the box's lines being one, which shows only where two of them overlap.
-
Inline boxes — an empty one contributes no height of its own to the line box, and
box-decoration-break: clonedraws asslice. -
List markers —
list-style-image; and an inside marker leads the item’s own first line only, so a list item whose content is blocks keeps its marker outside. -
Percentage heights of a box whose containing block has no definite height stay auto, as the specification says.
- Shadows, outlines, filters, clip paths, masks;
border-imagein all its parts. - Of rounded corners: a positioned descendant of a box that rounds its corners is held to that box's rectangle rather than its curve, and a table row's or column's background under its cells is square.
- Of backgrounds:
background-attachment(every layer scrolls with the page),background-clip: textandborder-area, three- and four-value and negative-percentage positions, and a row's or column's background in the collapsing border model. - Rotations, scales and skews (translations are drawn).
-
opacitybetween zero and one paints as if opaque (zero hides; group compositing is unwritten). - Border styles other than solid draw solid.
- Font hinting. Of colour emoji, the sequences: a family, a flag or a profession written as several code points joined by U+200D or paired as regional indicators, a skin tone, and the text and emoji presentation selectors need GSUB's ligatures to become one glyph, and are drawn one code point at a time until then; COLR version 1 (gradients, transforms), SVG glyphs, and sbix graphics that are not PNG (JPEG, TIFF, a
dupeof another glyph's) are not read; a page's own@font-faceemoji font yields to a colour face the machine has.
- Web fonts in WOFF2 (TrueType and CFF
@font-facesources load, plain or wrapped as WOFF); CFF2 (the variable-font form) is not read. - Animated GIF (the first frame shows), WebP, AVIF.
- Of SVG (Painting and text has what is drawn): markers, patterns, masks, filters,
foreignObject, text on a path,textLength, theswitchconditions (every child is drawn), animation and scripting inside a picture, a<image>fetched from the network (adata:URL draws), anhrefto another document; a group's opacity fades each shape on its own rather than the group as one, which shows only where two of its shapes overlap; text and pictures are drawn level whatever the transform turns; the CSStransformandclip-pathproperties on SVG elements (the attributes are read);vector-effect,paint-order,shape-rendering. - Audio and video.
- The macOS window and TLS, so the window and
httpspages are Windows and Linux today. On Linux the TLS client checks only the leaf's revocation list and no OCSP, and it has no session resumption, so every connection to a host pays a full handshake; the frame the shell draws on a compositor without server-side decorations (GNOME) has no shadow and no title text of its own; a touchscreen taps and scrolls but does not pinch or select, and an input method composes at the caret but is given no surrounding text to edit. - POST forms (a form that posts says so); file inputs are drawn only;
required/patternvalidation; a select's dropdown (keyboard only). - HTTP/2, socket timeouts (a hung server hangs a load), parallel subresource loads (they load one after another on kept connections); of the cache,
stale-while-revalidateandstale-if-error, range requests, aVarybeyondAccept,Accept-EncodingandUser-Agent(such a response is not stored), and a cache partitioned per container. - Bookmarks, a settings page; of session restore, the pages a session's tabs were on are fetched again rather than kept, so a form's typed values and a page's script state do not come back, and a session is one file per profile, never several windows; of the profile, the cache lives in memory and is shared between containers (a container's requests can tell whether another container fetched a resource, by timing — Firefox partitions it),
sessionStorageis the document's rather than the tab's, and a container has no menu of its own yet (the chord, the tab's colour and--scriptuntil the command palette). - Of Content Security Policy:
securitypolicyviolationevents and the reportsreport-uriandreport-toname (the directives are read; a violation is a console line and nothing leaves the machine);base-uriandframe-ancestors(no<base>resolution and no frames to be an ancestor of);frame-src,object-src,media-src,worker-srcandmanifest-srcare matched but nothing of theirs is fetched yet; asandboxdirective's flags beyondallow-scriptsandallow-forms(the origin stays the page's);upgrade-insecure-requestsfor navigations (subresources are upgraded); a hash source matching an external script by itsintegrity; thenonceattribute's value stays readable from the tree. - Of content blocking: regular-expression rules and the
csp,redirect,removeparamoptions; the procedural (#?#,:has-text()and kin), style-injecting (#$#), snippet and scriptlet cosmetic forms; an element-hiding rule for an id or class a script adds after the page loaded (the sheet is composed from what the page has when its styles are gathered). Lists are read at start, not refreshed. - The tab strip's open, close and hover transitions: the theme's timings are parsed, not yet consumed.
Getting started
What works today
Measured
Design decisions
Testing and tools