Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed text-decoration-width to text-decoration-thickness
Differential Revision: https://phabricator.services.mozilla.com/D38586 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1567282 gecko-commit: 35043a8b9d81b3216fee30fa1ac1c2261a38dcfd gecko-integration-branch: autoland gecko-reviewers: dholbert
- Loading branch information
1 parent
c23028e
commit 102126b
Showing
18 changed files
with
92 additions
and
92 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Text Decoration Test: parsing text-decoration-thickness with invalid values</title> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property"> | ||
<meta name="assert" content="text-decoration-thickness supports the following values: auto | from-font | <length>"> | ||
<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("text-decoration-thickness", "otto"); | ||
test_invalid_value("text-decoration-thickness", "asdlflj"); | ||
test_invalid_value("text-decoration-thickness", "-10"); | ||
test_invalid_value("text-decoration-thickness", "60002020"); | ||
test_invalid_value("text-decoration-thickness", "!@#$%^&"); | ||
test_invalid_value("text-decoration-thickness", "10e2"); | ||
test_invalid_value("text-decoration-thickness", "from font"); | ||
test_invalid_value("text-decoration-thickness", "10%"); | ||
test_invalid_value("text-decoration-thickness", "-27%"); | ||
test_invalid_value("text-decoration-thickness", "calc(40% - 20px)"); | ||
test_invalid_value("text-decoration-thickness", "calc(100% - 40em)"); | ||
</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
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,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Text Decoration Test: parsing text-decoration-thickness longhands with valid values</title> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property"> | ||
<meta name="assert" content="text-decoration-thickness supports the following values: auto | from-font | <length>"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/parsing-testcommon.js"></script> | ||
</head> | ||
<body> | ||
<script> | ||
test_valid_value("text-decoration-thickness", "auto"); | ||
test_valid_value("text-decoration-thickness", "from-font"); | ||
test_valid_value("text-decoration-thickness", "-10px"); | ||
test_valid_value("text-decoration-thickness", "2001em"); | ||
test_valid_value("text-decoration-thickness", "-49em"); | ||
test_valid_value("text-decoration-thickness", "53px"); | ||
test_valid_value("text-decoration-thickness", "calc(40em - 10px)"); | ||
test_valid_value("text-decoration-thickness", "calc(-50em + 13px)"); | ||
</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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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