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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'));
+1 −1
Original line number Diff line number Diff line
@@ -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'));
+1 −1
Original line number Diff line number Diff line
@@ -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'));
+1 −1
Original line number Diff line number Diff line
@@ -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'));
+1 −1
Original line number Diff line number Diff line
@@ -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'));
Loading