CSS: opacity properties accept percentage
The following properties accept either a number or a percentage: - fill-opacity - flood-opacity - opacity - shape-image-threshold - stop-opacity - stroke-opacity Each property serializes as a number. Spec: https://drafts.csswg.org/css-color/#typedef-alpha-value Intent to Implement and Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/SdPIaBdhzAQ/f26Mp_3REAAJ Credit to hanlee.dev@gmail.com for uploading a patch. Bug: 907787 Change-Id: Ie297d7225becafde73449c35bcb719c4847c87d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1734753 Commit-Queue: Emil A Eklund <eae@chromium.org> Auto-Submit: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#684459}
Showing
Please register or sign in to comment