mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision e2eb25aaa6dd3c512b172588f3400f9c25a410c3
This commit is contained in:
parent
3d4a416c6b
commit
8b66216ed2
484 changed files with 1945 additions and 1089 deletions
|
@ -12,13 +12,19 @@
|
|||
</head>
|
||||
<body>
|
||||
<script>
|
||||
// https://drafts.csswg.org/css-transforms-2/#individual-transform-serialization
|
||||
|
||||
// Serialize as the keyword none if and only if none was originally specified.
|
||||
test_valid_value("rotate", "none");
|
||||
|
||||
// If a 2d rotation is specified, the property must serialize as just an <angle>.
|
||||
test_valid_value("rotate", "0deg");
|
||||
|
||||
// If a 3d rotation is specified, the property must serialize with an axis specified.
|
||||
test_valid_value("rotate", "100 200 300 400grad");
|
||||
test_valid_value("rotate", "400grad 100 200 300", "100 200 300 400grad");
|
||||
|
||||
// If the axis is parallel with the x, y, or z axis, it must serialize as the appropriate keyword.
|
||||
test_valid_value("rotate", "x 400grad");
|
||||
test_valid_value("rotate", "400grad x", "x 400grad");
|
||||
test_valid_value("rotate", "1 0 0 400grad", "x 400grad");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue