mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-22 20:52:43 +00:00
5d83c55f5e
Bug: T367248 Change-Id: If4267e083cd6721bdb80d32a84c1fd9306096b50
95 lines
2.3 KiB
Plaintext
95 lines
2.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`tables doesnt wrap floated tables 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<table class=\\"wikitable\\" style=\\"float:right\\">
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
</tbody>
|
|
</table>
|
|
<div>
|
|
</div></div>"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap nested tables 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table class=\\"wikitable\\"><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap tables that already have noresize 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\">
|
|
<table class=\\"wikitable\\">
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap tables that are already wrapped 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div>
|
|
<table class=\\"wikitable\\">
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap tables that are not wikitables 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<table>
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
<div>
|
|
</div></div>"
|
|
`;
|
|
|
|
exports[`tables wraps multiple table with div 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
</table></div><div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
</div>
|
|
"
|
|
`;
|
|
|
|
exports[`tables wraps table with div 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
</div>
|
|
"
|
|
`;
|