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)
Core
Layout: Block and Inline
Tracking
()
NEW
People
(Reporter: harvested_from_mozilla4, Unassigned)
References
()
Details
(Keywords: css1, testcase)
Attachments
(1 file)
4.68 KB,
text/html
|
Details |
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
Comment 2•22 years ago
|
||
A testcase showing a series of examples both demonstrating and avoiding the
reported problem. Comments to follow.
Comment 3•22 years ago
|
||
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.)
Comment 4•22 years ago
|
||
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
Comment 5•22 years ago
|
||
Sorry for one more piece of spam-- adding testcase keyword since I provided one.
Keywords: testcase
Updated•22 years ago
|
QA Contact: petersen → moied
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 6•22 years ago
|
||
.
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•21 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
Comment 7•17 years ago
|
||
This worksforme on trunk as far as I can tell.
Updated•15 years ago
|
Assignee: layout.block-and-inline → nobody
QA Contact: ian → layout.block-and-inline
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•