<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25503</bug_id>
          
          <creation_ts>2014-04-29 17:11:34 +0000</creation_ts>
          <short_desc>How should &lt;br&gt; styling be defined</short_desc>
          <delta_ts>2014-09-04 22:06:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Display</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Tab Atkins Jr.">jackalmage</assigned_to>
          <cc>bruno</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>dbaron</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104692</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-29 17:11:34 +0000</bug_when>
    <thetext>Tab suggests:

br {
  display-box: contents;
  content: &quot;\A&quot;;
  white-space: pre;
}

(The current spec doesn&apos;t work because it suggests browsers should by default honour &apos;border&apos; et al, which browsers don&apos;t. They _do_ honour &apos;display:none&apos;, they don&apos;t honour &apos;display:inline&apos;, some honour &apos;position:fixed&apos; or &apos;float:left&apos;.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104839</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-30 18:26:52 +0000</bug_when>
    <thetext>dbaron raised performance issues around doing anything relying on CSS for &lt;br&gt;, which is an interesting point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105131</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-05 23:24:20 +0000</bug_when>
    <thetext>dbaron: in thinking of this further... why would &apos;display-box&apos; have performance implications that &apos;display&apos; doesn&apos;t have?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105138</commentid>
    <comment_count>3</comment_count>
    <who name="L. David Baron (Mozilla)">dbaron</who>
    <bug_when>2014-05-05 23:45:59 +0000</bug_when>
    <thetext>display-box: contents essentially forces the insertion of one element&apos;s child list into its parent, in place of that element, for purposes of figuring out what rendering tree (box tree) to construct.  This might make handling of dynamic changes to anything in the child list of the parent more expensive, because the box tree is shaped less like the element tree and we have to disable optimizations that can only work when they look similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105217</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-06 18:29:19 +0000</bug_when>
    <thetext>Ah, I see. So what we really want is &apos;display-box: newline&apos; or some such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109147</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-21 21:14:03 +0000</bug_when>
    <thetext>http://krijnhoetmer.nl/irc-logs/whatwg/20140721#l-529</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111041</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-04 22:06:24 +0000</bug_when>
    <thetext>http://krijnhoetmer.nl/irc-logs/whatwg/20140904#l-890</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111042</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-04 22:06:40 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8745.
Check-in comment: Update how &apos;br&apos; is specced at the CSS level. This depends on as-yet incomplete CSS changes.
http://html5.org/tools/web-apps-tracker?from=8744&amp;to=8745</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>