Skip to content

Commit

Permalink
fix: prevent losing rel attr on anchor element (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove authored Jun 4, 2024
1 parent 9cf2977 commit 6409708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esm/html/anchor-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class HTMLAnchorElement extends HTMLElement {

get type() { return stringAttribute.get(this, 'type'); }
set type(value) { stringAttribute.set(this, 'type', value); }

get rel() { return stringAttribute.get(this, 'rel'); }
set rel(value) { stringAttribute.set(this, 'rel', value); }
/* c8 ignore stop */

}
Expand Down

0 comments on commit 6409708

Please sign in to comment.