<?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>19634</bug_id>
          
          <creation_ts>2008-06-17 17:04:05 -0700</creation_ts>
          <short_desc>Display:none style of &lt;legend&gt; is ignored if &lt;legend&gt; is inside a &lt;form&gt; tag</short_desc>
          <delta_ts>2008-07-16 02:34:55 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>18691</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Anantha Keesara">anantha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83686</commentid>
    <comment_count>0</comment_count>
    <who name="Anantha Keesara">anantha</who>
    <bug_when>2008-06-17 17:04:05 -0700</bug_when>
    <thetext>I. Steps:
 -----------
 
 1. Launch Safari
 2. Launch the attached testcase
 
 
 II. Issue:
 -----------------
 The &lt;legend&gt; has display:none but Safari still displays it because it&apos;s inside a &lt;form&gt; tag. 
 
 
 
 III. Other browsers:
 -----------------------
 IE7 : ok
 FF3 : ok
 Opera 9.27: Ok
 
 
 IV. Safari nightly tested: version 3.1.1(525.17 )- r34278.
 
 Not working properly on Safari.
 
 
 
 V. Safari screenshot : Not Avalible</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83714</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-06-17 17:22:29 -0700</bug_when>
    <thetext>There is no attached test case.  The summary of this bug does not describe the issue at all.

If you&apos;re going to file bug reports, please pick a *useful* summary and include a test case or steps to reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83715</commentid>
    <comment_count>2</comment_count>
      <attachid>21801</attachid>
    <who name="Anantha Keesara">anantha</who>
    <bug_when>2008-06-17 17:24:39 -0700</bug_when>
    <thetext>Created attachment 21801
reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83717</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-06-17 17:37:37 -0700</bug_when>
    <thetext>.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83719</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-06-17 17:52:54 -0700</bug_when>
    <thetext>There is actually no legend element in the DOM, and the text node got is right under the form element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86020</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-07-16 02:34:55 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; There is actually no legend element in the DOM, and the text node got is right
&gt; under the form element.
&gt; 

So it is the reason why style is ignored for this legend element. Ignoring legend element outside a fieldset element issue is already known and tracked by bug 18691. Closing as duplicate.

*** This bug has been marked as a duplicate of 18691 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21801</attachid>
            <date>2008-06-17 17:24:39 -0700</date>
            <delta_ts>2008-06-17 17:24:39 -0700</delta_ts>
            <desc>reduction</desc>
            <filename>test_standard.html</filename>
            <type>text/html</type>
            <size>448</size>
            <attacher name="Anantha Keesara">anantha</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPgo8aHRtbD48aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29u
dGVudD0idGV4dC9odG1sOyBjaGFyc2V0PUlTTy04ODU5LTEiPg0KDQo8L2hlYWQ+PGJvZHk+DQog
ICBZb3Ugc2hvdWxkIG5vdCBzZWUgYW55dGhpbmcgYmVsb3cgdGhpcyBsaW5lIDxocj4NCiAgPGZp
ZWxkc2V0IHN0eWxlPSJib3JkZXI6IG1lZGl1bSBub25lIDsiPg0KICAgICAgPGZvcm0+DQogICAg
ICAgIDxsZWdlbmQgc3R5bGU9ImRpc3BsYXk6IG5vbmU7Ij5zb21lIGxlZ2VuZCB0ZXh0PC9sZWdl
bmQ+DQogICAgICA8L2Zvcm0+DQogIDwvZmllbGRzZXQ+DQo8L2JvZHk+PC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>