impl the extra child data attribute to align id map
This commit is contained in:
@@ -76,7 +76,7 @@ exports[`[html file]: form-fields.html 1`] = `
|
||||
<input type=\\"checkbox\\" checked=\\"\\" data-rrid=\\"32\\" />
|
||||
</label>
|
||||
<label for=\\"textarea\\" data-rrid=\\"35\\">
|
||||
<textarea name=\\"\\" id=\\"\\" cols=\\"30\\" rows=\\"10\\" data-rrid=\\"37\\">1234</textarea>
|
||||
<textarea name=\\"\\" id=\\"\\" cols=\\"30\\" rows=\\"10\\" data-extra-child-index=\\"[0]\\" data-rrid=\\"37\\">1234</textarea>
|
||||
</label>
|
||||
<label for=\\"select\\" data-rrid=\\"40\\">
|
||||
<select name=\\"\\" id=\\"\\" value=\\"2\\" data-rrid=\\"42\\">
|
||||
@@ -84,7 +84,7 @@ exports[`[html file]: form-fields.html 1`] = `
|
||||
<option value=\\"2\\" selected=\\"\\" data-rrid=\\"47\\">2</option>
|
||||
</select>
|
||||
</label>
|
||||
</form><noscript data-rrid=\\"53\\"></noscript>
|
||||
</form><noscript data-rrid=\\"53\\">SCRIPT_PLACEHOLDER</noscript>
|
||||
</body></html>"
|
||||
`;
|
||||
|
||||
@@ -130,7 +130,7 @@ exports[`[html file]: with-script.html 1`] = `
|
||||
<title data-rrid=\\"12\\">with script</title>
|
||||
</head><body data-rrid=\\"16\\">
|
||||
<noscript src=\\"http://localhost:3030/js/a.js\\" data-rrid=\\"18\\"></noscript>
|
||||
<noscript data-rrid=\\"20\\"></noscript></body></html>"
|
||||
<noscript data-rrid=\\"20\\">SCRIPT_PLACEHOLDER</noscript></body></html>"
|
||||
`;
|
||||
|
||||
exports[`[html file]: with-style-sheet.html 1`] = `
|
||||
@@ -139,7 +139,7 @@ exports[`[html file]: with-style-sheet.html 1`] = `
|
||||
<meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\" data-rrid=\\"8\\" />
|
||||
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\" data-rrid=\\"10\\" />
|
||||
<title data-rrid=\\"12\\">with style sheet</title>
|
||||
<style data-rrid=\\"15\\">body { margin: 0px; background: url('http://localhost:3030/a.jpg'); }p { color: red; background: url('http://localhost:3030/css/b.jpg'); }body > p { color: yellow; }</style>
|
||||
<style data-extra-child-index=\\"[0]\\" data-rrid=\\"15\\">body { margin: 0px; background: url('http://localhost:3030/a.jpg'); }p { color: red; background: url('http://localhost:3030/css/b.jpg'); }body > p { color: yellow; }</style>
|
||||
</head><body data-rrid=\\"18\\">
|
||||
</body></html>"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user