<?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>198959</bug_id>
          
          <creation_ts>2019-06-18 03:33:29 -0700</creation_ts>
          <short_desc>input[type=date] with empty value has shrunken height</short_desc>
          <delta_ts>2023-09-20 02:25:58 -0700</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>Safari 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>roman.balaban</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>basuke</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>martijn.cuppens</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1545585</commentid>
    <comment_count>0</comment_count>
    <who name="">roman.balaban</who>
    <bug_when>2019-06-18 03:33:29 -0700</bug_when>
    <thetext>The input[type=date] element with empty value has shrunken height on iOS.
You can check this using this markup:
&lt;input type=&quot;date&quot;&gt;

and the following CSS rule:
input {
  -webkit-appearance: none;
}

See the https://jsfiddle.net/go9b61L0/ example on iOS device.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1545597</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-18 07:04:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/51847712&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1702661</commentid>
    <comment_count>2</comment_count>
    <who name="Martijn Cuppens">martijn.cuppens</who>
    <bug_when>2020-10-29 03:07:57 -0700</bug_when>
    <thetext>This is fixable by adding a height to the `::-webkit-date-and-time-value` pseudo element.

 ```
input::-webkit-date-and-time-value {
  height: 1.5em;
}
```

This also happens to the `::-webkit-inner-spin-button` pseudo element as I noticed here (https://opensource.apple.com/source/WebCore/WebCore-7602.4.6/css/html.css.auto.html).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>