Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use clearer variable names in grid WPT to avoid spurious MISSING test…
… results. Fixes web-platform-tests/interop#646 This patch improves WPT grid-shorthand-serialization.html to better distinguish between the `cssText` function-param vs. the serialization of that string that the test reads back from the style system. As of this patch, we'll now use the function-param (not its serialization) when generating the subtest "name" value that we pass to the test(...) function. This makes for more consistent output and removes the possibility for browser-specific serialization-quirks to influence the subtest-name, as discussed in web-platform-tests/interop#646 The test continues to use the serialized value (under a new/clearer variable name) in the assert_true() expression, though; this way, if the test fails, it remains easy to see the actual strings that are involved in the `indexOf` operation that's causing the test-failure.
- Loading branch information