Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

101 changes: 0 additions & 101 deletions css/css-borders/tentative/border-shape-circle-hit-test-siblings.html

This file was deleted.

55 changes: 0 additions & 55 deletions css/css-borders/tentative/border-shape-circle-hit-test.html

This file was deleted.

This file was deleted.

19 changes: 19 additions & 0 deletions css/css-transforms/parsing/perspective-invalid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Transform Module Level 2: parsing perspective with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#perspective-property">
<meta name="assert" content="perspective supports only the grammar 'none | <length [0,∞]>'.">
<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("perspective", "1000");
test_invalid_value("perspective", "-1px");
test_invalid_value("perspective", "80%");
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions css/css-transforms/parsing/transform-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
test_invalid_value("transform", "skewY(0, 0)");

test_invalid_value("transform", "scaleX(2), scaleY(3)");

test_invalid_value("transform", "perspective(1000)");
</script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Compatibility: parsing -webkit-perspective with invalid values</title>
<link rel="help" href="https://compat.spec.whatwg.org/#propdef--webkit-perspective">
<link rel="help" href="https://github.com/whatwg/compat/issues/100">
<meta name="assert" content="-webkit-perspective also supports '<number [0,∞]>' in addition to 'none | <length [0,∞]>', but not 'calc([ <number [0,∞]> ])'">
<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("-webkit-perspective", "calc(1000)");
test_invalid_value("-webkit-perspective", "calc(25)");
</script>
</body>
</html>
28 changes: 28 additions & 0 deletions css/css-transforms/parsing/webkit-perspective-valid.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Compatibility: parsing -webkit-perspective with valid values</title>
<link rel="help" href="https://compat.spec.whatwg.org/#propdef--webkit-perspective">
<link rel="help" href="https://github.com/whatwg/compat/issues/100">
<meta name="assert" content="-webkit-perspective also supports '<number [0,∞]>' in addition to 'none | <length [0,∞]>'">
<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("-webkit-perspective", "initial");
test_valid_value("-webkit-perspective", "inherit");
test_valid_value("-webkit-perspective", "unset");
test_valid_value("-webkit-perspective", "revert");
test_valid_value("-webkit-perspective", "revert-layer");

test_valid_value("-webkit-perspective", "none");
test_valid_value("-webkit-perspective", "1000", "1000px");
test_valid_value("-webkit-perspective", "25", "25px");
test_valid_value("-webkit-perspective", "12px", "12px");
test_valid_value("-webkit-perspective", "3.5em", "3.5em");
</script>
</body>
</html>
Loading
Loading