<?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>94158</bug_id>
          
          <creation_ts>2012-08-15 16:49:16 -0700</creation_ts>
          <short_desc>calc isn&apos;t working with viewport units</short_desc>
          <delta_ts>2014-06-11 09:31:12 -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>CSS</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></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>16662</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alan Stearns">stearns</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bjonesbe</cc>
    
    <cc>chris</cc>
    
    <cc>divya</cc>
    
    <cc>giuseppe.bilotta</cc>
    
    <cc>haaiee</cc>
    
    <cc>i_have</cc>
    
    <cc>inayaili</cc>
    
    <cc>maxime.goepp</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>mikelawther</cc>
    
    <cc>steffen.weber</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>696507</commentid>
    <comment_count>0</comment_count>
      <attachid>158661</attachid>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2012-08-15 16:49:16 -0700</bug_when>
    <thetext>Created attachment 158661
reftest

-webkit-calc is not evaluating vh/vw units</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782221</commentid>
    <comment_count>1</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2012-12-03 22:09:56 -0800</bug_when>
    <thetext>related: https://bugs.webkit.org/show_bug.cgi?id=91554. It looks like the original implementor of the vw/vh units in WebKit is not coming back to fix these issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782223</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2012-12-03 22:10:35 -0800</bug_when>
    <thetext>*** Bug 103774 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>989657</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Adams">chris</who>
    <bug_when>2014-03-12 09:31:29 -0700</bug_when>
    <thetext>The Chrome team has reportedly fixed this in Blink:

https://code.google.com/p/chromium/issues/detail?id=168840</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1006436</commentid>
    <comment_count>4</comment_count>
    <who name="Maxime Goepp">maxime.goepp</who>
    <bug_when>2014-05-03 18:13:50 -0700</bug_when>
    <thetext>Any chance for a backport in the near future as this is a major issue for layout design ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014776</commentid>
    <comment_count>5</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2014-06-11 09:31:12 -0700</bug_when>
    <thetext>This has been fixed with the patch for Bug 87846.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>158661</attachid>
            <date>2012-08-15 16:49:16 -0700</date>
            <delta_ts>2012-08-15 16:49:16 -0700</delta_ts>
            <desc>reftest</desc>
            <filename>calc-vw.html</filename>
            <type>text/html</type>
            <size>474</size>
            <attacher name="Alan Stearns">stearns</attacher>
            
              <data encoding="base64">PCEtLSB0aGUgd2lkdGggb2YgdGhlIHR3byByZWQgZGl2cyBzaG91bGQgYmUgZXF1YWwgLS0+Cjxz
dHlsZT4KICAgIGRpdiB7CiAgICAgICAgaGVpZ2h0OiAxMDBweDsKICAgICAgICBiYWNrZ3JvdW5k
LWNvbG9yOiByZWQ7CiAgICB9CiAgICAudncgewogICAgICAgIHdpZHRoOiAxMHZ3OwogICAgfQog
ICAgLmNhbGMtdncgewogICAgICAgIHdpZHRoOiAtd2Via2l0LWNhbGMoMTB2dyk7CiAgICB9CiAg
ICAuZXhwZWN0ZWQgewogICAgICAgIGhlaWdodDogMjAwcHg7CiAgICAgICAgd2lkdGg6IDEwdnc7
CiAgICAgICAgcG9zaXRpb246IGFic29sdXRlOwogICAgICAgIGJhY2tncm91bmQtY29sb3I6IGdy
ZWVuOwogICAgICAgIHRvcDogODsKICAgICAgICBsZWZ0OiA4OwogICAgfQo8L3N0eWxlPgo8ZGl2
IGNsYXNzPSJ2dyI+PC9kaXY+CjxkaXYgY2xhc3M9ImNhbGMtdnciPjwvZGl2Pgo8ZGl2IGNsYXNz
PSJleHBlY3RlZCI+PC9kaXY+
</data>

          </attachment>
      

    </bug>

</bugzilla>