This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

drawSystemFocusRing

Summary

Draws a focus ring of the appropriate style along the intended path, following platform conventions.

Removed from spec; deletion candidate.

Method of apis/canvas/CanvasRenderingContext2Dapis/canvas/CanvasRenderingContext2D

Syntax

var object = object.drawSystemFocusRing(path, element);

Parameters

path

Data-type
DOM Node

(Optional)

The path along which the focus ring is to be drawn.

element

Data-type
DOM Node

The element on which the focus ring is to be drawn.

Return Value

Returns an object of type DOM NodeDOM Node

Notes

The focus ring should not be subject to the shadow effects, the global alpha, or the global composition operators, but should be subject to the clipping region.

Related specifications

W3C HTML Canvas 2D Context
W3C Candidate Recommendation

Attributions