gecko-dev/testing/web-platform/tests/css/css-pseudo/idlharness.html
Florian Rivoal 05ba1979a4 Bug 1588976 [wpt PR 19718] - Fix spec links to use actual anchors that exists, a=testonly
Automatic update from web-platform-tests
Fix spec links to use actual anchors that exists

--

wpt-commits: 0e1bcae7f14564f0946484c9e8021b0a6fdcb68d
wpt-pr: 19718
2019-10-24 18:03:58 +01:00

25 lines
702 B
HTML

<!doctype html>
<title>CSS Pseudo Element API IDL tests</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#cssom">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="/resources/idlharness.js"></script>
<script>
'use strict';
idl_test(
['css-pseudo'],
['cssom', 'html', 'dom'],
idl_array => {
idl_array.add_objects({
Window: ['window'],
CSSPseudoElementList: ['beforeElements'],
CSSPseudoElement: ['beforeElements.item(0)'],
});
window.beforeElements =
window.getPseudoElements(document.body, 'before');
}
);
</script>