fix block strategy
If an element was blocked, its child nodes should also be blocked. The interactions and mutations on the element and its child nodes also need to be blocked.
This commit is contained in:
12
test/html/block.html
Normal file
12
test/html/block.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!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>Block record</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="rr-block"><input type="text" /> <span id="text"></span></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user