Closed Bug 14321 Opened 25 years ago Closed 25 years ago

First letter causes word to be split on word wrap.

Categories

(Core :: Layout, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 2418

People

(Reporter: CodeMachine, Assigned: buster)

Details

I've noticed that when you "first-letter" style a word, the first letter can be
split from the rest of the word on a word wrap.

I don't know what, if anything, the CSS spec says on this, but to me it seems
wrong.

Test case:

<html>
  <head>
    <style type="text/css">
      p:first-letter { font-size: 1000% }
    </style>
   </head>
   <body>
      <p>Testing Testing 1 2 3</p>
   </body>
</html>

View this and reduce the size of the window, so the word wraps.

Expected behaviour:  Either bring up a horizontal scrollbar, or wrap the word so
that as much as possible fits in, rather than wrapping the entire rest of the
word.
Assignee: troy → kipp
Severity: normal → trivial
Status: NEW → ASSIGNED
Target Milestone: M17
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 2418 ***
Status: RESOLVED → VERIFIED
Marking as verified duplicate of 2418.
You need to log in before you can comment on or make changes to this bug.