On 9/24/09 2:34 PM, Jared Williams wrote:
>
>
>    
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of
>> Trevor Parscal
>> Sent: 24 September 2009 21:49
>> To: [email protected]
>> Subject: Re: [Wikitech-l] JS2 design (was Re: Working towards
>> branchingMediaWiki 1.16)
>>
>> On 9/24/09 1:40 PM, Jared Williams wrote:
>>      
>>>
>>>
>>>        
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf
>>>>          
>> Of Trevor
>>      
>>>> Parscal
>>>> Sent: 24 September 2009 19:38
>>>> To: [email protected]
>>>> Subject: Re: [Wikitech-l] JS2 design (was Re: Working towards
>>>> branchingMediaWiki 1.16)
>>>>
>>>> On 9/24/09 9:31 AM, Jared Williams wrote:
>>>>
>>>>          
>>>>>>> * Automatically create CSS sprites?
>>>>>>>
>>>>>>>
>>>>>>>                
>>>>>> That would be neat, but perhaps a bit tricky.
>>>>>>
>>>>>>
>>>>>>              
>>>>> Just trying to think how it'd work.
>>>>>
>>>>> Given a CSS selector, and an image, should be able to construct
>>>>>            
> a
>    
>>>>> stylesheet which sets the background property of the css
>>>>>
>>>>>            
>>>> rules and an
>>>>
>>>>          
>>>>> single image.
>>>>>
>>>>> (#toolbar-copy, toolbar-copy.png)
>>>>> (#toolbar-copy:hover, toolbar-copy-hover.png)
>>>>>
>>>>> And the generated stylesheet would get concatenated with other
>>>>> stylesheets.
>>>>>
>>>>>
>>>>>            
>>>
>>>        
>>>> Again, I like sprites allot! But in reality, they are an
>>>>          
>> optimization
>>      
>>>> technique that needs careful attention and can cause
>>>>          
>> problems if done
>>      
>>>> improperly.
>>>>
>>>>          
>>> Providing CSS sprite support would be (I guess) just a service for
>>>        
>    
>>> modules/extensions to use, just as a part of the proposed client
>>> resource manager(?). So the mediawiki or an extension can put in a
>>>        
>    
>>> request for a some stylesheet or javascript be linked to, it could
>>>        
>    
>>> also request for images possibly via CSS sprites.
>>>
>>> So don't see how it should cause a problem.
>>>
>>> Jared
>>>
>>>
>>> _______________________________________________
>>> Wikitech-l mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>>
>>>        
>> So you are saying that you believe a generic set of
>> sprite-generation utilities are going to be able to
>> completely overcome the issues I identified and be a better
>> use of time (to design, develop and use) than just creating
>> and using sprites manually?
>>
>> - Trevor
>>      
> I wouldn't say there a issues with CSS sprites, but there are
> limitations which you have to be aware of before deciding on using
> them, and therefore do not need overcoming.
>
> In the context of providing toolbar imagery for UIs like a WYSIWYG
> editor, or for playing video, audio, or for simple image editing, they
> can remove a lot of round triping.
>
> Jared
>
>
>
>
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>    
Sounds like we agree. The issues weren't issues with sprites, they were 
issues with automating them.

- Trevor

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to