Closed
Bug 191853
Opened 22 years ago
Closed 16 years ago
Implement new CSS properties for images as a backgrounds and list markers
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 113577
People
(Reporter: sinchi, Unassigned)
References
()
Details
(Keywords: css3, Whiteboard: [css3 wd is unstable])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: It would be very usable to have CSS properties to set size images which are placed as a background or list item marker. CSS3 draft already has background-size property, it would be nice to implement. But image as list marker hasn't corresponding properties. I guess it will be nice to have list-style-image-size property. CSS3 :marker pseudoclass isn't appropriate here because it describes size of whole marker space. Reproducible: Always Steps to Reproduce:
Comment 1•22 years ago
|
||
This module is in such a preliminary stage (it's not in Last Call, much less CR), that implementing things from it is likely a waste of time -- they will change.
OK, but we could implement these properties as experimental with "-moz-" prefix and remove prefix (or modify otherwise) after CSS3 official approval.
Comment 3•22 years ago
|
||
I didn't say we can't do it. I said it would be a waste of time better spent doing other things that are not going to have to be thrown out.... You're free to work on the impl of the things you want, of course. I can point you to the relevant parts of the code if you would like and review patches when you have it working.
It's also worth adding that list-style-image-size is not necessarily the best solution. It may be better to have a general generated content solution instead.
Comment 5•22 years ago
|
||
As the editor of the CSS3 lists module, I doubt that we will ever introduce list-style-image-size. Whatever mechanism is used will be the same as used for resizing images in generated content.
Comment 6•22 years ago
|
||
Mozilla have this background images code in CSS such as 'background-image: whatever;'. So, is there such a thing as using the size feature inside the 'whatever' part? Or would it require a seperate code that we don't have?
Comment 7•22 years ago
|
||
It would require separate code, and a good bit of it.
Comment 8•22 years ago
|
||
Specifically, adding sizing to background images will likely require a GFX implementation for each of our major platforms/toolkits at the very least, and it would be quite nice to support other platforms/toolkits as well. See bug 189519 for that end of things.
Updated•21 years ago
|
Keywords: helpwanted
Comment 9•20 years ago
|
||
so is this a wontfix then?
Comment 10•20 years ago
|
||
No, this is a "call us whenever this module is in CR and we'll think about it". One of those cases when RESOLVED FUTURE would be nice.
Updated•19 years ago
|
Keywords: helpwanted
Whiteboard: [css3 wd is unstable]
Updated•19 years ago
|
Depends on: background-size
Comment 11•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 12•19 years ago
|
||
Obviously we still don't have support for the background-size property, or for any proprietary property that would set the size of a list marker image. The background-size property is a part of the Backgrounds and Borders CSS3 module, which hasn't yet made it out of the Working Draft stage, so I'm not sure if it's stable enough to implement at this point. Could we implement it but prefix it with -moz, like we did with -moz-opacity?
Assignee: dbaron → nobody
QA Contact: ian → style-system
Comment 13•16 years ago
|
||
I've never understood why all browsers engines (Gecko, WebKit, Opera, IE) don't agree on a single prefix for unfinalized draft-css features. Use something like -draft- so that you get -draft-background-size or -draft-opacity. That way, site builders don't have to include several extra lines of code to cater all surfers.
I think this bug is a duplicate of the combination of bug 113577 and bug 189519.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
(In reply to comment #13) > I've never understood why all browsers engines (Gecko, WebKit, Opera, IE) don't > agree on a single prefix for unfinalized draft-css features. Use something like > -draft- so that you get -draft-background-size or -draft-opacity. That way, > site builders don't have to include several extra lines of code to cater all > surfers. Please don't discuss this in bugs about other topics. It just makes them more confusing and less likely to be fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•