From 9d8565cf9a45c19d804d0da1a27462d625497249 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 26 Jun 2020 18:26:18 +0200 Subject: [PATCH] LibWeb: Add CanvasRenderingContext2D.rotate() This is pretty limited since we don't have wholesale mapping through the context transform, but we have to start somewhere. :^) --- Base/res/html/misc/canvas-rotate.html | 12 ++++++++++++ Base/res/html/misc/welcome.html | 1 + Libraries/LibWeb/DOM/CanvasRenderingContext2D.cpp | 6 ++++++ Libraries/LibWeb/DOM/CanvasRenderingContext2D.h | 1 + Libraries/LibWeb/DOM/CanvasRenderingContext2D.idl | 1 + 5 files changed, 21 insertions(+) create mode 100644 Base/res/html/misc/canvas-rotate.html diff --git a/Base/res/html/misc/canvas-rotate.html b/Base/res/html/misc/canvas-rotate.html new file mode 100644 index 0000000000..9cdb9489ea --- /dev/null +++ b/Base/res/html/misc/canvas-rotate.html @@ -0,0 +1,12 @@ + + + + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index a4294f1605..d07b0ffd90 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -28,6 +28,7 @@ span#ua {

Your user agent is:

Some small test pages: