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.
19 lines
409 B
19 lines
409 B
|
3 years ago
|
"use strict";
|
||
|
|
|
||
|
|
const conversions = require("webidl-conversions");
|
||
|
|
const HTMLElementImpl = require("./HTMLElement-impl").implementation;
|
||
|
|
|
||
|
|
class HTMLModElementImpl extends HTMLElementImpl {
|
||
|
|
get cite() {
|
||
|
|
return conversions.USVString(this.getAttributeNS(null, "cite"));
|
||
|
|
}
|
||
|
|
|
||
|
|
set cite(value) {
|
||
|
|
this.setAttributeNS(null, "cite", value);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
implementation: HTMLModElementImpl
|
||
|
|
};
|