commit | 512d354146798fe724206bd3553b966b19708b4b | [log] [tgz] |
---|---|---|
author | Javier Fernandez <jfernandez@igalia.com> | Mon May 04 21:48:12 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 04 21:48:12 2020 |
tree | 5b00cd2b20bb5e8e04b19ab3f5ab3fa08b0b2359 | |
parent | fc177a168bda502f8368b161499331f11207cf27 [diff] |
[css-variables] Clone style when there are no variable references When resolving the CSS Custom Properties inheritance, we recalculate all the styles of nodes in the hierarchy. Following a similar approach to the one used for 'independent properties', we can just clone the node's parent style and propagate just the InheritedVariables data structure. We'll only recalc the styles if a node has any variable reference, defined as :var(--*), to a custom property. Bug: 1056209 Change-Id: I81081e11cd69f06e69a6030b97fabce3a50630b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2111172 Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#765278}
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.
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.