<?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>12655</bug_id>
          
          <creation_ts>2011-05-13 18:19:28 +0000</creation_ts>
          <short_desc>Suggestion: For &lt;wbr/&gt; tag, include an example of use of &lt;wbr/&gt; in &quot;text-wrap: none&quot; (&quot;white-space: nowrap&quot; or &quot;white-space: pre&quot;) content</short_desc>
          <delta_ts>2011-08-05 09:36:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-wbr-element</bug_file_loc>
          <status_whiteboard></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="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>RobS.w3c6</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48511</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-13 18:19:28 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-wbr-element

Comment:
Suggestion: For &lt;wbr/&gt; tag, include an example of use of &lt;wbr/&gt; in &quot;text-wrap:
none&quot; (&quot;white-space: nowrap&quot; or &quot;white-space: pre&quot;) content

Posted from: 204.89.129.148
User agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48512</commentid>
    <comment_count>1</comment_count>
    <who name="Rob S.">RobS.w3c6</who>
    <bug_when>2011-05-13 18:34:40 +0000</bug_when>
    <thetext>WebKit browsers (Chrome, etc.) support the &lt;wbr/&gt; tag in &quot;text-wrap: none&quot; content in addition to &quot;text-wrap: normal&quot; content. The current example shows &lt;wbr/&gt; being used at non-whitespace locations, since breaks may already occur at spaces in &quot;text-wrap: normal&quot; content.  However, in &quot;text-wrap: none&quot; content (&quot;white-space: nowrap&quot; or &quot;white-space: pre&quot; included), it also makes sense to include &quot;wbr&quot; elements in locations where whitespace appears.

Suggestion: Include an example with &quot;white-space: nowrap&quot; or &quot;white-space: pre&quot;, such as:

&lt;p style=&quot;white-space: pre&quot;&gt;echo (&quot;This is a very long line of computer program code. &lt;wbr/&gt;The author may want to allow it to be displayed across multiple lines, &lt;wbr/&gt;even though it might only be one line of code in the actual program.&quot;);&lt;/p&gt;

or this example, which makes sure the trailing colon after the hypertext link doesn&apos;t get put on a line all by itself and the content inside the &quot;cite&quot; element breaks only at a couple appropriate locations:

&lt;p&gt;One of my favorite quotes from &lt;span style=&quot;white-space: nowrap&quot;&gt;
   &lt;a href=&quot;http://www.Shakespeare-Literature.com/Twelfth_Night/10.html&quot;&gt;
      &lt;cite&gt;William Shakespeare &lt;wbr/&gt;Twelfth Night &lt;wbr/&gt;Act II Scene 5&lt;/cite&gt;&lt;/a&gt;:&lt;/span&gt;
&lt;/p&gt;
&lt;blockquote
   cite=&quot;http://www.Shakespeare-Literature.com/Twelfth_Night/10.html&quot;
&gt;In my stars I am above thee; but be not afraid of greatness:
   some are born great, some achieve greatness,
   and some have greatness thrust upon &apos;em.
&lt;/blockquote&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52561</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:02:39 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54146</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-04 06:36:54 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54147</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-08-04 06:38:00 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6363.
Check-in comment: Add an example for &lt;wbr&gt;.
http://html5.org/tools/web-apps-tracker?from=6362&amp;to=6363</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54164</commentid>
    <comment_count>5</comment_count>
    <who name="Rob S.">RobS.w3c6</who>
    <bug_when>2011-08-04 11:23:49 +0000</bug_when>
    <thetext>Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54223</commentid>
    <comment_count>6</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2011-08-05 09:36:55 +0000</bug_when>
    <thetext>Moving back to LC1 component and interpreting comment 5 as commenter satisfaction.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>