Skip to content

Commit

Permalink
Style support for the CSS caret-animation property
Browse files Browse the repository at this point in the history
Add the CSS caret-animation property, behind the CSSCaretAnimation
runtime feature. The property does not have any effect yet.

See https://chromestatus.com/feature/5082469066604544

Bug: 329301988
Change-Id: I1a9e33ad0f8f7b0e576157c6945227c6d14de86b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5905981
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1364320}
  • Loading branch information
schenney-chromium authored and chromium-wpt-export-bot committed Oct 4, 2024
1 parent 2ecd329 commit 4e74229
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions css/css-ui/animation/caret-animation-parsing.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<title>Parsing of caret-animation</title>
<link rel="help" href="https://drafts.csswg.org/css-ui/#caret-animation">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<div id="target"></div>
<script>
test_valid_value('caret-animation', 'initial');
test_valid_value('caret-animation', 'inherit');
test_valid_value('caret-animation', 'unset');
test_valid_value('caret-animation', 'revert');
test_valid_value('caret-animation', 'auto');
test_valid_value('caret-animation', 'manual');
test_invalid_value('caret-animation', 'none');
test_invalid_value('caret-animation', 'manua');
test_invalid_value('caret-animation', 'fade');
test_invalid_value('caret-animation', 'blink');
</script>

0 comments on commit 4e74229

Please sign in to comment.