From 9006c7aecee67bef5415cd5e33eaa096adf2a564 Mon Sep 17 00:00:00 2001 From: MacDue Date: Mon, 14 Aug 2023 20:56:06 +0100 Subject: [PATCH] LibWeb: Add ref test for opacity (stacking context) paint order Now that we can test this, let's add a test, as mentioned in: https://github.com/SerenityOS/serenity/pull/20559#issuecomment-1677126697 (I confirmed this test failed before #20559) --- Tests/LibWeb/Ref/opacity-stacking-ref.html | 4 ++++ Tests/LibWeb/Ref/opacity-stacking.html | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 Tests/LibWeb/Ref/opacity-stacking-ref.html create mode 100644 Tests/LibWeb/Ref/opacity-stacking.html diff --git a/Tests/LibWeb/Ref/opacity-stacking-ref.html b/Tests/LibWeb/Ref/opacity-stacking-ref.html new file mode 100644 index 0000000000..f31ff82917 --- /dev/null +++ b/Tests/LibWeb/Ref/opacity-stacking-ref.html @@ -0,0 +1,4 @@ + + + + diff --git a/Tests/LibWeb/Ref/opacity-stacking.html b/Tests/LibWeb/Ref/opacity-stacking.html new file mode 100644 index 0000000000..209f4a6eaf --- /dev/null +++ b/Tests/LibWeb/Ref/opacity-stacking.html @@ -0,0 +1,4 @@ + + + +