Closed Bug 1905330 Opened 4 months ago Closed 4 months ago

Perma layout/reftests/writing-mode/1083848-1-inline-border.html == layout/reftests/writing-mode/1083848-1-inline-border-ref.html | image comparison, max difference: 255, number of differin when Gecko 129 switches from Early Beta to Late Beta on 2024-07-19

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

VERIFIED FIXED
129 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox127 --- unaffected
firefox128 --- unaffected
firefox129 + fixed
firefox130 --- verified

People

(Reporter: acseh, Assigned: jfkthame)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(3 files)

Central-as-beta simulation
How to run these simulations
Failure log:

[task 2024-06-28T11:05:42.353Z] 11:05:42     INFO - REFTEST TEST-UNEXPECTED-FAIL | layout/reftests/writing-mode/1083848-1-inline-border.html == layout/reftests/writing-mode/1083848-1-inline-border-ref.html | image comparison, max difference: 255, number of differing pixels: 1965
(...)
[task 2024-06-28T11:05:42.358Z] 11:05:42     INFO - REFTEST INFO | Saved log: START file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/writing-mode/1083848-1-inline-border.html
[task 2024-06-28T11:05:42.359Z] 11:05:42     INFO - REFTEST INFO | Saved log: [CONTENT] OnDocumentLoad triggering AfterOnLoadScripts
[task 2024-06-28T11:05:42.362Z] 11:05:42     INFO - REFTEST INFO | Saved log: Initializing canvas snapshot
[task 2024-06-28T11:05:42.362Z] 11:05:42     INFO - REFTEST INFO | Saved log: DoDrawWindow 0,0,800,1000
[task 2024-06-28T11:05:42.363Z] 11:05:42     INFO - REFTEST INFO | Saved log: [CONTENT] RecordResult fired
[task 2024-06-28T11:05:42.364Z] 11:05:42     INFO - REFTEST INFO | Saved log: RecordResult fired
[task 2024-06-28T11:05:42.365Z] 11:05:42     INFO - REFTEST INFO | Saved log: START file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/writing-mode/1083848-1-inline-border-ref.html
[task 2024-06-28T11:05:42.366Z] 11:05:42     INFO - REFTEST INFO | Saved log: [CONTENT] OnDocumentLoad triggering AfterOnLoadScripts
[task 2024-06-28T11:05:42.366Z] 11:05:42     INFO - REFTEST INFO | Saved log: Initializing canvas snapshot
[task 2024-06-28T11:05:42.371Z] 11:05:42     INFO - REFTEST INFO | Saved log: DoDrawWindow 0,0,800,1000
[task 2024-06-28T11:05:42.372Z] 11:05:42     INFO - REFTEST INFO | Saved log: [CONTENT] RecordResult fired
[task 2024-06-28T11:05:42.373Z] 11:05:42     INFO - REFTEST INFO | Saved log: RecordResult fired
[task 2024-06-28T11:05:42.384Z] 11:05:42     INFO - REFTEST TEST-END | layout/reftests/writing-mode/1083848-1-inline-border.html == layout/reftests/writing-mode/1083848-1-inline-border-ref.html
[task 2024-06-28T11:05:42.385Z] 11:05:42     INFO - REFTEST TEST-START | layout/reftests/writing-mode/1083848-2-inline-background.html == layout/reftests/writing-mode/1083848-2-inline-background-ref.html
Flags: needinfo?(jkew)

Ah, right, that test is dependent on the pref setting, so we need to add that to the manifest. I'll put up a patch in a while (out of the office today).

Flags: needinfo?(jkew) → needinfo?(jfkthame)

It's not relevant to what the test is looking at.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c66500c2b1bf Remove letter-spacing from writing-mode inline-border reftest. r=layout-reviewers,emilio

Patch doesn't seem to work in today's central as beta simulation.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

No longer happens in beta-sims.

Status: RESOLVED → VERIFIED
Flags: needinfo?(jfkthame)

This looks to happen only on late-beta simulation now.

Hi Jonathan! Could you please take another look?

Thank you!

Status: VERIFIED → REOPENED
Flags: needinfo?(jfkthame)
Resolution: FIXED → ---
Summary: Perma layout/reftests/writing-mode/1083848-1-inline-border.html == layout/reftests/writing-mode/1083848-1-inline-border-ref.html | image comparison, max difference: 255, number of differing pixels: 1965 when Gecko 129 merges to beta on 2024-07-08 → Perma layout/reftests/writing-mode/1083848-1-inline-border.html == layout/reftests/writing-mode/1083848-1-inline-border-ref.html | image comparison, max difference: 255, number of differin when Gecko 129 switches from Early Beta to Late Beta on 2024-07-19

We probably need a pref-flip (setting layout.css.letter-spacing.model to 2) for this reftest, I imagine? jfkthame, it sounds like that's what you were planning in comment 1, but you ended up opting to remove letter-spacing from the test instead. But some letter-spacing actually remained -- I see .h { writing-mode:horizontal-tb; letter-spacing: 0.4em } in the remaining contextual code.

This test presumably started passing in early-beta sims (comment 6) not due to the test-tweak that landed here, but rather due to the fact that we enabled this symmetrical letter-spacing behavior on early-beta on July 1st in bug 1905213.

Yeah - I overlooked the letter-spacing on the .h class. Removing that and adjusting the width of the element avoids the issue; I meant to post this patch yesterday but I see I got distracted....

Flags: needinfo?(jfkthame)
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a92b779008c8 followup - also remove letter-spacing from the horizontal testcase. r=layout-reviewers,emilio

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

Status: REOPENED → RESOLVED
Closed: 4 months ago4 months ago
Resolution: --- → FIXED

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-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jfkthame)

test-only change so doesn't need a formal uplift request.
I can take this in my next push to beta.

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

beta Uplift Approval Request

  • User impact if declined: No user impact; late-beta reftest failure in CI
  • 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: test-only patch, no code change
  • String changes made/needed: none
  • Is Android affected?: yes

(In reply to Donal Meehan [:dmeehan] from comment #15)

test-only change so doesn't need a formal uplift request.
I can take this in my next push to beta.

Hah, thanks - I just saw this after completing the uplift form!

Attachment #9412009 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified fixed in today's late beta-sim

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: