Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRendering issue of styled buttons (psychonautwiki.org) #18991
Comments
|
Can you give us the URL of the page you're visiting? |
|
Oh, sorry about that. One of the URLs affected: https://psychonautwiki.org/wiki/Main_Page. |
|
I can reproduce this issue on latest master. |
|
Running servo with incremental layout disabled would not reproduce the issue. |
|
Hi @KiChjang |
|
@CYBAI nobody has pin-pointed the cause yet (modulo it being related to incremental layout), so we don't know how easy or hard it is to fix. The first step would be to create a reduced test-case that reproduces the issue, and then investigate it. |
|
FTR I tried to make a reduced test case to no avail 2 days ago. |
<style>
.container {
display: flex;
width: 139px
}
.container div a {
padding: .3em .75em;
}
.container div#former a {
background: #ffefc8;
}
.container div#latter a {
background: #e9f6fd;
}
.container div#former a:hover {
background: #ffdfa8;
}
.container div#latter a:hover {
background: #effffd;
}
</style>
<div class="container">
<div id="former">
<a href="https://psychonautwiki.org/wiki/Donate">Donate</a>
</div>
<div id="latter">
<a href="https://psychonautwiki.org/wiki/Contact_us">Contact</a>
</div>
</div>Just tried to make a small test case from the page. From this test case, when you hover on the button, another one will become longer. If you tried to comment this rule .container div a {
padding: .3em .75em;
}Then the buttons won't become longer on hover. |
|
For above reduced test case, I found if setting |

Hey,
there's a weird style rendering issue affecting styled buttons on PsychonautWiki:
I couldn't exactly pin down the issue, but it seems to be related to either the gradient or background styling.
-- K