Standards
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Standards

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 4th, 2008, 06:20 AM
Francois Remy
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
WebKit now supports CSS Variables

I think there would be a real use in having a new 'undefined' keyword as
legit variable value.

I totaly agree ! But the difficulty is to make "undefined" different from
theses:

selector {
pBlank: ; /* Consider that the property is not defined ( initial if
no inherit support, inherit otherly) */
pAuto: auto; /* Use the 'auto' value if it's possible, use blank if not
*/
pInherit: inherit; /* Force heritage and use the value of the same
property but for the parent */
pInitial: initial; /* The default value of this property */
}

What can we expect as behavior for "undefined" ?
Same as blank ?
Same as initial ?
Another behavior ?

We can also define a "default" value of a variable in a :
var(bgColor|green);
If no |default is provided, the variable value count as "", if not yet/more
defined.
So we don't need "undefined" (we can use blank instead).

But "undefined" can be used as keyword for blank.
Currently, 'pBlank: ;' is invalid, so we can't ask the browser to apply the
"blank" behavior.

Fremy

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Standards > WebKit now supports CSS Variables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT