mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1698043 - Upstream the test for this bug to WPT. r=layout-reviewers,jfkthame
Seems like a reasonable thing to expect that the placeholder renders at the same place as the text it's a placeholder for. Differential Revision: https://phabricator.services.mozilla.com/D111239
This commit is contained in:
parent
9f7b34c24e
commit
27935a49df
@ -1,12 +0,0 @@
|
||||
<!doctype html>
|
||||
<style>
|
||||
input {
|
||||
color: black;
|
||||
text-align: right;
|
||||
}
|
||||
input::placeholder {
|
||||
color: inherit;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
<input type=number placeholder=0>
|
@ -44,7 +44,6 @@ fuzzy-if(skiaContent,0-1,0-1) == number-selected.html number-selected-ref.html
|
||||
== number-pseudo-elements.html number-pseudo-elements-ref.html
|
||||
|
||||
== number-placeholder.html number-placeholder-ref.html
|
||||
== number-placeholder-right-aligned.html number-placeholder-right-aligned-ref.html
|
||||
|
||||
# check that if the anonymous text control is reframed, we reframe the whole
|
||||
# number control (the fuzzy is for the top-right and bottom-left of the border
|
||||
|
@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1698043">
|
||||
<link rel="match" href="number-placeholder-right-aligned-ref.html">
|
||||
<style>
|
||||
input {
|
||||
color: black;
|
||||
text-align: right;
|
||||
}
|
||||
input::placeholder {
|
||||
color: inherit;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
<input type=number placeholder=0>
|
Loading…
Reference in New Issue
Block a user