mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
This commit is contained in:
parent
287f390c4a
commit
55a0ee6ec7
28 changed files with 419 additions and 181 deletions
21
tests/ref/canvas_transform_ref.html
Normal file
21
tests/ref/canvas_transform_ref.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
position: absolute;
|
||||
background: rgb(255, 0, 0);
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
top: 30px;
|
||||
left: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue