<?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>126646</bug_id>
          
          <creation_ts>2014-01-08 10:46:06 -0800</creation_ts>
          <short_desc>Subpixel layout: desiredColumnWidth in RenderBlock::calcColumnWidth() needs flooring.</short_desc>
          <delta_ts>2014-01-14 16:39:33 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          <blocked>126283</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="alan">zalan</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>jonlee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>965545</commentid>
    <comment_count>0</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-08 10:46:06 -0800</bug_when>
    <thetext>LayoutUnit desiredColumnWidth = std::max&lt;LayoutUnit&gt;(0, ((availWidth - ((desiredColumnCount - 1) * colGap)) / desiredColumnCount)) produces different CSS pixel results when subpixel is off.

failed case:
  fast/events/document-elementFromPoint.html
  fast/multicol/break-properties.html
  fast/multicol/column-break-with-balancing.html
  fast/multicol/float-paginate-complex.html
  fast/multicol/layers-in-multicol.html
  fast/multicol/overflow-across-columns-percent-height.html
  fast/multicol/overflow-across-columns.html
  fast/multicol/overflow-unsplittable.html
  fast/multicol/scrolling-overflow.html 
  fast/multicol/span/clone-flexbox.html 
  fast/multicol/span/clone-summary.html 
  fast/multicol/table-vertical-align.html
  fast/multicol/vertical-lr/break-properties.html 
  fast/multicol/vertical-lr/column-break-with-balancing.html
  fast/multicol/vertical-lr/float-multicol.html 
  fast/multicol/vertical-rl/break-properties.html
  fast/multicol/vertical-rl/column-break-with-balancing.html 
  fast/multicol/vertical-rl/float-multicol.html 
  fast/multicol/newmulticol/column-rules-fixed-height.html 
  fast/multicol/newmulticol/columns-shorthand-parsing.html
  fast/multicol/newmulticol/layers-in-multicol.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965561</commentid>
    <comment_count>1</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-08 11:17:28 -0800</bug_when>
    <thetext>If we start snapping columns widths to CSS pixels, we lose subpixels while layouting the columns content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965654</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-01-08 15:22:04 -0800</bug_when>
    <thetext>Need to talk to Dave Hyatt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968095</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-14 16:39:33 -0800</bug_when>
    <thetext>Matches FF(v26) rendering.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>