Closed Bug 1841292 Opened 2 years ago Closed 2 years ago

WPT failures in css/css-transforms/transform-2d-getComputedStyle-001.html

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: twisniewski, Assigned: boris)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file, 2 obsolete files)

It seems that we're not passing these because we are expected to return transform:none, not the actual transform:matrix() value, when the element has display:none.

The severity field is not set for this bug.
:boris, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(boris.chiou)

I may take a look at this.

Severity: -- → S3
Flags: needinfo?(boris.chiou)
Assignee: nobody → boris.chiou

Reuse nsROCSSPrimitiveValue(const nsACString&) in more places.

No behavior change.

Attachment #9345682 - Attachment is obsolete: true
Attachment #9345683 - Attachment is obsolete: true

The spec doesn't mention anything about displen:none, so per the spec,
we should use either matrix() syntax or just make computed value be the
resolved value. Blink and Webkit return none, so for now we accept both
cases. Once the spec issue gets resolved, we can update there.

https://drafts.csswg.org/css-transforms-2/#serialization-of-the-computed-value

Attachment #9349512 - Attachment description: Bug 1841292 - Fix wpt to accept both none and the expected resolved value for transform. → Bug 1841292 - Update wpt for the serialization of transform when display is none.
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80d5d57caeb9 Update wpt for the serialization of transform when display is none. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41603 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: