summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-typed-om/rotate-by-added-angle-ref.html
blob: 36c18d84294c2724427c14809f9e69435849d839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-typed-om-1/#stylevalue-subclasses">
<meta name="assert" content="CSSUnitValue of different angle units can be added correctly.">
<style>
.ref {
  width: 200px;
  height: 100px;
  position: absolute;
  top: 100px;
  left: 100px;
  transform: rotate(90deg);
  background-color: green;
}
</style>
<p>Test passes if there is a filled green rectangle with <strong>no red</strong>.</p>
<div class="ref"></div>