← 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.
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 | … |