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 upBorder arrows are rendered incorrectly #2828
Comments
|
Could you specify more precisely where the issue is visible on the page? Comparing our rendering with Chromium, I could see that the shadow is a little bit denser, but nothing striking as broken. |
|
Looks fine on my Linux Nightly. |
|
This is on the latest linux nightly, too. With an nVidia GPU. The "firefox screenshot does not match native screenshot" thing was exactly the same with the text shadow issue. |
|
The "firefox screenshot" doesn't use webrender, so none of the webrender-codepath bugs will appear in those screenshots. |
|
(Also, I can reproduce the problem on macOS nightly) |
|
I wonder if this will be fixed by #2864 ? |
|
Nope. Still broken on Debian Testing, GTX 1060. |
|
I can repro (now?) on Linux. Took a capture from a reduced test case locally. |
|
Minimized test case: https://cpearce.github.io/html-test-cases/webrender-issue-2828-testcase.html Something like:
Changing the border-top to solid fixes the issue, so it may be related to the "dashed" border-top. |
|
[removed] is affected by this. Edit: Oh, sorry, yeah one doesn't have the hidexxx cookie by default. I should have linked a subpage. |
|
@Darkspirit I've removed that URL as it contained NSFW content that is probably not appropriate to link here. |
|
So this is only because the border-style is Depending on what are Gecko and Blink doing in this test-case just changing the border style to be |
|
I suspect very hard that Gecko is changing the start position of the dash in this code block: https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/layout/painting/nsCSSRenderingBorders.cpp#1589 |
|
Hmm, probably not that one, since the width of the sides is definitely not empty (even though it's transparent). Maybe this: https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/layout/painting/nsCSSRenderingBorders.cpp#1668 but would need to step through and see what goes on there. |
|
I can take a look at this while I'm looking at related issues. |
|
So this is because all browsers (except WR / Servo) force discontinuous dashed corners to start with a dash. You can see it easily resizing the textarea with this html: <!doctype html>
<style>
textarea {
border: 1px solid black;
border-top: 10px dashed black;
}
</style>
<textarea></textarea> |
|
@emilio This one is fixed and can be closed, I think? |
|
Yep! |


Making arrows with just one border side set to actually be visible is broken:
https://getbootstrap.com/docs/3.3/components/#dropdowns