[html5] document.lastModified clarification

Ken Koski mechaxl at gmail.com
Thu Aug 28 20:55:12 PDT 2014


According to
http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-lastmodified,
if the date and time are not known, "the attribute must return the current
date and time". Does current in this case mean the timestamp for when the
document was retrieved, or does it mean that document.lastModified is
equivalent to "new Date()" whenever the attribute is accessed? It appears
that Firefox uses the first meaning and Chrome uses the latter meaning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140828/4135631d/attachment.htm>


More information about the Help mailing list