RE: [css-om] CSSStyleDeclaration.parentElement

> Again, the main point is not that your request is not useful for
> polyfilling. What I suggest is that you shouldn't assume easier

It's not about easier. It's about possible VS impossible. There's a nuance.

I've an entire file full of things I believe the web platform should provide us, yet this is the *one* thing I decided to report because that's the only one I had no even-somehow-ugly option to work around properly; and it happens the spec is being rewritten at the time. 




> polyfilling is sufficient to make a new API worthwhile vs all the other
> things that need to get done.

Prioritize 5 lines of code? Like... really? (I know: tests, reviews, all that stuff, but in this case this is trivial as hell, we're talking about at grand max 3x3x10min to get all browsers on the page, and this is making the supposition that someone write a patch for this single change only and does not batch-in other changes in the CSSOM that will need to be done anyway). 

Sometimes, I wonder if I shouldn't just do it myself and commit patches to the browsers directly... Bummer that those dev environments are incredibly hard to setup. 




Nonetheless, if this is really the best use I can make of my time, I'll try to find other use cases during the weekend, we'll see what comes out of it. But, seriously, being able to access the element you're supposed to compute the style for... The more I think about it, the more I'm surprised this is even a debatable matter to start with. 		 	   		  

Received on Friday, 23 August 2013 22:47:35 UTC