mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -0,0 +1,34 @@
|
|||
<!doctype html>
|
||||
<title>css-counter-styles IDL tests</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles/">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/WebIDLParser.js"></script>
|
||||
<script src="/resources/idlharness.js"></script>
|
||||
|
||||
<style>
|
||||
@counter-style triangle {
|
||||
system: cyclic;
|
||||
symbols: ‣;
|
||||
suffix: " ";
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
'use strict';
|
||||
idl_test(
|
||||
['css-counter-styles'],
|
||||
['cssom'],
|
||||
idl_array => {
|
||||
try {
|
||||
self.counter = document.styleSheets[0].rules[0];
|
||||
} catch (e) {
|
||||
// Will be surfaced when counter is undefined below.
|
||||
}
|
||||
|
||||
idl_array.add_objects({
|
||||
CSSCounterStyleRule: ['counter'],
|
||||
});
|
||||
},
|
||||
'css-counter-styles interfaces'
|
||||
);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue