// Check that grid fragments are equal across reflows.
document.documentElement.offsetHeight; // Flush layout.
const gridB = grid.getGridFragments()[0];
is(gridB, gridA, "Grid fragments should be the same across reflows.");
// Check that grid fragments are different when styles are different.
cell.classList.replace("cellOriginal", "cellChanged");
const gridC = grid.getGridFragments()[0];
isnot(gridC, gridA, "Grids with different styles should have different fragments.");
// Check that changing a grid to a matching style results in different fragments.
cell.classList.replace("cellChanged", "cellOriginal");
const gridD = grid.getGridFragments()[0];
isnot(gridD, gridA, "Grids changed to the same styles should have different fragments.");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.