diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/parsing')
-rw-r--r-- | testing/web-platform/tests/css/css-grid/parsing/grid-shorthand-serialization.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/web-platform/tests/css/css-grid/parsing/grid-shorthand-serialization.html b/testing/web-platform/tests/css/css-grid/parsing/grid-shorthand-serialization.html index 7751fd883b..29bab75f61 100644 --- a/testing/web-platform/tests/css/css-grid/parsing/grid-shorthand-serialization.html +++ b/testing/web-platform/tests/css/css-grid/parsing/grid-shorthand-serialization.html @@ -33,11 +33,12 @@ } if (declarations) { - let cssText = div.style.cssText; + let cssTextSerialization = div.style.cssText; declarations.forEach(decl => { test(function(){ - assert_true(cssText.indexOf(decl) !== -1, `cssText ('${cssText}') must contain '${decl}'`); - }, `cssText ('${cssText}') must contain '${decl}'`); + assert_true(cssTextSerialization.indexOf(decl) !== -1, + `cssText serialization ('${cssTextSerialization}') must contain contain '${decl}'`); + }, `cssText ('${cssText}') must contain '${decl}' in its serialization`); }); } } |