Closed Bug 1929 Opened 26 years ago Closed 25 years ago

'text-transform': words should not start/end with inline elements

Categories

(Core :: Layout, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kipp, Assigned: buster)

References

()

Details

Look at test0
Status: NEW → ASSIGNED
*** Bug 1989 has been marked as a duplicate of this bug. ***
On the first page that appears with viewer.exe, under "Text Styles", you find:

   THis Text Was Capitalized

The "H" should not be a capital letter.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
*** Bug 3489 has been marked as a duplicate of this bug. ***
Summary: first-letter and text-transform don't mix well → 'text-transform': words should not start/end with inline elements
Whiteboard: (py8ieh: need CRLF test for inlines and text-transform)
Per dup #3489, this problem is not actually due to :first-letter, but due to
inline elements inside words (The :first-letter pseudo element is causes
such an element to be inserted).

See the last word of test paragraph 3 of
 http://www.w3.org/Style/CSS/Test/current/sec545.htm

For example:
   abcde<SPAN>fghijklmno</SPAN>pqrstuvwxyz

The text-transform code is taking the above to be three words, instead of
one as it should. It thus capitalizes A, F and P instead of just A. Words should
split at white-space only, not at inline element boundaries.

Changed summary to match.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Works dandy now.
Status: RESOLVED → VERIFIED
Fixed in March 26th Build.
Whiteboard: (py8ieh: need CRLF test for inlines and text-transform)
You need to log in before you can comment on or make changes to this bug.