Open Bug 1402212 Opened 7 years ago Updated 2 years ago

stylo: display value of non-existent pseudo flex item is not blockified

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- affected

People

(Reporter: xidorn, Unassigned)

References

Details

Attachments

(1 file)

Attached file testcase (deleted) —
See the testcase. It tries to get the computed value of display property on a pseudo-element of a flexbox. The pseudo-element doesn't really exist because it has no content. Stylo shows "inline" in this testcase (so does Blink), while Gecko shows "block". From the spec, it seems that it should return "block" because blockification applies as far as the computed display value is not "none" or "contents", and absence of content property doesn't compute the display value to anything different. Web-platform test cssom/getComputedStyle-pseudo.html checks this behavior. I don't think it is an important issue, though.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: