Closed
Bug 229674
Opened 21 years ago
Closed 20 years ago
{inc}[margin-c]margin-bottom applied twice when using :target selector and generated content
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: arnoudb, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1.30 KB,
text/html
|
Details |
See the attached testcase (coming up).
Actual behaviour:
When a <h1> tag is targetted with a :target rule that also generates content
(before or after it), the margin-bottom of that <h1> is applied a second time,
so everything moves down.
Expected behaviour:
Margin-bottom stays as-is.
Padding-bottom and margin-top are unaffected by this bug.
Reporter | ||
Comment 1•21 years ago
|
||
Updated•21 years ago
|
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout
QA Contact: ian → core.layout
Summary: margin-bottom applied twice when using :target selector and generated content → {inc}margin-bottom applied twice when using :target selector and generated content
Comment 2•21 years ago
|
||
Resizing the window makes the bug go away. Another incremental reflow
margin-collapse bug...
Component: Layout → Layout: Block and Inline
QA Contact: core.layout → core.layout.block-and-inline
Summary: {inc}margin-bottom applied twice when using :target selector and generated content → {inc}[margin-c]margin-bottom applied twice when using :target selector and generated content
Comment 3•20 years ago
|
||
Fixed by checkin for bug 257612
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•