mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb/Painting: Keep alpha for inset/outset border colors
Also return the original color when needed, instead of reconstructing it from HSV.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
408694ab4f
commit
c7166527ce
Notes:
github-actions[bot]
2025-07-02 13:17:10 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/c7166527ce2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5271 Reviewed-by: https://github.com/gmta ✅
18
Tests/LibWeb/Ref/input/css/transparent-borders.html
Normal file
18
Tests/LibWeb/Ref/input/css/transparent-borders.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<link rel="match" href="../../expected/css/transparent-borders-ref.html" />
|
||||
<style>
|
||||
.example {
|
||||
width: 0;
|
||||
height: 0;
|
||||
background: orange;
|
||||
border: 20px solid transparent;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<div class="example" style="border-style: dotted"></div>
|
||||
<div class="example" style="border-style: dashed"></div>
|
||||
<div class="example" style="border-style: solid"></div>
|
||||
<div class="example" style="border-style: groove"></div>
|
||||
<div class="example" style="border-style: ridge"></div>
|
||||
<div class="example" style="border-style: inset"></div>
|
||||
<div class="example" style="border-style: outset"></div>
|
||||
Reference in New Issue
Block a user