Open Bug 137680 Opened 22 years ago Updated 3 years ago

&emsp, &ensp, &thinsp fail to delimit words

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

People

(Reporter: jacobs, Unassigned)

References

Details

(Whiteboard: [wordbreak])

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020412
BuildID:    2002041203

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
     "http://www.w3.org/TR/html4/strict.dtd">
<HTML lang="en</TD><TD>dir="ltr">
<HEAD>
<TITLE>En Em Thin</TITLE>
<META http-equiv="Content-Type</TD><TD>content="text/html;charset=US-ASCII">
</HEAD>
<BODY>
<H1>En Space/Em Space/Thin Space</H1>
<P>
There are En spaces between each "One" and the following "Two".  Between each
"Two" and the following "One" there is, alternately,
an Em space or a normal space (where the first of these is an Em
space.
</P>
<P>
One&ensp;Two&emsp;One&ensp;Two One&ensp;Two&emsp;One&ensp;Two
One&ensp;Two&emsp;One&ensp;Two One&ensp;Two&emsp;One&ensp;Two
One&ensp;Two&emsp;One&ensp;Two One&ensp;Two&emsp;One&ensp;Two
One&ensp;Two&emsp;One&ensp;Two One&ensp;Two&emsp;One&ensp;Two
</P>
<P>
Two En spaces per Em space.  Six thin spaces per Em space.  The first
of these lines is separated by En spaces, the second by Em spaces,
and the third by thin spaces.
</P>
<P>
A&ensp;&ensp;A
</P>
<P>
A&emsp;A
</P>
<P>
A&thinsp;&thinsp;&thinsp;&thinsp;&thinsp;&thinsp;&thinsp;A
</P>
</BODY>
</HTML>


Reproducible: Always
Steps to Reproduce:
1. Copy the HTML from the Description into a file.  Navigate to page.
2. Double Click on one of the "One"s, "Two"s, or "A"s using the HTML
   pasted into the Description.
3. Observe the size of the selection.
4. Edit=>Copy menu selection.
5. Paste the selection into an editor.

Actual Results:  The shading indicates that a region larger than a word is
selected.  The paste into an editor verifies it.

Expected Results:  One word should be selected at a time.

IE 6.0 does word selection properly.
over to selection.
Assignee: attinasi → mjudge
Status: UNCONFIRMED → NEW
Component: Layout → Selection
Ever confirmed: true
QA Contact: petersen → tpreston
Whiteboard: [wordbreak]
marking 1.1
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
On Linux, build 2002053108, these entities display as ugly 
picture-placeholders and print as squares.
Assignee: mjudge → selection
Blocks: word-select
Status: ASSIGNED → NEW
OS: Windows 2000 → All
QA Contact: tpreston
Hardware: PC → All
Target Milestone: mozilla1.1beta → ---
Assignee: selection → nobody
QA Contact: selection

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: