mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
input-placeholder-ref was modified because the input box ends up being slightly wider outside of quirks mode.
20 lines
446 B
HTML
20 lines
446 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../expected/canvas-fillstyle-opacity-ref.html" />
|
|
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
}
|
|
body {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
|
|
<canvas id="myCanvas" width="200" height="200"></canvas>
|
|
|
|
<script>
|
|
const canvas = document.getElementById('myCanvas');
|
|
const ctx = canvas.getContext('2d');
|
|
ctx.fillStyle = 'rgba(0, 0, 255, 0.5)';
|
|
ctx.fillRect(50, 50, 100, 100);
|
|
</script>
|