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

RESOLVED INVALID

Status

()

RESOLVED INVALID
6 years ago
21 days ago

People

(Reporter: seth, Assigned: seth)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

6 years ago
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.
(Assignee)

Comment 1

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → INVALID

Updated

26 days ago
Product: Core → Core Graveyard

Updated

21 days ago
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.