This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

drawCustomFocusRing

Summary

Draw a focus ring of the appropriate style along the intended path, and sets result to false.

Removed from spec; deletion candidate.

Method of apis/canvas/CanvasRenderingContext2Dapis/canvas/CanvasRenderingContext2D

Syntax

var object = object.drawCustomFocusRing(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 BooleanBoolean

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