mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:28:13 +00:00
LibWeb: Hide input placeholder when input already has a value
This commit is contained in:
parent
df57d7ca68
commit
d025d207d9
6 changed files with 50 additions and 21 deletions
15
Tests/LibWeb/Ref/reference/input-placeholder-ref.html
Normal file
15
Tests/LibWeb/Ref/reference/input-placeholder-ref.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
body {
|
||||
background-color: white;
|
||||
}
|
||||
</style>
|
||||
<!-- To rebase:
|
||||
1. Open input-placeholder.html in Ladybird
|
||||
2. Resize the window just above the width of the canvas
|
||||
3. Right click > "Take Full Screenshot"
|
||||
4. Update the image below:
|
||||
-->
|
||||
<img src="./images/input-placeholder-ref.png">
|
Loading…
Add table
Add a link
Reference in a new issue