mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +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 ✅
17
Tests/LibWeb/Ref/expected/css/transparent-borders-ref.html
Normal file
17
Tests/LibWeb/Ref/expected/css/transparent-borders-ref.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<link rel="match" href="../../expected/css/transparent-borders-ref.html" />
|
||||
<style>
|
||||
.example {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: orange;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
<div class="example"></div>
|
||||
Reference in New Issue
Block a user