blob: e910df4c5abc609d619c607a9393a4c6f96d37ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!DOCTYPE html>
<script src="support/fake-selectlist.js"></script>
<body>
<script>
const selectlist = createFakeSelectlist('hello world');
document.body.appendChild(selectlist);
const oldMarker = selectlist.querySelector('.fake-selectlist-internal-selectlist-button-icon');
const newMarker = document.createElement('div');
newMarker.textContent = 'marker';
replaceChildElement(newMarker, oldMarker);
</script>
|