Sign in
webkit
/
WebKit
/
0b12fa5591e07a09b635ce1b9a87f0e7c691d55a
/
.
/
LayoutTests
/
fast
/
forms
/
resources
/
common-pseudo-classes.js
blob: 9c083466a288754329fcc5e643fa80400a21dbd6 [
file
] [
log
] [
blame
]
function
matchedNodesContainId
(
root
,
selector
,
expectedId
)
{
var
matchedNodes
=
root
.
querySelectorAll
(
selector
);
for
(
var
i
=
0
;
i
<
matchedNodes
.
length
;
++
i
)
{
if
(
matchedNodes
[
i
].
id
==
expectedId
)
return
true
;
}
return
false
;
}