mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Implementing canvas drawImage API for HTML Canvas elements as image source
This commit is contained in:
parent
2a9f29f382
commit
e3f5a76baa
44 changed files with 1567 additions and 118 deletions
21
tests/ref/2dcontext/transform_ref.html
Normal file
21
tests/ref/2dcontext/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