Closed Bug 1745506 Opened 3 years ago Closed 3 years ago

Items <li> in numbered lists <ol> have wrong numbers on SharePoint pages

Categories

(Core :: Layout: Generated Content, Lists, and Counters, defect)

Firefox 97
defect

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox95 --- unaffected
firefox96 + fixed
firefox97 + fixed

People

(Reporter: hostdodomu, Assigned: MatsPalmgren_bugz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Use Firefox Nightly V97 either on Linux or on Windows.
Use Microsoft Office account and create new page in any Microsoft SharePoint web.
Set Firefox window size to sufficient width. A left menu column must be visible on SharePoint page.
Put text block and numbered list to page.
Create several items /rows in list. Save page.

Actual results:

Completely wrong numbers with more then 3 digits each are displayed in front of all items in numbered list.

Described problem DOES NOT occur in these cases:
Firefox 95 or lower is used.
Window width of Firefox (incl. Nightly build V97) is set narrow and left SharePoint menu column is hidden.

Expected results:

An ascending numbers starting from No. 1 should be visible in front of all items in list.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

[Tracking Requested - why for this release]: Regression affecting major site.

Thanks! I managed to repro this on a sharepoint instance that my university had, and I've got an unreduced test-case. Pretty sure this is from bug 1706346, Mats can you take a look please?

Component: Widget: Gtk → Layout: Generated Content, Lists, and Counters
Flags: needinfo?(mats)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regressed by: 1706346
Has Regression Range: --- → yes
Attached file minimal testcase
Flags: needinfo?(mats)
Assignee: nobody → mats
Status: NEW → ASSIGNED
Attachment #9254913 - Attachment description: Bug 1745506 - Add missing initializion of INCREMENT node that isn't in a scope, nor first in the list. r=emilio → Bug 1745506 - Add missing initialization of an INCREMENT node that isn't in a scope, nor first in the list. r=emilio
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56cf5b4eb781
Add missing initialization of an INCREMENT node that isn't in a scope, nor first in the list.  r=emilio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch

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

Comment on attachment 9254913 [details]
Bug 1745506 - Add missing initialization of an INCREMENT node that isn't in a scope, nor first in the list. r=emilio

Beta/Release Uplift Approval Request

  • User impact if declined: list item numbering is wrong in some edge cases
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): trivial fix
  • String changes made/needed:
Attachment #9254913 - Flags: approval-mozilla-beta?
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/32053 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot

Comment on attachment 9254913 [details]
Bug 1745506 - Add missing initialization of an INCREMENT node that isn't in a scope, nor first in the list. r=emilio

Approved for 96.0b5

Attachment #9254913 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: