Wand
[Plugin] Awards »

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,601
Re: Wand
« Reply #15 on July 25th, 2012, 08:57 PM »
I'd personally prefer to run with the from/to syntax, that's nicer to read. What's the standard say? (I can't remember what the standard says)

I also think it would be better to not support it because there is a certain nicety around keeping things clean - and being less strict does tend to make it less clean.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Dr. Deejay

  • We-Gen
  • Happy new year all!
  • Posts: 118
Re: Wand
« Reply #16 on July 26th, 2012, 12:24 AM »
I think it looks great, I like the interface :)

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,412
Re: Wand
« Reply #17 on July 26th, 2012, 01:16 AM »
Thanks - except, the design elements were already floating about in the wild. I wanted to use the new HTML5 <progress> tag, but it wouldn't animate.. So I'm using two div's instead...

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,899
Re: Wand
« Reply #18 on July 28th, 2012, 11:21 AM »
Quote from Arantor on July 25th, 2012, 08:57 PM
I'd personally prefer to run with the from/to syntax, that's nicer to read. What's the standard say? (I can't remember what the standard says)
I agree it's nicer to read, but from and to are just 'aliases' to 0% and 100%.
The reality is, you can define more keyframes, e.g. at 0%, 25%, 57.5%, 100%... So it's not like I can prevent themers from using numbers.
Quote
I also think it would be better to not support it because there is a certain nicety around keeping things clean - and being less strict does tend to make it less clean.
Strictness would say, "only allow selectors starting with numbers when inside a @-keyframes definition"...
But it'd either make it slower to parse, or just impossible. (I'm a bit rusty when it comes to dealing with selector parsing. WeCSS is a fine work of art but I'm always on the verge of forgetting about its internals... And I'm not even sure documenting it further would help, ah ah.)
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,601
Re: Wand
« Reply #19 on July 28th, 2012, 02:52 PM »
Quote
The reality is, you can define more keyframes, e.g. at 0%, 25%, 57.5%, 100%... So it's not like I can prevent themers from using numbers.
Ah, in which case then you do have to.
Quote
But it'd either make it slower to parse, or just impossible.
Hmm, guess it does have to be then.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.