<?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>92623</bug_id>
          
          <creation_ts>2012-07-30 02:20:07 -0700</creation_ts>
          <short_desc>Web Inspector: font names that start with a @ in CSS font-face are not properly handled.</short_desc>
          <delta_ts>2016-12-04 16:24:01 -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>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>
          
          <blocked>116924</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Pavlov (apavlov)">apavlov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>bburg</cc>
    
    <cc>bweinstein</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yurys</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>681795</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Pavlov (apavlov)">apavlov</who>
    <bug_when>2012-07-30 02:20:07 -0700</bug_when>
    <thetext>What steps will reproduce the problem?
1. Open Inspector on http://blogs.msdn.com/b/oldnewthing/archive/2012/07/19/10331400.aspx
2. Inspect the element with the &quot;font-face: SimSun&quot; style.
3. Check the styles sidebar.
4. Attempt to edit the font-face and change the name.
5. Inspect the element with the &quot;font-face: @SimSun&quot; style.
6. Check the styles sidebar.
7. Attempt to edit the font-face and set it to the correct name.

What is the expected result?

The second element&apos;s font-face is displayed as @SimSun and both entries can be edited the same way.

What happens instead?

Font-face is displayed as &quot;@SimSunn&quot;, though in the Elements view it is correct.  If you attempt to put a @ in a font name you are editing, Inspector crosses the line out and says the value is invalid.  You must escape the @ with a \ (as seen in the Elements view) for it to be accepted.  Editing the value will also add extra &quot;n&quot; on the end.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=138077</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681890</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Pavlov (apavlov)">apavlov</who>
    <bug_when>2012-07-30 04:59:51 -0700</bug_when>
    <thetext>void CSSParser::parseEscape(UChar*&amp; result) rewrites the input string, based on which CSSParser computes the actual (source) property name and value. According to zherczeg who rewrote the lexer earlier this year, this is a huge refactoring and doesn&apos;t seem reasonable at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051601</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-01 14:36:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/19107002&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256227</commentid>
    <comment_count>3</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-12-04 16:24:01 -0800</bug_when>
    <thetext>Unable to repro. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>