[Bug 13098] State that <wbr> represents the SOFT HYPHEN character (U+00AD/&shy;/&#xad;)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13098

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Simetrical+w3cbug@gmail.com
           Platform|PC                          |All
         Resolution|                            |WONTFIX
           Severity|normal                      |enhancement

--- Comment #3 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-06-30 20:43:13 UTC ---
EDITOR'S RESPONSE: This is an Editor'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: Rejected
Change Description: no spec change
Rationale: <wbr> is not equivalent to soft hyphen.  According to your UAX#14
link,

"""
Unlike U+2010 hyphen, which always has a visible rendition, the character
U+00AD soft hyphen (shy) is an invisible format character that merely indicates
a preferred intraword line break position. If the line is broken at that point,
then whatever mechanism is appropriate for intraword line breaks should be
invoked, just as if the line break had been triggered by another hyphenation
mechanism, such as a dictionary lookup.
"""
http://unicode.org/reports/tr14/#SoftHyphen

This is not how <wbr> behaves: it never inserts a hyphen.  Consider this
test-case in Firefox and Chrome:

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1050

<wbr> breaks with no hyphen, while &shy; breaks with a hyphen.  Thus the two
are different in existing implementations, and we can't require them to be the
same.  (IE/Opera have a different interpretation of <wbr>, but it still doesn't
match &shy;.)

It's possible that <wbr> is the same as &zwsp;, but the latter might have other
effects that aren't coming to mind.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 30 June 2011 20:43:25 UTC