diff --git a/layout/reftests/w3c-css/submitted/contain/contain-size-flex-001.html b/layout/reftests/w3c-css/submitted/contain/contain-size-flex-001.html index 1866dfd230b7..72ab97043b7b 100644 --- a/layout/reftests/w3c-css/submitted/contain/contain-size-flex-001.html +++ b/layout/reftests/w3c-css/submitted/contain/contain-size-flex-001.html @@ -2,7 +2,7 @@ - CSS Test: 'contain: size' on flex elements should cause them to be sized and baseline-aligned as if they had no contents. + CSS Test: 'contain: size' on flex elements should cause them to be sized as if they had no contents. diff --git a/layout/reftests/w3c-css/submitted/contain/contain-size-grid-001.html b/layout/reftests/w3c-css/submitted/contain/contain-size-grid-001.html index a85b0a3138de..c81fa1fa1db1 100644 --- a/layout/reftests/w3c-css/submitted/contain/contain-size-grid-001.html +++ b/layout/reftests/w3c-css/submitted/contain/contain-size-grid-001.html @@ -2,7 +2,7 @@ - CSS Test: 'contain: size' on grid elements should cause them to be sized and baseline-aligned as if they had no contents. + CSS Test: 'contain: size' on grid elements should cause them to be sized as if they had no contents.