This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27451 - <pre>... Heading heading = Helm.HeadingFactory(HeadingCoordinates[1], <wbr>HeadingCoordinates[2], <w [...]
Summary: <pre>... Heading heading = Helm.HeadingFactory(HeadingCoordinates[1], <wbr>He...
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#the-wbr...
Whiteboard: [good first bug]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 00:11 UTC by contributor
Modified: 2016-03-22 09:19 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-11-27 00:11:06 UTC
Specification: https://html.spec.whatwg.org/multipage/semantics.html
Multipage: https://html.spec.whatwg.org/multipage/#the-wbr-element
Complete: https://html.spec.whatwg.org/#the-wbr-element
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
<pre>... Heading heading = Helm.HeadingFactory(HeadingCoordinates[1],
<wbr>HeadingCoordinates[2], <wbr>HeadingCoordinates[3],
<wbr>HeadingCoordinates[4]); Course course = Helm.CourseFactory(Heading,
<wbr>Maps.MapFactoryFromHeading(heading),
<wbr>Speeds.GetMaximumSpeed().ConvertToWarp()); ...</pre>   this example makes
no sense, because inside pre element there will never be a break, since the
author didnĀ“t broke the text with a new line in the editor

Posted from: 77.187.158.216 by senol.veli@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2014-11-28 04:16:41 UTC
Yeah, the example needs to say that this is for white-space:pre-wrap specifically.
Also there's no point having them just after spaces, since those always give line-wrapping opportunities.
Comment 2 Anne 2016-03-22 09:19:35 UTC
Easiest solution seems to remove the example: https://github.com/whatwg/html/pull/911.