<?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>70660</bug_id>
          
          <creation_ts>2011-10-21 16:55:28 -0700</creation_ts>
          <short_desc>dynamic changes don&apos;t apply correctly with orthogonal writing modes</short_desc>
          <delta_ts>2011-10-26 12:06:17 -0700</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>70300</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>488765</commentid>
    <comment_count>0</comment_count>
      <attachid>112044</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-10-21 16:55:28 -0700</bug_when>
    <thetext>Created attachment 112044
test case

See test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>491080</commentid>
    <comment_count>1</comment_count>
      <attachid>112573</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-10-26 12:03:23 -0700</bug_when>
    <thetext>Created attachment 112573
better test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>491081</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-10-26 12:06:17 -0700</bug_when>
    <thetext>What I see happening is that we don&apos;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&apos;s already dirty. I think it didn&apos;t get cleared on the first layout. As a result, we don&apos;t set the container&apos;s pref width dirty bit since the current node is already dirty.

It&apos;s interesting to note that the bug doesn&apos;t reproduce if the width is not also set to a fixed height even though we&apos;re only setting the height to auto.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>112044</attachid>
            <date>2011-10-21 16:55:28 -0700</date>
            <delta_ts>2011-10-26 12:03:23 -0700</delta_ts>
            <desc>test case</desc>
            <filename>scratch.html</filename>
            <type>text/html</type>
            <size>346</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">PGRpdj5UaGUgZGl2IGJlbG93IHNob3VsZCBiZSAyMHgyMC48L2Rpdj4gCjxkaXYgc3R5bGU9Ii13
ZWJraXQtd3JpdGluZy1tb2RlOiB2ZXJ0aWNhbC1scjsgYm9yZGVyOiA1cHggc29saWQgcmVkOyBk
aXNwbGF5OiBpbmxpbmUtYmxvY2s7Ij4KICAgIDxkaXYgaWQ9ImJveCIgc3R5bGU9Ii13ZWJraXQt
d3JpdGluZy1tb2RlOiBob3Jpem9udGFsLXRiOyBwYWRkaW5nOiA1cHg7IGhlaWdodDogMTAwcHg7
Ij48L2Rpdj4KPC9kaXY+CjxzY3JpcHQ+c2V0VGltZW91dChmdW5jdGlvbigpIHsgZG9jdW1lbnQu
Z2V0RWxlbWVudEJ5SWQoJ2JveCcpLnN0eWxlLmhlaWdodCA9ICJhdXRvIjsgfSwgMCk7PC9zY3Jp
cHQ+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>112573</attachid>
            <date>2011-10-26 12:03:23 -0700</date>
            <delta_ts>2011-10-26 12:03:23 -0700</delta_ts>
            <desc>better test case</desc>
            <filename>scratch.html</filename>
            <type>text/html</type>
            <size>300</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">PGRpdj5UaGUgYm94IGJlbG93IHNob3VsZCBiZSAxMTB4MTAuPC9kaXY+IAo8ZGl2IHN0eWxlPSIt
d2Via2l0LXdyaXRpbmctbW9kZTogdmVydGljYWwtbHI7IGJvcmRlcjogNXB4IHNvbGlkOyI+CiAg
ICA8ZGl2IGlkPSJib3giIHN0eWxlPSItd2Via2l0LXdyaXRpbmctbW9kZTogaG9yaXpvbnRhbC10
YjsgaGVpZ2h0OiAxMDBweDsgd2lkdGg6IDEwMHB4OyI+PC9kaXY+CjwvZGl2Pgo8c2NyaXB0Pgpi
b3gub2Zmc2V0V2lkdGg7IC8vIEZvcmNlIGEgbGF5b3V0Lgpib3guc3R5bGUuaGVpZ2h0ID0gImF1
dG8iOwo8L3NjcmlwdD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>