[whatwg] hit regions: effect of clearRect

Rik Cabanier cabanier at gmail.com
Mon Mar 10 17:25:06 PDT 2014

clearRect is currently defined as a subtraction mechanism for hit regions
It's unlikely that a UA will implement hit regions using pixels so this
would have to be done using path subtraction which is expensive.

Why was this special behavior added to clearRect? Hit regions are not
subject to other operations such as clipping...


More information about the whatwg mailing list