← back to v141 · enhanced-canvas-textmetrics

conformance · v141

v141 · enhanced-canvas-textmetrics — conformance probe

6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://github.com/whatwg/html/pull/11000 chromestatus: #5075532483657728 generated 2026-06-01T08:13:08Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
6
total
id contract kind verdict detail
canvas-2d-measuretext CanvasRenderingContext2D.prototype.measureText exists; this is the entry point that returns the enhanced TextMetrics object. typeof
textmetrics-interface TextMetrics is exposed on the global; it is the return type that gains selection / bounding box / cluster fields. exists
textmetrics-selectionrects TextMetrics gains a getSelectionRects(start, end) method for caret/selection geometry (per the HTML PR). script
textmetrics-actualboundingbox TextMetrics exposes a getActualBoundingBox(start, end) method for sub-string bounding boxes. script
textmetrics-numgraphemes TextMetrics exposes glyph cluster information via numGraphemeClusters (or similar accessor) per the cluster-based operations the PR adds. script
textmetrics-existing-width TextMetrics.width remains exposed; the enhancement adds fields without removing the original ones. script