Skip to content

Commit 610f71c

Browse files
committed
Test blank selector
1 parent d66c19c commit 610f71c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
--TEST--
2+
CSS Selectors - Pseudo classes: blank
3+
--EXTENSIONS--
4+
dom
5+
--FILE--
6+
<?php
7+
8+
require __DIR__ . '/test_utils.inc';
9+
10+
$dom = DOM\XMLDocument::createFromString(<<<XML
11+
<container/>
12+
XML);
13+
14+
try {
15+
test_helper($dom, ':blank');
16+
} catch (Error $e) {
17+
echo $e->getMessage(), "\n";
18+
}
19+
20+
?>
21+
--EXPECT--
22+
--- Selector: :blank ---
23+
DOM\Document::querySelectorAll(): Argument #1 ($selectors) :blank selector is not implemented because CSSWG has not yet decided its semantics (https://github.com/w3c/csswg-drafts/issues/1967)

0 commit comments

Comments
 (0)