mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 915551. Allow text-align styling on ::-moz-placeholder. r=bzbarsky
This commit is contained in:
parent
5a04a52cb9
commit
d5293704a9
12
layout/reftests/css-placeholder/input/css-text-align.html
Normal file
12
layout/reftests/css-placeholder/input/css-text-align.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<link rel='stylesheet' type='text/css' href='style.css'>
|
||||
<style>
|
||||
input::-moz-placeholder {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<input placeholder='foo'>
|
||||
</body>
|
||||
</html>
|
@ -24,3 +24,4 @@ needs-focus == placeholder-blur.html placeholder-simple-ref.html
|
||||
# We can't check except by verifying that the output is different.
|
||||
# Same reasons as focus issues explained above.
|
||||
!= css-opacity.html placeholder-simple-ref.html
|
||||
!= css-text-align.html placeholder-simple-ref.html
|
||||
|
@ -2722,7 +2722,7 @@ CSS_PROP_TEXT(
|
||||
text-align,
|
||||
text_align,
|
||||
TextAlign,
|
||||
CSS_PROPERTY_PARSE_VALUE,
|
||||
CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_APPLIES_TO_PLACEHOLDER,
|
||||
"",
|
||||
// When we support aligning on a string, we can parse text-align
|
||||
// as a string....
|
||||
|
Loading…
Reference in New Issue
Block a user