Closed
Bug 386920
Opened 18 years ago
Closed 18 years ago
Text with "font-variant: small-caps" no longer wraps properly
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: mlemieu, Assigned: roc)
References
()
Details
(Keywords: regression, testcase)
Attachments
(2 files)
|
565 bytes,
text/html
|
Details | |
|
1.40 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007070404 Minefield/3.0a7pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007070404 Minefield/3.0a7pre
Text is not wrapping properly inside its div and instead extends on a single line.
Reproducible: Always
Steps to Reproduce:
1. Open current nightly in Minefield
2. Navigate to http://xkcd.com
3. Observe that text doesn't not wrap properly
Actual Results:
Text appears as single line.
Expected Results:
Text wraps inside div as previously.
| Reporter | ||
Comment 1•18 years ago
|
||
Confirmations from various Win platforms here:
http://forums.mozillazine.org/viewtopic.php?p=2953161#2953161
Updated•18 years ago
|
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Comment 2•18 years ago
|
||
It is due to the use of 'font-variant:small-caps'.
Comment 3•18 years ago
|
||
Comment 4•18 years ago
|
||
That regressed between 2007070320 and 2007070321 (Mac Builds)
--> bug 385423
Updated•18 years ago
|
Flags: blocking1.9?
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → roc
Updated•18 years ago
|
Keywords: testcase
Summary: Layout Regression @ xkcd.com → Text with "font-variant: small-caps" no longer wraps properly
Slight clarification and simplification: just put
<span style="font-variant: small-caps">a</span>
in a paragraph and it stops wrapping from the small caps *onwards* for the rest of the paragraph.
| Assignee | ||
Comment 6•18 years ago
|
||
The glyph-copying process is wiping out the line-break data, which is not really a good idea. This doesn't usually matter because we're usually copying into new textruns, but the small-caps code copies glyphs into an existing textrun and expects the line-break data to be preserved.
Attachment #271174 -
Flags: review?(vladimir)
Flags: blocking1.9? → blocking1.9+
Updated•18 years ago
|
Attachment #271174 -
Flags: review?(vladimir) → review+
Updated•18 years ago
|
Flags: in-testsuite?
| Assignee | ||
Comment 7•18 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•