add select2.html snapshot test

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 97ed5eb229
commit 4e0c401583
3 changed files with 1176 additions and 0 deletions

26
test/html/select2.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Select2 3.5</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@3.5.1/select2.css">
</head>
<body>
<blockquote>
Select2 is a jQuery replacement for select boxes.
<br>
In the 3.5 version it use a quite complicated DOM generation strategy which is a good battle-test for rrweb's recorder.
</blockquote>
<select id="el">
<option value="a">A</option>
<option value="b">B</option>
</select>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@3.5.2-browserify/select2.min.js"></script>
<script>
$('#el').select2();
</script>
</body>
</html>