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 upText colour wrong in GitHub text boxes #19401
Comments
|
Where is the suspected code that can fix this? CSS read |
|
That's the input |
|
Are there any code that dealing with color of placeholder? |
|
The placeholder code works by providing layout with the placeholder text content when layout asks for it, then layout styles it like non-placeholder content:
|
|
I think there are a couple of issues here:
With a reduced test case like: <html>
<head>
<style>
input {
color: red;
}
input::placeholder {
color: blue;
}
</style>
</head>
<body>
<input type="text" placeholder="Banana" />
</body>
</html>the layout is different in Gecko (left) and Servo (right): |
Actually, it seems that at least Stylo supports it, but it does not seem to be working properly. I'll investigate more. |
|
Apparently there's support for Gecko, but not for Servo, so I opened #19808 |

URL: https://github.com/
The colours of the text box text in GitHub are off. In Firefox they appear grey but in Servo they show up as black and white.
Image of issue (Firefox left, Servo right):
See "Search GitHub" and the sign up boxes. Tested in Windows 10 with Browser.html.