On 2014-05-01, 3:12 PM, Ian Hickson wrote:
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.
So, which other UAs have so far agreed on which names? I don't think we
should ship the API unless there is a name for it that everyone agrees on.
Cheers,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform