<?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>23788</bug_id>
          
          <creation_ts>2009-02-06 06:34:52 -0800</creation_ts>
          <short_desc>call style()-&gt;isOriginalDisplayInlineType() on RenderBox</short_desc>
          <delta_ts>2009-02-07 18:12:21 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="alan">zalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108632</commentid>
    <comment_count>0</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2009-02-06 06:34:52 -0800</bug_when>
    <thetext>call style()-&gt;isOriginalDisplayInlineType() on RenderBox instead of RenderObject. Same as in RenderBlock::skipTrailingWhitespace(); 
The change in RenderBlock::skipTrailingWhitespace() was introduced by http://trac.webkit.org/changeset/40679 and probably was missed in RenderBlock::skipLeadingWhitespace().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108633</commentid>
    <comment_count>1</comment_count>
      <attachid>27396</attachid>
    <who name="alan">zalan</who>
    <bug_when>2009-02-06 06:37:31 -0800</bug_when>
    <thetext>Created attachment 27396
isOriginalDisplayInlineType() call</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108819</commentid>
    <comment_count>2</comment_count>
      <attachid>27396</attachid>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2009-02-07 06:43:21 -0800</bug_when>
    <thetext>Comment on attachment 27396
isOriginalDisplayInlineType() call

&gt; Index: WebCore/ChangeLog
&gt; ===================================================================
&gt; --- WebCore/ChangeLog	(revision 40718)
&gt; +++ WebCore/ChangeLog	(working copy)
&gt; @@ -1,3 +1,13 @@
&gt; +2009-02-06  Zalan Bujtas  &lt;zbujtas@gmail.com&gt;
&gt; +
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +        
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=23788
&gt; +        call style()-&gt;isOriginalDisplayInlineType() on RenderBox instead of RenderObject. 
&gt; +        
&gt; +        * rendering/bidi.cpp:
&gt; +        (WebCore::RenderBlock::skipLeadingWhitespace):
&gt; +
&gt;  2009-02-06  Simon Hausmann  &lt;simon.hausmann@nokia.com&gt;
&gt;  
&gt;          Reviewed by Tor Arne Vestbø.
&gt; Index: WebCore/rendering/bidi.cpp
&gt; ===================================================================
&gt; --- WebCore/rendering/bidi.cpp	(revision 40717)
&gt; +++ WebCore/rendering/bidi.cpp	(working copy)
&gt; @@ -1480,7 +1480,7 @@ int RenderBlock::skipLeadingWhitespace(I
&gt;      
&gt;              RenderBox* box = toRenderBox(object);
&gt;              if (box-&gt;style()-&gt;hasStaticX()) {
&gt; -                if (object-&gt;style()-&gt;isOriginalDisplayInlineType())
&gt; +                if (box-&gt;style()-&gt;isOriginalDisplayInlineType())
&gt;                      box-&gt;layer()-&gt;setStaticX(style()-&gt;direction() == LTR ? leftOffset(height(), firstLine) : width() - rightOffset(height(), firstLine));
&gt;                  else
&gt;                      box-&gt;layer()-&gt;setStaticX(style()-&gt;direction() == LTR ? borderLeft() + paddingLeft() : borderRight() + paddingRight());

AFAICS the end result is the same, but indeed confusing to use object here. r = me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108857</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2009-02-07 18:12:21 -0800</bug_when>
    <thetext>Applied in http://trac.webkit.org/changeset/40766.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27396</attachid>
            <date>2009-02-06 06:37:31 -0800</date>
            <delta_ts>2009-02-07 06:43:21 -0800</delta_ts>
            <desc>isOriginalDisplayInlineType() call</desc>
            <filename>bidi.patch</filename>
            <type>text/plain</type>
            <size>1440</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0MDcxOCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMDktMDItMDYgIFphbGFuIEJ1anRhcyAgPHpidWp0YXNAZ21haWwu
Y29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorICAgICAgICAKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIzNzg4CisgICAg
ICAgIGNhbGwgc3R5bGUoKS0+aXNPcmlnaW5hbERpc3BsYXlJbmxpbmVUeXBlKCkgb24gUmVuZGVy
Qm94IGluc3RlYWQgb2YgUmVuZGVyT2JqZWN0LiAKKyAgICAgICAgCisgICAgICAgICogcmVuZGVy
aW5nL2JpZGkuY3BwOgorICAgICAgICAoV2ViQ29yZTo6UmVuZGVyQmxvY2s6OnNraXBMZWFkaW5n
V2hpdGVzcGFjZSk6CisKIDIwMDktMDItMDYgI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VFIgPyBib3JkZXJMZWZ0KCkgKyBwYWRkaW5nTGVmdCgpIDogYm9yZGVyUmlnaHQoKSArIHBh
ZGRpbmdSaWdodCgpKTsK
</data>
<flag name="review"
          id="13238"
          type_id="1"
          status="+"
          setter="rwlbuis"
    />
          </attachment>
      

    </bug>

</bugzilla>