Open Bug 163183 Opened 22 years ago Updated 2 years ago

inlines get preceding space(s) if inside a p::first-line in a table

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

People

(Reporter: harvested_from_mozilla4, Unassigned)

References

()

Details

(Keywords: css1, testcase)

Attachments

(1 file)

In the first paragraph of http://www.lynuxworks.com/products/posix/posix.php3,
the <acronym> content "ANSI" seems to cause preceding spaces to be rendered for
no apparent reason.
->Layout.

This needs a simple testcase -> adding qawanted.
Assignee: dbaron → attinasi
Component: Style System → Layout
Keywords: qawanted
QA Contact: ian → petersen
Attached file Simplified testcase
A testcase showing a series of examples both demonstrating and avoiding the
reported problem.  Comments to follow.
According to my testcase, the problem only occurs if:

1. the element is contained within a table
2. the first line of the element has font- or text-changing styles applied to it
('font-weight', 'letter-spacing', etc.)
3. only affects the second-and-later inline in a line
4. a <br> element is NOT used to break up the flow of the element

Thus, changing the color of the first line doesn't trip the bug, even in a
table, but boldfacing it does.  Taking the exact same markup and moving it out
of a table fixes the layout bug.  Although I neglected to include a test for
this, removing the borders from the inlines with 'abbr, acronym {border: none;}'
did not fix the problem.

(Removing qawanted and confirming bug.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
Followup: converting the 'acronym' elements to 'span' elements didn't fix the
problem either, and I forgot to mention that ':first-letter' has nothing to do
with this bug, at least in my tests.  Altering summary to more accurately
reflect the problem at hand as I understand it.
Summary: acronym is rendered with preceding space(s) if in a p:first-line + p:first-letter → inlines get preceding space(s) if inside a p:first-line in a table
Sorry for one more piece of spam-- adding testcase keyword since I provided one.
Keywords: testcase
QA Contact: petersen → moied
Priority: -- → P3
Target Milestone: --- → Future
.
Assignee: attinasi → block-and-inline
Component: Layout → Layout: Block & Inline
OS: Windows 95 → All
Priority: P3 → --
QA Contact: moied → ian
Hardware: PC → All
Target Milestone: Future → ---
Keywords: css1
Summary: inlines get preceding space(s) if inside a p:first-line in a table → inlines get preceding space(s) if inside a p::first-line in a table
This worksforme on trunk as far as I can tell.
Assignee: layout.block-and-inline → nobody
QA Contact: ian → layout.block-and-inline
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: