<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>63367</bug_id>
          
          <creation_ts>2011-06-24 17:19:42 -0700</creation_ts>
          <short_desc>REGRESSION (r72052): Placeholder text alignment is no longer defaulted to the alignment of regular text</short_desc>
          <delta_ts>2021-01-21 03:32:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>49452</dependson>
    
    <dependson>64253</dependson>
          <blocked>63927</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yair Yogev">progame+wk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>beattie23</cc>
    
    <cc>darin</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric</cc>
    
    <cc>groby</cc>
    
    <cc>jonlee</cc>
    
    <cc>leviw</cc>
    
    <cc>mitz</cc>
    
    <cc>playmobil</cc>
    
    <cc>rniwa</cc>
    
    <cc>tkent</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>427256</commentid>
    <comment_count>0</comment_count>
      <attachid>98565</attachid>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2011-06-24 17:19:42 -0700</bug_when>
    <thetext>Created attachment 98565
testcase with different alignments\directions

Before r72052, if a textbox had &quot;text-align: center&quot; style, its placeholder also appeared in the middle (same goes for &quot;text-align: right&quot; accordingly)

but since then, the placeholder is always aligned to the left for regular direction input elements (and to the right for dir=&quot;rtl&quot; elements)

This is now affecting Chromium&apos;s DOM-UI options for Hebrew\Arabic UI since many input elements there were edited recently to have right alignment to properly support URLs and patterns (intentionally not using dir=ltr which isn&apos;t correct for such content).



Note: This issue is different than bug 54814 which is about the support for webkit-input-placeholder which got lost in r72052
also related but different: 
Bug 54797 REGRESSION (r72052): Placeholder text isn&apos;t centered with a large line-height

Tested using windows build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427258</commentid>
    <comment_count>1</comment_count>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2011-06-24 17:28:26 -0700</bug_when>
    <thetext>small correction in the summary: intentionally not using dir=*rtl*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427529</commentid>
    <comment_count>2</comment_count>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2011-06-26 08:56:42 -0700</bug_when>
    <thetext>InChromium issue: http://crbug.com/87546</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>436869</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-07-13 19:18:53 -0700</bug_when>
    <thetext>Fixed by http://trac.webkit.org/changeset/90971</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462000</commentid>
    <comment_count>4</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-09-04 18:18:44 -0700</bug_when>
    <thetext>*** Bug 67495 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1721120</commentid>
    <comment_count>5</comment_count>
      <attachid>98565</attachid>
    <who name="Brandon">beattie23</who>
    <bug_when>2021-01-21 03:32:31 -0800</bug_when>
    <thetext>Comment on attachment 98565
testcase with different alignments\directions

Placeholder text alignment is no longer defaulted to the alignment of regular text</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>98565</attachid>
            <date>2011-06-24 17:19:42 -0700</date>
            <delta_ts>2011-06-24 17:19:42 -0700</delta_ts>
            <desc>testcase with different alignments\directions</desc>
            <filename>text case.htm</filename>
            <type>text/html</type>
            <size>544</size>
            <attacher name="Yair Yogev">progame+wk</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8Ym9keT4NCjxpbnB1dCB0eXBlPSJ0ZXh0IiBwbGFjZWhvbGRlcj0ic2hvdWxkIGJl
IGNlbnRlcmVkIiBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyIiBkaXI9InJ0bCIgLz48YnI+DQo8
aW5wdXQgdHlwZT0idGV4dCIgcGxhY2Vob2xkZXI9InNob3VsZCBiZSBjZW50ZXJlZCIgc3R5bGU9
InRleHQtYWxpZ246IGNlbnRlciIgLz48YnI+DQo8aW5wdXQgdHlwZT0idGV4dCIgcGxhY2Vob2xk
ZXI9InNob3VsZCBiZSByaWdodCBhbGlnbmVkIiBzdHlsZT0idGV4dC1hbGlnbjogcmlnaHQiLz48
YnI+DQo8aW5wdXQgdHlwZT0idGV4dCIgcGxhY2Vob2xkZXI9InNob3VsZCBiZSBsZWZ0IGFsaWdu
ZWQiIHN0eWxlPSJ0ZXh0LWFsaWduOiBsZWZ0IiBkaXI9InJ0bCIvPjxicj4NCjxpbnB1dCB0eXBl
PSJ0ZXh0IiBwbGFjZWhvbGRlcj0iY29ycmVjdGx5IGxlZnQgYWxpZ25lZCIgIC8+PGJyPg0KPGlu
cHV0IHR5cGU9InRleHQiIHBsYWNlaG9sZGVyPSJjb3JyZWN0bHkgcmlnaHQgYWxpZ25lZCIgZGly
PSJydGwiIC8+PGJyPg0KPC9ib2R5Pg0KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>