Closed Bug 1978208 Opened 18 days ago Closed 16 days ago

Color::InheritFromBodyQuirk is serialized to an empty string

Categories

(DevTools :: Inspector, defect)

defect

Tracking

(firefox142 fixed)

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

Steps to reproduce

  1. With patch for Bug 1212289 applied
  2. Navigate to data:text/html,<meta charset=utf8><table id=target></table>
  3. Open the inspector and inspect the <table> element

Actual results

There's a color: "" pres-hints declaration, which is marked as invalid


Emilio on Element:

that's expected, that's for the "table inherits color from body quirk"
https://searchfox.org/mozilla-central/rev/a9e77c69ed8a2b408bbe64553316c7849ec3d267/servo/components/style/gecko/wrapper.rs#1661-1673
We could serialize that value to make inspector look less weird

On the DevTools side, we can also probably always consider pres hints declaration valid

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Blocks: 1978223
Status: ASSIGNED → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: