Closed Bug 1743150 Opened 4 years ago Closed 4 years ago

Shorthands shouldn't be enumerated in the computed style.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

This is as per spec, and causes failures once we enable the pref to expose
shorthands in the computed style. We need to decouple the "enabled-ness" from
the enumerable-ness, which we do by keeping two separate arrays, and leaving
ComputedStyleMap for the enumeration.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e37fab919847 Shorthands in computed style shouldn't be enumerable. r=layout-reviewers,jfkthame

Backed out for causing linux build bustage in layout/style/nsComputedDOMStyle

Backout link: https://hg.mozilla.org/integration/autoland/rev/e157111104c3cceffe54b57907f315d6f3bb7cd1

Push with failures

Failure log

INFO -  /builds/worker/workspace/obj-build/layout/style/nsComputedDOMStyleGenerated.inc:15:1: sorry, unimplemented: non-trivial designated initializers not supported
[task 2021-12-01T11:07:03.206Z] 11:07:03    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:662: Unified_cpp_layout_style3.o] Error 1
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c8376ad956e Shorthands in computed style shouldn't be enumerable. r=layout-reviewers,jfkthame

Backed out changeset 3c8376ad956e (bug 1743150) for causing multiple failures in layout/style/nsComputedDOMStyle

Backout link: https://hg.mozilla.org/integration/autoland/rev/4afd9e2b6901d9aab29dff2883a381763b3245b8

Push with failures

Failure log

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9faf7a5f6e19 Shorthands in computed style shouldn't be enumerable. r=layout-reviewers,jfkthame
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: