<?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>125883</bug_id>
          
          <creation_ts>2013-12-17 16:30:15 -0800</creation_ts>
          <short_desc>Need to set preferred logical widths dirty bits when switching table layout</short_desc>
          <delta_ts>2013-12-17 16:30:34 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>dino</cc>
    
    <cc>hyatt</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>960718</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-17 16:30:15 -0800</bug_when>
    <thetext>Consider merging https://src.chromium.org/viewvc/blink?revision=160530&amp;view=revision
with https://chromium.googlesource.com/chromium/blink/+/91c17eddc1857827f0afd0215cf202677e322739

FixedTableLayout doesn&apos;t use the preferred logical widths from its cells to
determine column widths, however it still need to clear the dirty bits to
get notification when style.width changes on the cells.

When a table switches from table-layout:fixed to auto, the preferred logical
widths become meaningful. The dirty value will be used if we cleared the
dirty bit without computing it.

In this patch we do a massive invalidation to the preferred widths on the
cells when table layout has changed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>