Open Bug 1121581 Opened 9 years ago Updated 2 years ago

Canvas clearRect should clear hit regions it encompasses

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

People

(Reporter: fs, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [gfx-noted])

Found by Rich Schwerdtfeger in bug 966591 comment 118
> Rik We found a bug where clearRect does not clear out hit regions it
> encompasses. Do I file a separate bug?

He is right. According to the spec:
"The clearRect(x, y, w, h) method must run the following steps:
3. Clear regions that cover the pixels in pixels on the scratch bitmap."
Does this need a testcase? I'm lacking context as to whether these are new features or bugs.
Whiteboard: [gfx-noted]
This would be a bug, but we need an STR here if at all possible.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.