On Wed, Nov 4, 2015 at 9:17 PM, Ms2ger <ms2...@gmail.com> wrote:

> I'm not sure why you scoped this to inefficient spec algorithms


Because inefficient or complexity-inducing specs cause problems, the rest,
less so.

If the spec isn't consistently implemented across the board, but
implementing the spec is low-effort (and doesn't hit perf) for us,
we can just implement it, file a spec bug, and reimplement if it ever gets
fixed. Whereas if it's something like the :target or
HTMLFormControlsCollection thing,we have to needlessly implement extra
functionality or refactor parts of DOM introducing inefficiencies,
and if the spec ever gets fixed, rip it all out.

I'd prefer to avoid diverging from the spec wherever possible -- even if
other browsers disagree (with the spec and with each other), implementing
what the spec says (rather than picking our favorite browser and mimicing
it) and filing a bug -- if it's not too hard to do so -- is what we should
do.

-Manish Goregaokar
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to