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 27450 - Any content inside wbr elements must not be considered part of the surrounding text. Which content??? it is an ampty element
Summary: Any content inside wbr elements must not be considered part of the surroundin...
Status: RESOLVED FIXED
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 00:08 UTC by contributor
Modified: 2015-08-28 15:01 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-11-27 00:08:02 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:
Any content inside wbr elements must not be considered part of the surrounding
text. Which content??? it is an ampty element

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:13:28 UTC
<script>
 var wbr = document.createElement('wbr');
 wbr.textContent = 'hello';
 document.body.appendChild(wbr);
</script>
Comment 2 senol.veli 2014-11-28 14:44:07 UTC
Thanks, I think this or something similar should be added to explain in the spec.
Comment 3 Ian 'Hixie' Hickson 2014-12-01 19:17:00 UTC
Is the text here sufficient, or do you think this specific case should be called out more explicitly?:

   https://html.spec.whatwg.org/#how-to-read-this-specification
Comment 4 senol.veli 2014-12-03 13:52:43 UTC
I think it should be more detailed,

best regards
Comment 5 Anne 2015-08-28 15:01:09 UTC
Thank you for the suggestion. Fixed:

https://github.com/whatwg/html/commit/c8c2f78a7571b83aebe421db21ed37b964f4c7b1