<?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>9243</bug_id>
          
          <creation_ts>2006-06-02 11:55:50 -0700</creation_ts>
          <short_desc>Quirksmode: Margin-top on legend is not honored</short_desc>
          <delta_ts>2024-12-11 15:39:55 -0800</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>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=284441</see_also>
          <bug_file_loc>http://marc.baffl.co.uk/browser_bugs/legend-styling.php</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>35891</dependson>
          <blocked>9610</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adele Peterson">adele</reporter>
          <assigned_to name="Robert Hogan">robert</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ian</cc>
    
    <cc>karlcow</cc>
    
    <cc>robert</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44408</commentid>
    <comment_count>0</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-06-02 11:55:50 -0700</bug_when>
    <thetext>http://www.quirksmode.org/bugreports/archives/safari/index.html

&quot;Positioning legend tags — what works and what doesn&apos;t? To be honest not a lot does.

I&apos;ve tested — position: absolute, fixed, relative, floats margins and setting widths.

Test page http://marc.baffl.co.uk/bugs.php#legend
Workaround is not included
Reported by: Marc Pacheco.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46996</commentid>
    <comment_count>1</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-06-24 13:17:34 -0700</bug_when>
    <thetext>renaming to properly show what we do wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47001</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-06-24 13:25:06 -0700</bug_when>
    <thetext>Changing component</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897025</commentid>
    <comment_count>3</comment_count>
      <attachid>203724</attachid>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-06-04 14:03:15 -0700</bug_when>
    <thetext>Created attachment 203724
Reduction

Every browser renders this differently. We need to find out what the right behaviour is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897504</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-06-05 12:05:42 -0700</bug_when>
    <thetext>There&apos;s no spec for the right behaviour at the moment and everyone does something different. So let&apos;s see what happens at:
http://lists.w3.org/Archives/Public/www-style/2013Jun/0034.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899800</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-20 06:33:47 -0700</bug_when>
    <thetext>Webkit (Safari) and Chrome / Blink render this same without any top and bottom margin while Firefox does add &quot;top and bottom&quot; margin.

I was not able to find any quirk in UA stylesheet here:

https://searchfox.org/mozilla-central/source/layout/style/res/quirk.css

Can we clarify this?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>203724</attachid>
            <date>2013-06-04 14:03:15 -0700</date>
            <delta_ts>2013-06-04 14:03:15 -0700</delta_ts>
            <desc>Reduction</desc>
            <filename>fieldset-stretch-to-legend-margin.html</filename>
            <type>text/html</type>
            <size>755</size>
            <attacher name="Robert Hogan">robert</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogICAgPHRpdGxlPjwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgbGVn
ZW5kIHsgaGVpZ2h0OiAxMHB4OyBib3JkZXI6IDFweCBzb2xpZCBibHVlOyB9CiAgICAgICAgZmll
bGRzZXQucmVuZGVyIHsgYm9yZGVyOiA4cHggZG91YmxlOyB9CiAgICAgICAgZmllbGRzZXQucmVu
ZGVyIGxlZ2VuZCB7IGhlaWdodDogMTJweDsgd2lkdGg6IDUwcHg7IGJhY2tncm91bmQtY29sb3I6
IHJnYmEoMCwgMTI4LCAwLCAwLjMpOyBib3JkZXI6IG5vbmU7IH0KICAgIDwvc3R5bGU+CjwvaGVh
ZD4KPGJvZHk+CiAgICA8IS0tIGxheW91dCB0ZXN0cyAtLT4KICAgIDxmaWVsZHNldCBzdHlsZT0i
d2lkdGg6IDEwMHB4OyBoZWlnaHQ6IDEwMHB4OyI+CiAgICAgICAgPGxlZ2VuZCBzdHlsZT0id2lk
dGg6IDkwcHg7ICBtYXJnaW4tdG9wOiAzMHB4OyBtYXJnaW4tYm90dG9tOiAzMHB4OyI+PC9sZWdl
bmQ+CiAgICA8L2ZpZWxkc2V0PgogICAgPGZpZWxkc2V0IHN0eWxlPSJ3aWR0aDogMTAwcHg7IGhl
aWdodDogMTAwcHg7Ij4KICAgICAgICA8bGVnZW5kIHN0eWxlPSJ3aWR0aDogOTBweDsgIG1hcmdp
bi1ib3R0b206IDMwcHg7Ij48L2xlZ2VuZD4KICAgIDwvZmllbGRzZXQ+CiAgICA8ZmllbGRzZXQg
c3R5bGU9IndpZHRoOiAxMDBweDsgaGVpZ2h0OiAxMDBweDsiPgogICAgICAgIDxsZWdlbmQgc3R5
bGU9IndpZHRoOiA5MHB4OyAgbWFyZ2luLXRvcDogMzBweDsiPjwvbGVnZW5kPgogICAgPC9maWVs
ZHNldD4KPC9ib2R5Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>