diff --git a/complete.html b/complete.html index 77c74fd90de..0d793463bce 100644 --- a/complete.html +++ b/complete.html @@ -35845,6 +35845,7 @@
removeHitRegion
(options)Removes a hit region (and all its ancestors) from the canvas
+ bitmap. The argument is the ID of a region added using addHitRegion()
.
The pixels that were covered by this region and its descendants + are effectively cleared by this operation, leaving the regions + non-interactive. In particular, regions that occupied the same + pixels before the removed regions were added, overlapping them, do + not resume their previous role.
+ +A hit region A is an @@ -39564,7 +39580,7 @@
Let list be the hit region - list associatd with ancestor's + list associated with ancestor's bitmap.
If there is a hit region in list whose list be the hit region - list associatd with ancestor's + list associated with ancestor's bitmap.
If there is a hit region in list whose list be the hit region - list associatd with ancestor's + list associated with ancestor's bitmap.
Remove all pixels in pixels from the set of pixels of each hit region in list.
Garbage-collect the regions of ancestor.
To garbage-collect the regions of a
+ canvas
element ancestor, the user
+ agent must run the following steps:
Let list be the hit region + list associated with ancestor's + bitmap.
Loop: Let victim be the first
hit region in list to have an
empty set of
@@ -39898,6 +39924,24 @@ Add region to the 4.8.11.1.14 Hit regions
canvas
element's hit region list.
When the removeHitRegion()
+ method is invoked, the user agent must run the following steps:
Let region be the region
+ identified by the ID given by the method's argument in this
+ canvas
element, if any. If no such region currently
+ exists, abort these steps.
Remove region, and all hit regions for which it is an ancestor
+ region, from the canvas
element's hit
+ region list; then, if it had a parent region, decrement that hit region's
+ child count by one.
Garbage-collect the regions of ancestor.
The MouseEvent
interface is extended to support hit
diff --git a/index b/index
index 77c74fd90de..0d793463bce 100644
--- a/index
+++ b/index
@@ -35845,6 +35845,7 @@ dictionary TrackEventInit : Even
// hit regions
void addHitRegion(HitRegionOptions options);
+ void removeHitRegion(HitRegionOptions options);
// pixel manipulation
ImageData createImageData(double sw, double sh);
@@ -39529,6 +39530,21 @@ v6DVT (also check for '- -' bits in the part above) -->
The
+ Removes a hit region (and all its ancestors) from the canvas
+ bitmap. The argument is the ID of a region added using The pixels that were covered by this region and its descendants
+ are effectively cleared by this operation, leaving the regions
+ non-interactive. In particular, regions that occupied the same
+ pixels before the removed regions were added, overlapping them, do
+ not resume their previous role. A hit region A is an
@@ -39564,7 +39580,7 @@ v6DVT (also check for '- -' bits in the part above) --> The
Let list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. If there is a hit region in list whose list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. If there is a hit region in list whose list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. Remove all pixels in pixels from the
set of pixels of
each hit region in list. Garbage-collect the regions of ancestor. To garbage-collect the regions of a
+ Let list be the hit region
+ list associated with ancestor's
+ bitmap. Loop: Let victim be the first
hit region in list to have an
empty set of
@@ -39898,6 +39924,24 @@ v6DVT (also check for '- -' bits in the part above) --> The Add region to the When the Let region be the region
+ identified by the ID given by the method's argument in this
+ Remove region, and all hit regions for which it is an ancestor
+ region, from the Garbage-collect the regions of ancestor. The Removes a hit region (and all its ancestors) from the canvas
+ bitmap. The argument is the ID of a region added using The pixels that were covered by this region and its descendants
+ are effectively cleared by this operation, leaving the regions
+ non-interactive. In particular, regions that occupied the same
+ pixels before the removed regions were added, overlapping them, do
+ not resume their previous role. Let list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. If there is a hit region in
Let list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. If there is a hit region in
Let list be the hit region
- list associatd with ancestor's
+ list associated with ancestor's
bitmap. Remove all pixels in pixels from the
set of pixels of
each hit region in list. Garbage-collect the regions of ancestor. To garbage-collect the regions of a
+ Let list be the hit region
+ list associated with ancestor's
+ bitmap. Loop: Let victim be the first
hit region in list to have an
empty set of
@@ -46605,6 +46637,30 @@ v6DVT (also check for '- -' bits in the part above) -->
When the Let region be the region
+ identified by the ID given by the method's argument in this
+ Remove region, and all hit regions for which it is an ancestor
+ region, from the Garbage-collect the regions of ancestor.removeHitRegion
(options)addHitRegion()
.canvas
element ancestor, the user
+ agent must run the following steps:canvas
element's hit region list.removeHitRegion()
+ method is invoked, the user agent must run the following steps:canvas
element, if any. If no such region currently
+ exists, abort these steps.canvas
element's hit
+ region list; then, if it had a parent region, decrement that hit region's
+ child count by one.MouseEvent
interface is extended to support hit
diff --git a/source b/source
index 409cae1fa95..d87c190d756 100644
--- a/source
+++ b/source
@@ -41767,6 +41767,7 @@ dictionary TrackEventInit : EventInit {
// hit regions
void addHitRegion(HitRegionOptions options);
+ void removeHitRegion(HitRegionOptions options);
// pixel manipulation
ImageData createImageData(double sw, double sh);
@@ -46126,6 +46127,22 @@ v6DVT (also check for '- -' bits in the part above) -->
+ removeHitRegion
(options)addHitRegion()
.
+
+ canvas
element ancestor, the user
+ agent must run the following steps:
+
+
+ removeHitRegion()
+ method is invoked, the user agent must run the following steps:
+
+
+
canvas
element, if any. If no such region currently
+ exists, abort these steps.canvas
element's hit
+ region list; then, if it had a parent region, decrement that hit region's
+ child count by one.