Closed Bug 823294 Opened 12 years ago Closed 12 years ago

Reimplement -moz-image-rect in terms of media fragments

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: seth, Assigned: seth)

References

(Depends on 1 open bug)

Details

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: 12 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.