<?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>40895</bug_id>
          
          <creation_ts>2010-06-20 17:54:10 -0700</creation_ts>
          <short_desc>Content Generated with Pseudo-Class &quot;:before&quot; on &quot;ruby&quot; Element Causes Crash</short_desc>
          <delta_ts>2012-02-23 03:07:35 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>41040</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hugh Guiney">hugh</reporter>
          <assigned_to name="Roland Steiner">rolandsteiner</assigned_to>
          <cc>ap</cc>
    
    <cc>rniwa</cc>
    
    <cc>rolandsteiner</cc>
    
    <cc>shanestephens</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>240549</commentid>
    <comment_count>0</comment_count>
    <who name="Hugh Guiney">hugh</who>
    <bug_when>2010-06-20 17:54:10 -0700</bug_when>
    <thetext>CSS in linked stylesheet, saved as UTF-8 w/o BOM:

ruby:before {
	content:&apos;[content]&apos;;
}

Where &quot;[content]&quot; is text (tested with &quot;-&quot;, &quot;.&quot;, and &quot;text&quot;).

Crashes Safari 5.0 (7533.16), Chrome 5.0 (5.0.375.70), and latest WebKit nightly (r61358).

&quot;ruby:after&quot; works fine and so do a bunch of other elements with &quot;:before&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241651</commentid>
    <comment_count>1</comment_count>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2010-06-22 21:46:07 -0700</bug_when>
    <thetext>I can&apos;t seem to replicate this with a ToT build, could you provide a simple HTML file (+ CSS file if this happens only with external stylesheets) that causes the renderer to crash?

Now, the rendering is incorrect - the :before text should not become part of the first ruby base. Filed a sepearate bug https://bugs.webkit.org/show_bug.cgi?id=41040 for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248060</commentid>
    <comment_count>2</comment_count>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2010-07-08 01:14:00 -0700</bug_when>
    <thetext>Added a patch to https://bugs.webkit.org/show_bug.cgi?id=41040.

That patch should (in theory) also fix any remaining crashing scenario remaining here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562768</commentid>
    <comment_count>3</comment_count>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2012-02-22 20:39:03 -0800</bug_when>
    <thetext>Does this still or again cause issues? I cannot replicate this on Chrome 17.0.963.56 (WK 107431).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563005</commentid>
    <comment_count>4</comment_count>
    <who name="Shane Stephens">shanestephens</who>
    <bug_when>2012-02-23 03:07:35 -0800</bug_when>
    <thetext>I guess we can close it then :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>