Closed yiminghe closed 12 years ago
<=1.3.0
all
KISSY.ready(function (S) { var $ = S.all; var newNode = $('<div></div>'); console.log(S.one(document).contains(newNode)); console.log(S.one(document.body).contains(newNode)); })
all is same : false false
ie和safari一致,chrome和firefox一致。
document.contains ie/safari 没有 chrome 有
firefox uses compareDocumentPosition
KISSY Version :
<=1.3.0
Browsers :
all
What steps will reproduce the problem?
Expected
all is same : false false
actual
ie和safari一致,chrome和firefox一致。