Closed
Bug 1251799
Opened 10 years ago
Closed 8 years ago
The frame insertion point for a parent frame is wrong when its first child frame is a ::before for a display:contents child
Categories
(Core :: Layout: Block and Inline, defect, P4)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1.25 KB,
text/html
|
Details |
It looks like the bug is in nsLayoutUtils::IsGeneratedContentFor at first glance.
It returns true but it seems it should return false.
The result for the testcase should be:
1:before 1 1:after 2:before 2 2:after
IOW, the dyn1() function should be idempotent, but it's not.
Reporter | ||
Comment 1•10 years ago
|
||
The bug also occurs for a Grid parent frame so it's probably a general problem.
Summary: The frame insertion point for a block parent is wrong when its first child frame is a ::before for a display:contents child → The frame insertion point for a parent frame is wrong when its first child frame is a ::before for a display:contents child
Reporter | ||
Comment 3•9 years ago
|
||
It doesn't seem that urgent to me and I've got higher prio stuff ATM (Grid).
Flags: needinfo?(mats)
Comment 4•8 years ago
|
||
Fixed by bug 1413619
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•