<?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>15206</bug_id>
          
          <creation_ts>2007-09-13 14:08:44 -0700</creation_ts>
          <short_desc>REGRESSION: links/images cut in half (body:last-child CSS hack doesn&apos;t work in TOT)</short_desc>
          <delta_ts>2008-02-20 06:36:59 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://sfgate.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>4812</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Carson">dacarson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>cgriego</cc>
    
    <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>vicki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>520</commentid>
    <comment_count>0</comment_count>
    <who name="David Carson">dacarson</who>
    <bug_when>2007-09-13 14:08:44 -0700</bug_when>
    <thetext>The images in the left hand side of the screen, in the Marketplace section have the bottom half cut off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-09-14 01:49:30 -0700</bug_when>
    <thetext>This bug stems from the recent removal of (buggy) :last-child support. Specifically, WebKit no longer applies this odd rule[1] in &lt;http://sfgate.com/templates/types/homepage/style/homepage.css&gt;:

body:last-child #verticalmenu li a {
width:auto;
display:block;
}

[1] body:last-child is a CSS hack for targeting specific browsers: &lt;http://thomas.tanreisoftware.com/?p=11&gt;.

Bug 5468 is tracking the :last-child situation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-09-14 02:07:01 -0700</bug_when>
    <thetext>Andrew Wellington has confirmed that this is indeed a regression from Safari 2.0.4 (which had the buggy :last-child support).

To keep the CSS hack working, WebKit could special-case body:last-child. Doing so would be backwards- and forwards-compatible.

Otherwise, I am afraid this bug is an evangelism bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-18 07:18:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/5488787&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60687</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2007-11-08 15:01:33 -0800</bug_when>
    <thetext>I talked to Hyatt about this on IRC. He didn&apos;t like the idea of a hack, so for now, we will make this an Evangelism bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69172</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-02-02 10:49:18 -0800</bug_when>
    <thetext>:last-child fixed in &lt;http://trac.webkit.org/projects/webkit/changeset/29933&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>