Closed Bug 823294 Opened 9 years ago Closed 8 years ago
Reimplement -moz-image-rect in terms of media fragments
Both -moz-image-rect and spatial media fragments allow clipping on images. Although for backwards compatibility we need to keep supporting both syntaxes, there doesn't seem to be any reason to maintain both code paths. Additionally, -moz-image-rect will soon be the only consumer of imgIContainer::ExtractFrame, and it'd be nice to get rid of that method entirely. The parser should simply convert uses of -moz-image-rect to use spatial media fragments.
The ultimate approach ended up being somewhat different - we are keeping the different front ends for -moz-image-rect and media fragments, and giving them a common backend (ClippedImage). See the work in bug 826093. Since this approach is being taken, I'm resolving this bug as invalid.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.