mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1475777 [wpt PR 11981] - Update the css-counter-styles IDL file, a=testonly
Automatic update from web-platform-testsAdd the css-counter-styles IDL file + test (#11981) -- wpt-commits: b8a4fffad311305a9219ec7ae983f526ca978f78 wpt-pr: 11981
This commit is contained in:
parent
79ee9866ea
commit
bc7d8f9de3
@ -287637,6 +287637,11 @@
|
||||
{}
|
||||
]
|
||||
],
|
||||
"interfaces/css-counter-styles.idl": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"interfaces/css-font-loading.idl": [
|
||||
[
|
||||
{}
|
||||
@ -316735,6 +316740,12 @@
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-counter-styles/idlharness.html": [
|
||||
[
|
||||
"/css/css-counter-styles/idlharness.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-display/display-contents-computed-style.html": [
|
||||
[
|
||||
"/css/css-display/display-contents-computed-style.html",
|
||||
@ -507306,6 +507317,10 @@
|
||||
"fa84f0514e4437d3f7bfa244d0c918adcdb2b387",
|
||||
"manual"
|
||||
],
|
||||
"css/css-counter-styles/idlharness.html": [
|
||||
"74110d44fac33763366a06a867bec0d8eb804316",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-counter-styles/japanese-formal/css3-counter-styles-047.html": [
|
||||
"97e41edc2a10dfb95589ce63a578edea9c369a59",
|
||||
"manual"
|
||||
@ -592166,6 +592181,10 @@
|
||||
"0019e54201874e5d2a2b10c887e44b8c42199c32",
|
||||
"support"
|
||||
],
|
||||
"interfaces/css-counter-styles.idl": [
|
||||
"437dd5859385f5a17f9b9b2509b8f50eeb42a717",
|
||||
"support"
|
||||
],
|
||||
"interfaces/css-font-loading.idl": [
|
||||
"9f2f252c5b63c159d9680de46a932bfa4335bf11",
|
||||
"support"
|
||||
|
@ -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>
|
23
testing/web-platform/tests/interfaces/css-counter-styles.idl
Normal file
23
testing/web-platform/tests/interfaces/css-counter-styles.idl
Normal file
@ -0,0 +1,23 @@
|
||||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the
|
||||
// "CSS Counter Styles Level 3" spec.
|
||||
// See: https://drafts.csswg.org/css-counter-styles/
|
||||
|
||||
partial interface CSSRule {
|
||||
const unsigned short COUNTER_STYLE_RULE = 11;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface CSSCounterStyleRule : CSSRule {
|
||||
attribute CSSOMString name;
|
||||
attribute CSSOMString system;
|
||||
attribute CSSOMString symbols;
|
||||
attribute CSSOMString additiveSymbols;
|
||||
attribute CSSOMString negative;
|
||||
attribute CSSOMString prefix;
|
||||
attribute CSSOMString suffix;
|
||||
attribute CSSOMString range;
|
||||
attribute CSSOMString pad;
|
||||
attribute CSSOMString speakAs;
|
||||
attribute CSSOMString fallback;
|
||||
};
|
Loading…
Reference in New Issue
Block a user