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

NEW
Unassigned

Status

()

Core
Layout: Block and Inline
15 years ago
8 years ago

People

(Reporter: Kevin Cook, Unassigned)

Tracking

({css1, testcase})

Trunk
css1, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
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
Created attachment 95701 [details]
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

Updated

15 years ago
QA Contact: petersen → moied

Updated

15 years ago
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 → ---

Updated

13 years ago
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
You need to log in before you can comment on or make changes to this bug.