-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate 2d.canvas.host.size.attributes.* to the new canvas WPT generator
This test uses different types of newline characters, like \n, \r and \f. The `indent` Jinja filter used by the test template [1] was dropping all of these, replacing them with normal newlines. This looks like a bug in Jinja: the `indent` filter could easily be made to preserve newline types. This CL overrides the default `indent` filter with a version doing exactly that. [1]: https://crsrc.org/c/third_party/blink/web_tests/external/wpt/html/canvas/tools/templates/testharness_element.html;l=62;drc=44ada975c0f28bc2d30c780314081ec2bb97bbe5 Bug: 40207206 Change-Id: I5ece8e0ce4199bb0c915e59131c26eed4ce58693 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172748 Commit-Queue: Jean-Philippe Gravel <[email protected]> Reviewed-by: Yi Xu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1408116}
- Loading branch information
1 parent
a806ea5
commit f98387d
Showing
4 changed files
with
162 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters