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
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering
: 528+ (Nightly build)
: Macintosh Intel Mac OS X 10.7
: P2 Normal
Assigned To: Takashi Sakamoto
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-13 11:47 PDT by Daniel Trebbien
Modified: 2014-02-05 11:07 PST (History)
5 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
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.