repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
forms
/
resources
/
common-pseudo-classes.js
blob
9c083466a288754329fcc5e643fa80400a21dbd6
1
function matchedNodesContainId(root, selector, expectedId) {
2
var matchedNodes = root.querySelectorAll(selector);
3
for (var i = 0; i < matchedNodes.length; ++i) {
4
if (matchedNodes[i].id == expectedId)
5
return true;
6
}
7
return false;
8
}