mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests CSS: WPTs for dominant-baseline parsing dominant-baseline is specified to accept auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top Blink hasn't implemented support for text-bottom or text-top. https://drafts.csswg.org/css-inline-3/#dominant-baseline-property Change-Id: I956027066788415063ee0d6b9867af458da365cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728890 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#682671} -- wpt-commits: 267642fb2bb4fb91b5c6c8c5f53dcfb3a3e761cd wpt-pr: 18197
20 lines
845 B
HTML
20 lines
845 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Inline Layout: parsing dominant-baseline with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#dominant-baseline-property">
|
|
<meta name="assert" content="dominant-baseline supports only the grammar 'auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top'.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/parsing-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
test_invalid_value("dominant-baseline", "normal");
|
|
test_invalid_value("dominant-baseline", "none");
|
|
test_invalid_value("dominant-baseline", "alphabetic, ideographic");
|
|
test_invalid_value("dominant-baseline", "middle central");
|
|
</script>
|
|
</body>
|
|
</html>
|