Bug 70660 - dynamic changes don't apply correctly with orthogonal writing modes
Summary: dynamic changes don't apply correctly with orthogonal writing modes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 70300
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-21 16:55 PDT by Ojan Vafai
Modified: 2011-10-26 12:06 PDT (History)
2 users (show)

See Also:


Attachments
test case (346 bytes, text/html)
2011-10-21 16:55 PDT, Ojan Vafai
no flags Details
better test case (300 bytes, text/html)
2011-10-26 12:03 PDT, Ojan Vafai
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2011-10-21 16:55:28 PDT
Created attachment 112044 [details]
test case

See test case.
Comment 1 Ojan Vafai 2011-10-26 12:03:23 PDT
Created attachment 112573 [details]
better test case
Comment 2 Ojan Vafai 2011-10-26 12:06:17 PDT
What I see happening is that we don't recompute the preferred logical width. When we set the height to auto, we set the pref width on the child to dirty, but it's already dirty. I think it didn't get cleared on the first layout. As a result, we don't set the container's pref width dirty bit since the current node is already dirty.

It's interesting to note that the bug doesn't reproduce if the width is not also set to a fixed height even though we're only setting the height to auto.