Closed Bug 1472885 Opened 6 years ago Closed 6 years ago

Fix contain:style implementation to support inline elements

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1463600

People

(Reporter: yusuf, Assigned: yusuf)

References

Details

Current contain:style implementation does not work well with display:inline elements. To bypass it, we are promoting inline elements to inline-block. See details in https://bugzilla.mozilla.org/show_bug.cgi?id=1463600

According to spec, all display types (including inline) should be supported by contain:style [1].

As a side note, upon manual testing, contain:style seems to work well with all other display types.

[1] https://drafts.csswg.org/css-contain/#containment-style
Assignee: nobody → ysermet
This issue is fixed. We updated the implementation for quotes and counters to work on DOM elements instead of frames. Please see Bug 1463600 for more details.

Promotion from inline to inline-block is also removed, which was only a temporary workaround.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.