<?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>130902</bug_id>
          
          <creation_ts>2014-03-28 10:18:22 -0700</creation_ts>
          <short_desc>Web Inspector: Screen ruler with relative units (CSS px and rem to start)</short_desc>
          <delta_ts>2016-12-13 15:34:23 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>995370</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2014-03-28 10:18:22 -0700</bug_when>
    <thetext>A physical EM ruler was requested as a joke on Twitter [1], but I believe a relative unit screen ruler would be both achievable and useful in the Web Inspector. 

PX and REM units would be very useful and easier to implement as a 1.0 version of the enhancement. EM and % would also be possible, but the UI may be difficult to get right; would you use the relative unit of the element under the mouse? Selected in the inspector? Both? Displaying EMs and % may be especially confusing for inexperienced CSS authors that don&apos;t understand they are multipliers of the ancestor nodes&apos; font sizes. In any case, PX and REM seem like a good start.

1. https://twitter.com/harryharrold/status/449556995277074432</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>995371</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-03-28 10:18:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/16458106&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>