Automatic update from web-platform-tests svg: Move tests for text-decoration-fill/stroke to css/fill-stroke These properties were moved from SVG to CSS Fill and Stroke. https://svgwg.org/svg2-draft/changes.html#:~:text=Removed%20the%20text%2Ddecoration%2Dfill Bug: 40604506 Change-Id: I421f66b9f3dd87501525c92dc3321bc5727240cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7202783 Reviewed-by: Fredrik Söderquist <fs@opera.com> Auto-Submit: Kent Tamura <tkent@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/main@{#1550339} -- wpt-commits: 5c8746ced15a842d752d30b3efc2275ba4e63418 wpt-pr: 56294
22 lines
794 B
HTML
22 lines
794 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Inheritance of CSS Fill and Stroket properties</title>
|
|
<link rel="help" href="https://drafts.fxtf.org/fill-stroke/#property-index">
|
|
<meta name="assert" content="Properties inherit according to the spec.">
|
|
<meta name="assert" content="Properties have initial values according to the spec.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/inheritance-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<div id="target"></div>
|
|
</div>
|
|
<script>
|
|
// https://drafts.fxtf.org/fill-stroke/#text-decor
|
|
assert_not_inherited('text-decoration-fill', 'match-text', 'red');
|
|
assert_not_inherited('text-decoration-stroke', 'match-text', 'red');
|
|
</script>
|
|
</body>
|
|
</html>
|