commit | 7377d9c6d278bca393042b843f4f5f7f45de57a8 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Fri Apr 03 12:12:14 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 03 12:12:14 2020 |
tree | 56b157bef63db05923001c30ba9f1ae90b4dd0be | |
parent | df7b1383ecd861b0aea5da898b9ccd0b7eaf9c52 [diff] |
Only allow calc() combinations as per spec. We allowed calc expressions combining numbers and lengths, numbers and percentages, and even a combination of numbers, percentages, and lengths. None of those are allowed per the CSS Values and Units spec, and it made it possible to combine user units, lengths, and percentages into the same calc() for certain SVG CSS properties and attributes. See also: https://github.com/w3c/csswg-drafts/issues/4874 This improves SVG interop with Firefox. Firefox does not support calc() for numbers, though. Bug: 1061714 Change-Id: I9e5c492122242e51064310a40e28a233530e357c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134251 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#756226}
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.