<?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>40773</bug_id>
          
          <creation_ts>2010-06-17 06:06:59 -0700</creation_ts>
          <short_desc>MathML support doesn&apos;t build - access to private member in RenderMathMLRoot.cpp</short_desc>
          <delta_ts>2010-06-17 08:46:13 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>40327</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>red47514f7</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sausset</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>239355</commentid>
    <comment_count>0</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2010-06-17 06:06:59 -0700</bug_when>
    <thetext>[Nightly r61173]

When MathML is enabled, there is a call to RenderStyle&apos;s private method color(), which probably should be replaced with visitedDependentColor(CSSPropertyColor).

WebCore/mathml/RenderMathMLRoot.cpp, line 148: 
   info.context-&gt;setStrokeColor(style()-&gt;color(), sRGBColorSpace);

In WebCore/rendering/style/RenderStyle.h:
line 1109:
const Color visitedDependentColor(int colorProperty) const;
line 1227..1228:
-- cut --
private:
  // Color accessors are all private to make sure callers use visitedDependentColor instead to access them.
-- cut --

in that block (line 1218):    
const Color&amp; color() const { return inherited-&gt;color; }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239387</commentid>
    <comment_count>1</comment_count>
    <who name="François Sausset">sausset</who>
    <bug_when>2010-06-17 07:54:41 -0700</bug_when>
    <thetext>You are right.

A patch has just been submitted to solve that problem!

See Bug: https://bugs.webkit.org/show_bug.cgi?id=40327

The status of that bug should be DUPLICATE, but I haven&apos;t the rights to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239390</commentid>
    <comment_count>2</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2010-06-17 07:59:11 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 40327 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239394</commentid>
    <comment_count>3</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2010-06-17 08:00:38 -0700</bug_when>
    <thetext>Thanks, and sorry for inconvenience. I just thought that was a less widespread leftover problem than it is, and so my search was too narrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239408</commentid>
    <comment_count>4</comment_count>
    <who name="François Sausset">sausset</who>
    <bug_when>2010-06-17 08:46:13 -0700</bug_when>
    <thetext>Do not apologize!
Any help, test, etc  about mathml is welcomed as we are only very few ones to work on it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>