mirror of
https://github.com/servo/servo.git
synced 2025-06-26 01:54:33 +01:00
17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// https://drafts.csswg.org/css-highlight-api-1/
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['css-highlight-api'],
|
|
['cssom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
Highlight: ['new Highlight(new Range())'],
|
|
HighlightRegistry: ['CSS.highlights'],
|
|
});
|
|
}
|
|
);
|