Skip to content
Snippets Groups Projects
Commit fb3553c6 authored by Ting-Yu Lin's avatar Ting-Yu Lin
Browse files

Bug 1895829 - Add ordinal to testcases in...

Bug 1895829 - Add ordinal to testcases in grid-auto-min-sizing-min-content-min-size-001.html and others. r=dholbert

With the ordinal numbers added, it is easier to discuss a specific test (when it
changes the behavior) in the future.

Differential Revision: https://phabricator.services.mozilla.com/D209904
parent 841a92fe
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ for (var i = 0; i < coltest.length; ++i) {
img.setAttribute("src","support/lime-24x2.png");
img.setAttribute("style",coltest[i] + "; min-width:"+ results[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("24x2.png -- "+coltest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${coltest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -52,7 +52,7 @@ for (var i = 0; i < coltest.length; ++i) {
img.setAttribute("src","support/lime-24x2.png");
img.setAttribute("style",coltest[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("24x2.png -- "+coltest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${coltest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -55,7 +55,7 @@ for (var i = 0; i < coltest.length; ++i) {
img.setAttribute("src","support/lime-24x2.png");
img.setAttribute("style",coltest[i] + "; width:"+ item_width[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("24x2.png -- "+coltest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${coltest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -53,7 +53,7 @@ for (var i = 0; i < coltest.length; ++i) {
img.setAttribute("src","support/lime-24x2.png");
img.setAttribute("style",coltest[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("24x2.png -- "+coltest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${coltest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -52,7 +52,7 @@ for (var i = 0; i < rowtest.length; ++i) {
img.setAttribute("src","support/lime-2x24.png");
img.setAttribute("style",rowtest[i] + "; min-height:"+ results[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("2x24.png -- "+rowtest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${rowtest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -51,7 +51,7 @@ for (var i = 0; i < rowtest.length; ++i) {
img.setAttribute("src","support/lime-2x24.png");
img.setAttribute("style",rowtest[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("2x24.png -- "+rowtest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${rowtest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -53,7 +53,7 @@ for (var i = 0; i < rowtest.length; ++i) {
img.setAttribute("src","support/lime-2x24.png");
img.setAttribute("style",rowtest[i] + "; max-height:auto; height:"+ item_height[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("2x24.png -- "+rowtest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${rowtest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
......@@ -52,7 +52,7 @@ for (var i = 0; i < rowtest.length; ++i) {
img.setAttribute("src","support/lime-2x24.png");
img.setAttribute("style",rowtest[i]);
grid.appendChild(img);
document.body.appendChild(document.createTextNode("2x24.png -- "+rowtest[i]+'\n'));
document.body.appendChild(document.createTextNode(`Test ${i+1}: 24x2.png -- ${rowtest[i]}`));
document.body.appendChild(document.createElement('br'));
document.body.appendChild(grid);
document.body.appendChild(document.createElement('br'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment