Closed Bug 1913536 Opened 3 months ago Closed 3 months ago

CSS value suggestion for white-space doesn't include normal, pre, pre-line, pre-wrap

Categories

(DevTools :: Inspector: Rules, defect)

Firefox 124
defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 fixed, firefox129 wontfix, firefox130 fixed, firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- fixed
firefox129 --- wontfix
firefox130 --- fixed
firefox131 --- fixed

People

(Reporter: kevin, Assigned: jfkthame)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

With Firefox 124 and later, including the latest Nightly, the CSS values suggested by the rules editor in the inspector for the white-space property do not include the values normal, pre, pre-line, or pre-wrap. These values were specified by CSS3 (some as far back as CSS 1) and are also specified by CSS4 as "shorthand's special keywords". These values were suggested in Firefox 123 and earlier and are suggested by Edge and Chrome.

I've bisected the regression to https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=97b5cf7504be3be23cfe6a762a5a02fd27a49673&tochange=677bc5b3f7e679611868078e420607385d4ca20e indicating Bug 1852478 is the regressor, which makes sense as the missing values are not valid for the properties for which white-space is a shorthand.

Keywords: regression
Regressed by: 1852478

:jfkthame, since you are the author of the regressor, bug 1852478, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jfkthame)
Assignee: nobody → jfkthame
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1852478

Severity: -- → S3
Flags: needinfo?(jfkthame)
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5438ea2a944e Expose the special shorthands in the SpecifiedValueInfo for the CSS white-space shorthand. r=firefox-style-system-reviewers,devtools-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch

The patch landed in nightly and beta is affected.
:jfkthame, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox130 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jfkthame)
Attachment #9420339 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: missing some autocomplete values in devtools
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: minimal
  • Explanation of risk level: simple patch to add the special shorthand values to the list
  • String changes made/needed: none
  • Is Android affected?: yes
Flags: needinfo?(jfkthame)
Flags: in-testsuite+
Attachment #9420339 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9430152 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: DevTools fails to show some of the valid values for CSS white-space
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: minimal
  • Explanation of risk level: stylo change just exposes additional valid values for the property
  • String changes made/needed: none
  • Is Android affected?: yes
Attachment #9430152 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: