You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
"use strict";
|
|
|
|
const HTMLElementImpl = require("./HTMLElement-impl").implementation;
|
|
const { reflectURLAttribute } = require("../../utils");
|
|
|
|
class HTMLTrackElementImpl extends HTMLElementImpl {
|
|
get readyState() {
|
|
return 0;
|
|
}
|
|
|
|
get src() {
|
|
return reflectURLAttribute(this, "src");
|
|
}
|
|
set src(value) {
|
|
this.setAttributeNS(null, "src", value);
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
implementation: HTMLTrackElementImpl
|
|
};
|
|
|