commit | cad10f78fed6f86bc7c34f18ec32e05ddc46451c | [log] [tgz] |
---|---|---|
author | Andres Ricardo Perez <andresrperez@chromium.org> | Tue Jul 02 15:25:58 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 02 15:25:58 2024 |
tree | 7eb7aebb102a054d9e00b4dffa7a6c8fc35ce937 | |
parent | 5d2cbdb30fc9ae14f2588dd9f3803a0354f1ec66 [diff] |
Add <h1> tag to grid templates in generated canvas tests Since an explicit <body> tag wasn't present in the template for variant grids, it was not possible to attach and remove children from `document.body`. This is working already for offscreen tests that don't use grids, since the <h1> tag they use to place the test name creates an implicit <body>. This change adds this same <h1> tag to both grid templates. In a follow-up CL in the stack, this tag is used to compare via assert values calculated from a Canvas Text API to their counterpart from text placed in the DOM. Bug: 341213359 Change-Id: Id9d084adc261195601b0b9748e2bc0df5b8b0b59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5593277 Reviewed-by: Jean-Philippe Gravel <jpgravel@chromium.org> Commit-Queue: Andres Ricardo Perez <andresrperez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1322182}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.