mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Update web-platform-tests to revision dcdebb1b8e7d3f9a4650498c1efeae78060294e5
This commit is contained in:
parent
802e16b702
commit
217eb600af
77 changed files with 4531 additions and 274 deletions
|
@ -22,7 +22,7 @@ function compareSpaceWithAndWithoutStyle(tag, style, parentStyle, direction) {
|
|||
|
||||
if (!direction)
|
||||
direction = "ltr";
|
||||
document.body.insertAdjacentHTML("beforeend", `<div>\
|
||||
document.body.insertAdjacentHTML("beforeend", `<div style="position: absolute;">\
|
||||
<math><mrow dir="${direction}">${MathMLFragments[tag]}</mrow></math>\
|
||||
<math><mrow dir="${direction}">${MathMLFragments[tag]}</mrow></math>\
|
||||
</div>`);
|
||||
|
@ -64,7 +64,7 @@ function compareSizeWithAndWithoutStyle(tag, style) {
|
|||
if (!FragmentHelper.isValidChildOfMrow(tag))
|
||||
throw `Invalid argument: ${tag}`;
|
||||
|
||||
document.body.insertAdjacentHTML("beforeend", `<div>\
|
||||
document.body.insertAdjacentHTML("beforeend", `<div style="position: absolute;">\
|
||||
<math>${MathMLFragments[tag]}</math>\
|
||||
<math>${MathMLFragments[tag]}</math>\
|
||||
</div>`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue