mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 09:22:53 +00:00
LibWeb: Use padding box to get background rect for inline paintable
Fixes regression introduced by f574e2b03a
This commit is contained in:
parent
c891b83fc0
commit
0fe84e89b2
Notes:
github-actions[bot]
2024-08-06 14:26:28 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 0fe84e89b2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/992
3 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.box {
|
||||
width: 200px;
|
||||
}
|
||||
.box span {
|
||||
background: rgb(138, 100, 229);
|
||||
border: 3px solid orange;
|
||||
font-size: 16px;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 5px 13px;
|
||||
display: block;
|
||||
width: fit-content;
|
||||
}
|
||||
</style>
|
||||
<div class="box"><span>Text</span></div>
|
Loading…
Add table
Add a link
Reference in a new issue