Bug 93876 - Transition of right or left padding (or border-width) does not correctly transition the width of block auto-width children
: Transition of right or left padding (or border-width) does not correctly tran...
Status: UNCONFIRMED
: WebKit
Layout and Rendering
: 528+ (Nightly build)
: Macintosh Intel Mac OS X 10.7
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-08-13 11:47 PST by
Modified: 2014-02-05 11:07 PST (History)


Attachments
Reduced test case (2.60 KB, text/html)
2012-08-13 11:47 PST, Daniel Trebbien
no flags Details
Patch (7.49 KB, patch)
2012-08-16 04:10 PST, Takashi Sakamoto
no flags Review Patch | Details | Formatted Diff | Diff
Archive of layout-test-results from gce-cr-linux-07 (378.78 KB, application/zip)
2012-08-16 04:59 PST, WebKit Review Bot
no flags Details
Patch (8.69 KB, patch)
2012-08-16 22:16 PST, Takashi Sakamoto
no flags Review Patch | Details | Formatted Diff | Diff
Patch (8.67 KB, patch)
2012-09-17 20:02 PST, Takashi Sakamoto
no flags Review Patch | Details | Formatted Diff | Diff
Patch (8.57 KB, patch)
2012-11-08 18:26 PST, Takashi Sakamoto
no flags Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-08-13 11:47:39 PST
Created an attachment (id=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 From 2012-08-16 04:10:51 PST -------
Created an attachment (id=158770) [details]
Patch
------- Comment #2 From 2012-08-16 04:59:15 PST -------
(From update of attachment 158770 [details])
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 From 2012-08-16 04:59:18 PST -------
Created an attachment (id=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 From 2012-08-16 22:16:19 PST -------
Created an attachment (id=158994) [details]
Patch
------- Comment #5 From 2012-09-17 20:02:16 PST -------
Created an attachment (id=164483) [details]
Patch
------- Comment #6 From 2012-11-08 18:26:46 PST -------
Created an attachment (id=173167) [details]
Patch
------- Comment #7 From 2014-02-05 11:07:00 PST -------
(From update of attachment 173167 [details])
Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.