Bug 93876

Summary: Transition of right or left padding (or border-width) does not correctly transition the width of block auto-width children
Product: WebKit Reporter: Daniel Trebbien <dtrebbien>
Component: Layout and RenderingAssignee: Takashi Sakamoto <tasak>
Status: UNCONFIRMED ---    
Severity: Normal CC: dglazkov, dtrebbien, eric, tasak, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
Attachments:
Description Flags
Reduced test case
none
Patch
none
Archive of layout-test-results from gce-cr-linux-07
none
Patch
none
Patch
none
Patch none

Description Daniel Trebbien 2012-08-13 11:47:39 PDT
Created attachment 158063 [details]
Reduced test case

When the right or left padding or border-width of a parent element is transitioned, the width of an auto-width block child is not correctly transitioned. In the case of transitions of left padding or border-width, the width of the parent is expanded. In the case of transitions of right padding or border-width, the child's width remains unchanged. Only by resizing the width of the browser or interacting with the element in Web Inspector does WebKit suddenly correct the width of the child.

Attached is a reduced test case. The test case works as expected in Firefox 14.0.1 and Opera 12.01 build 1532, but fails in Safari 5.0.5, Safari 6.0, Chrome 21.0.1180.75, Chrome 23.0.1232.0 canary, and WebKit nightly r125269 built on 10 August 2012.
Comment 1 Takashi Sakamoto 2012-08-16 04:10:51 PDT
Created attachment 158770 [details]
Patch
Comment 2 WebKit Review Bot 2012-08-16 04:59:15 PDT
Comment on attachment 158770 [details]
Patch

Attachment 158770 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13518133

New failing tests:
fast/table/border-collapsing/cached-change-row-border-width.html
Comment 3 WebKit Review Bot 2012-08-16 04:59:18 PDT
Created attachment 158777 [details]
Archive of layout-test-results from gce-cr-linux-07

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-07  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 4 Takashi Sakamoto 2012-08-16 22:16:19 PDT
Created attachment 158994 [details]
Patch
Comment 5 Takashi Sakamoto 2012-09-17 20:02:16 PDT
Created attachment 164483 [details]
Patch
Comment 6 Takashi Sakamoto 2012-11-08 18:26:46 PST
Created attachment 173167 [details]
Patch
Comment 7 Anders Carlsson 2014-02-05 11:07:00 PST
Comment on attachment 173167 [details]
Patch

Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.