On Thu, 1 May 2014, Rik Cabanier wrote:
> 
> No particular reason. The spec text is identical; just the name of the 
> method changed. Roc suggested the new name and people liked it better. I 
> believe Ian stated that he would update the WHATWG version when there 
> are 2 implementations.

There's two methods in the HTML spec, drawSystemFocusRing(element) and 
drawCustomFocusRing(element). It's not clear to me that the name 
"drawFocusIfNeeded()" is an improvement on either. In particular, I can't 
tell which it's replacing, nor what the other would be called if we 
followed the same naming scheme.

The WHATWG spec is going to follow browsers, but that doesn't mean that 
the new name is necessarily better. If it was, I would have updated the 
spec already instead of waiting for multiple UAs to do something else.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to