W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2014

[whatwg] hit regions: clearing of regions

From: Rik Cabanier <cabanier@gmail.com>
Date: Mon, 10 Mar 2014 17:19:22 -0700
Message-ID: <CAGN7qDBmnr-mTiCPyN5YPxdG=Mb+jLs4ggYp2s21HAe_pQzAOA@mail.gmail.com>
To: "whatwg@whatwg.org" <whatwg@whatwg.org>
Currently, the specification states that if you create a region and then
create another region that completely covers region, the first region is
removed from the hit region list [1]

This is a complex operation that involves either drawing the regions to a
bitmaps and counting pixels, or path intersection.
It is also unintuitive because an author might expect that he could remove
the second region and still have the first region active.

What was the reason that this was added to the spec?

Received on Tuesday, 11 March 2014 00:19:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:17 UTC