<?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>123005</bug_id>
          
          <creation_ts>2013-10-17 17:29:58 -0700</creation_ts>
          <short_desc>[Windows] button-first-line-first-letter fails after r156527</short_desc>
          <delta_ts>2024-05-17 11:39:03 -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>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure, PlatformOnly, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roger Fong">roger_fong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>fujii</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>941057</commentid>
    <comment_count>0</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2013-10-17 17:29:58 -0700</bug_when>
    <thetext>fast\forms\button-first-line-first-letter.html

Assertion failure:     ASSERT(innerStyle-&gt;refCount() == 1);

&gt;	WebKit.dll!WebCore::RenderButton::setupInnerStyle(WebCore::RenderStyle * innerStyle)  Line 129	C++
     WebKit.dll!WebCore::RenderButton::styleDidChange(WebCore::StyleDifference diff, const WebCore::RenderStyle * oldStyle)  Line 111    C++
     WebKit.dll!WebCore::RenderElement::setStyle(WTF::PassRefPtr&lt;WebCore::RenderStyle&gt; style)  Line 398    C++
     WebKit.dll!WebCore::RenderElement::setAnimatableStyle(WTF::PassRefPtr&lt;WebCore::RenderStyle&gt; style)  Line 436    C++
     WebKit.dll!WebCore::Style::resolveLocal(WebCore::Element &amp; current, WebCore::Style::Change inheritedChange)  Line 604 + 0x19 bytes    C++
     WebKit.dll!WebCore::Style::resolveTree(WebCore::Element &amp; current, WebCore::Style::Change change)  Line 740 + 0xd bytes    C++
     WebKit.dll!WebCore::Style::resolveTree(WebCore::Element &amp; current, WebCore::Style::Change change)  Line 772 + 0xd bytes    C++
     WebKit.dll!WebCore::Style::resolveTree(WebCore::Element &amp; current, WebCore::Style::Change change)  Line 772 + 0xd bytes    C++
     WebKit.dll!WebCore::Style::resolveTree(WebCore::Document &amp; document, WebCore::Style::Change change)  Line 812 + 0xd bytes    C++
     WebKit.dll!WebCore::Document::recalcStyle(WebCore::Style::Change change)  Line 1729 + 0xd bytes    C++

The following .letter::first-letter { color: green; } is causing the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>941059</commentid>
    <comment_count>1</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2013-10-17 17:32:56 -0700</bug_when>
    <thetext>The refcount is 2 instead of 1.

I&apos;m also noticing that the RenderStyle passed to setAnimatableStyle(WTF::PassRefPtr&lt;WebCore::RenderStyle&gt; style)  Line 436    C++
has a refcoutn of 3. 

When the test is working it has a count of 4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036070</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-05-17 11:39:03 -0700</bug_when>
    <thetext>AppleWin port is gone and we don&apos;t have any platform specific expectation for all platforms (including win-cairo) as well [confirmed via &apos;searchfox.org&apos; (wubkat)] port.

Although I am not sure whether `win-cairo` port is Debug port or not and whether it triggers &apos;assert&apos; or not.

CCing - Fuji &amp; Don for their input.

Want to close old bugs. :-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>