-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split out
text-wrap: pretty
parsing tests (#44335)
`text-wrap: balance` tests are part of Interop 2024 and should not cover the pretty value
- Loading branch information
Showing
5 changed files
with
34 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Text Module Test: text-wrap: pretty parsing</title> | ||
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-wrap"> | ||
<meta name="assert" content="text-wrap: pretty parsing"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/parsing-testcommon.js"></script> | ||
<script src="/css/support/computed-testcommon.js"></script> | ||
</head> | ||
<body> | ||
<div id="target"></div> | ||
<script> | ||
test_valid_value("text-wrap", "pretty"); | ||
test_valid_value("text-wrap", "wrap pretty", "pretty"); | ||
test_valid_value("text-wrap", "pretty wrap", "pretty"); | ||
test_valid_value("text-wrap", "stable wrap", "stable"); | ||
test_valid_value("text-wrap", "nowrap pretty"); | ||
test_valid_value("text-wrap", "pretty nowrap", "nowrap pretty"); | ||
test_valid_value("text-wrap-style", "pretty"); | ||
|
||
test_computed_value("text-wrap", "pretty"); | ||
test_computed_value("text-wrap", "wrap pretty", "pretty"); | ||
test_computed_value("text-wrap", "pretty wrap", "pretty"); | ||
test_computed_value("text-wrap", "stable wrap", "stable"); | ||
test_computed_value("text-wrap", "nowrap pretty"); | ||
test_computed_value("text-wrap", "pretty nowrap", "nowrap pretty"); | ||
test_computed_value("text-wrap-style", "pretty"); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters