<?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>26264</bug_id>
          
          <creation_ts>2014-07-04 08:31:04 +0000</creation_ts>
          <short_desc>The &lt;wbr&gt; style should be along the lines of wbr::after { content: &apos;\200B&apos;; white-space: normal; }.</short_desc>
          <delta_ts>2017-01-24 21:03:35 +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>http://www.whatwg.org/specs/web-apps/current-work/#br-wbr-content</bug_file_loc>
          <status_whiteboard>whatwg-resolved</status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Tab Atkins Jr.">jackalmage</assigned_to>
          <cc>annevk</cc>
    
    <cc>dbaron</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>jyasskin</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108717</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-07-04 08:31:04 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
Multipage: http://www.whatwg.org/C#br-wbr-content
Complete: http://www.whatwg.org/c#br-wbr-content
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html

Comment:
The &lt;wbr&gt; style should be along the lines of wbr::after { content: &apos;\200B&apos;;
white-space: normal; }.

http://www.w3.org/TR/CSS21/generate.html#propdef-content says &apos;content&apos; only
applies to the ::before and ::after pseudo-elements, so the current style has
no effect, and putting the &apos;white-space&apos; property directly on the &lt;wbr&gt; would
establish the interaction with whitespace-affecting styles and elements other
than &lt;nobr&gt;.

Chrome and Safari currently implement a behavior like my suggestion; Firefox
does not.

Posted from: 173.228.80.34
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.3 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108769</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-07 21:50:26 +0000</bug_when>
    <thetext>&apos;content&apos; will apply to elements directly in due course. We&apos;re just a bit ahead of CSS right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109551</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-30 05:57:20 +0000</bug_when>
    <thetext>Though maybe we should do &lt;wbr&gt; similar to &lt;br&gt;, with a special &apos;display-something&apos; value, to make the styling more efficient...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111200</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-08 21:53:57 +0000</bug_when>
    <thetext>dbaron, Tab: since &lt;br&gt; is now defined as &quot;display-outside: newline&quot;, should &lt;wbr&gt; be similarly defined (&quot;display-outside: break-opportunity&quot; or something)? Or should we continue to define it as &quot;wbr { content: &apos;\200B&apos;; }&quot; ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111851</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 21:40:47 +0000</bug_when>
    <thetext>I&apos;ve made it be &quot;display-outside: break-opportunity&quot;. Reassigning to Tab for the CSS side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111852</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-19 21:41:24 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8798.
Check-in comment: Get HTML ahead of CSS for the definition of &apos;wbr&apos;.
https://html5.org/tools/web-apps-tracker?from=8797&amp;to=8798</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128408</commentid>
    <comment_count>6</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2017-01-24 19:32:50 +0000</bug_when>
    <thetext>The CSSWG believes that 
  wbr { all: reset !important; display: contents !important; content: &quot;\200B&quot; !important; }
should be sufficient to address this issue and address all concerns, and has therefore declined to add a new display type for this element. Please follow up on https://github.com/w3c/csswg-drafts/issues/610 if you believe this is not the case. Thanks~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128411</commentid>
    <comment_count>7</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2017-01-24 19:36:47 +0000</bug_when>
    <thetext>Sorry, that should be s/reset/unset/
  https://www.w3.org/TR/css-cascade/#inherit-initial</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128412</commentid>
    <comment_count>8</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2017-01-24 21:03:35 +0000</bug_when>
    <thetext>Thanks, filed https://github.com/whatwg/html/issues/2291 to track this for HTML.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>