Re: [whatwg] alternate ids for elements

Domenic Denicola <d@domenic.me> writes:

> I too have run into this (specifically wanting to preserve old
> deep-links) and think it would be reasonable, in theory.

May I ask why you changed the element ids at all?

> However, in practice I see no reason for browsers to expend valuable
> engineering resources on this when an empty `<div>` (or, more
> traditionally, an empty `<a id=""></a>`) suffices to give the same
> functionality.

I believe this to be wrong – an empty element does not give the same
functionality; a wrapping <a> or <div> element, however, does that.

-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>

Received on Wednesday, 3 December 2014 16:14:32 UTC