Closed Bug 75549 Opened 23 years ago Closed 23 years ago

[RFE] Want style that selects frame from animated image

Categories

(Core :: CSS Parsing and Computation, enhancement, P5)

x86
Windows 95
enhancement

Tracking

()

VERIFIED WONTFIX
Future

People

(Reporter: neil, Assigned: pierre)

Details

(Keywords: css-moz, Whiteboard: [Hixie-PF] WONTFIX ? -- extension RFE (py8ieh:WG))

Just for the record, I would like a style, such as:

-moz-image-frame: auto|<n>;

to select an individual frame from an animated image.
Why?
Keywords: css-moz
Whiteboard: [Hixie-PF] WONTFIX ? -- extension RFE (py8ieh:WG)
To make it invisible? Or twice bigger?  :-)  This could have some interesting 
visual effects but... WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Oops - forgot to answer that before.

The request was to manually animate a gif.

Making it invisible is covered by list-style-image: none;
IIRC Changing its size is covered by setting width and/or height.
My mistake: I thought you wanted a selector to match a particular frame of an 
animated gif, and change the style only on that frame while the gif is animating. 
In fact, if I'm correct this time, you would like a property to freeze the 
display on a particular frame.

I can see some use for it, although this possibility may be abused (like using it 
to package several unrelated static gifs into one "animated" gif where the frames 
would be selected one by one).

Maybe it makes sense.  Reopening and moving over to ImageLib to ask for their 
opinion.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Moved to ImageLib
Assignee: pierre → pavlov
Status: REOPENED → NEW
Component: Style System → ImageLib
QA Contact: ian → tpreston
ian?
I don't think this is an imagelib issue.  There are APIs on images to start and
stop their animations.  If the style system wants to support this, then let me
know and I can help with some of the nsImageFrame changes to look for new style
properties.
Assignee: pavlov → pierre
Component: ImageLib → Style System
QA Contact: tpreston → ian
Summary: Want style that selects frame from animated image → [RFE] Want style that selects frame from animated image
Pav, what we would need is an API to stop the animation at a particular frame.  
Does it exist?

Anyhow I keep this bug as Future/enhancement in case there is another request, or 
if someone wants to implement it (Neil maybe?).
Status: NEW → ASSIGNED
Priority: -- → P5
Target Milestone: --- → Future
The feature didn't raise a lot of enthusiasm. Close as WontFix.

Neil: if you like, you can make the suggestion on www-style@w3.org (see 
http://www.w3c.org/Mail/Lists.html#www-style)
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WONTFIX
v
Status: RESOLVED → VERIFIED
Well, -moz-image-region sort of does what I want after I redesign my images.
You need to log in before you can comment on or make changes to this bug.