Skip to content

Bump to Stylo with legacy justify-align fix - #48806

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
nicoburns:justify-legacy
Oct 12, 2026
Merged

TimvdLippe merged 1 commit into
servo:mainfrom
nicoburns:justify-legacy

Conversation

@nicoburns

Copy link
Copy Markdown
Contributor

Bumps Stylo version to this PR:

Enables a small legacy fixup path that Gecko already had enabled. Change is entirely within the style system. No Servo-side changes required.

Testing: WPT tests

@nicoburns
nicoburns requested a review from Loirooriol October 11, 2026 08:18
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 11, 2026
@nicoburns nicoburns added the T-linux-wpt Do a try run of the WPT label Oct 11, 2026
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Oct 11, 2026
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#38124880225) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#38124880225):

Flaky unexpected result (15)
  • CRASH [expected OK] /_mozilla/mozilla/img-load-more-than-cache.html
  • FAIL [expected PASS] /css/css-backgrounds/background-size-041.html
  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html (#20768)
    • PASS [expected FAIL] subtest: Tests that a fragment navigation in the unload handler will not block the initial navigation
  • OK /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html (#28697)
    • PASS [expected FAIL] subtest: aElement.click() before the load event must NOT replace
  • CRASH [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/location-setter-user-mouseup.html (#48744)
  • CRASH [expected TIMEOUT] /html/browsers/history/the-location-interface/location_replace_session_history.html (#41896)
  • OK /html/semantics/forms/form-submission-0/jsurl-form-submit.tentative.html (#36489)
    • PASS [expected FAIL] subtest: Verifies that form submissions scheduled inside javascript: urls take precedence over the javascript: url's return value.
  • OK /html/syntax/speculative-parsing/expect-no-linked-resources/no-speculative-fetch.tentative.optional.html (#47290)
    • PASS [expected FAIL] subtest: expect-no-linked-resources hint was ignored
  • OK /mixed-content/tentative/autoupgrades/mixed-content-cors.https.sub.html (#41123)
    • FAIL [expected PASS] subtest: Cross-Origin audio should get upgraded even if CORS is set

      assert_equals: Length of other host audio is correct expected 1 but got Infinity
      

    • FAIL [expected PASS] subtest: Cross-Origin video should get upgraded even if CORS is set

      assert_equals: Length. Other host expected 1 but got Infinity
      

  • ERROR [expected TIMEOUT] /performance-timeline/not-restored-reasons/abort-block-bfcache.window.html (#42802)
  • OK /resource-timing/buffer-full-then-increased.html (#44408)
    • FAIL [expected PASS] subtest: Test that overflowing the buffer and immediately increasing its limit does not trigger the resourcetimingbufferfull event

      assert_equals: Number of entries does not match the expected value. expected 3 but got 1
      

  • OK /sanitizer-api/sanitizer-inert-document.html (#45260)
    • PASS [expected FAIL] subtest: Test whether setHTML loads the image.
    • FAIL [expected PASS] subtest: Test whether setHTMLUnsafe loads the image.

      promise_test: Unhandled rejection with value: "The server observed a request. It shouldn't have."
      

  • TIMEOUT [expected PASS] /streams/readable-streams/crashtests/from-cross-realm.https.html
  • OK /webdriver/tests/classic/element_click/navigate.py (#47582)
    • FAIL [expected PASS] subtest: test_link_from_toplevel_context_with_target[_blank]

      webdriver.error.NoSuchWindowException: no such window (404)
      

  • OK /webxr/xrSession_features_deviceSupport.https.html (#24357)
    • FAIL [expected PASS] subtest: Immersive XRSession requests with no supported device should reject

      assert_unreached: Should have rejected: undefined Reached unreachable code
      

Stable unexpected results that are known to be intermittent (15)
  • TIMEOUT [expected OK] /_mozilla/mozilla/window-resize-event.html (#36741)
    • TIMEOUT [expected PASS] subtest: Popup onresize event fires after resizeTo

      Test timed out
      

  • OK /css/css-fonts/variations/at-font-face-font-matching.html (#20684)
    • FAIL [expected PASS] subtest: Matching font-style: 'italic' should prefer 'normal' over 'oblique -60deg -30deg'

      assert_equals: Unexpected font on test element expected 487 but got 532
      

    • FAIL [expected PASS] subtest: Matching font-style: 'oblique 21deg' should prefer 'oblique 10deg' over 'oblique 0deg'

      assert_equals: Unexpected font on test element expected 487 but got 532
      

  • OK [expected TIMEOUT] /fetch/api/redirect/redirect-keepalive.https.any.html (#32153)
    • PASS [expected TIMEOUT] subtest: [keepalive][iframe][load] mixed content redirect; setting up
  • OK /html/browsers/browsing-the-web/navigating-across-documents/005.html (#27062)
    • PASS [expected FAIL] subtest: Link with onclick navigation and href navigation
  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/cross-origin-top-navigation-with-user-activation-in-parent.window.html (#48205)
    • TIMEOUT [expected FAIL] subtest: Cross-origin top navigation is blocked without user activation, even if the parent has user activation

      Test timed out
      

  • OK [expected TIMEOUT] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html (#44099)
    • FAIL [expected TIMEOUT] subtest: Replace before load, triggered by submitButton.click()

      assert_equals: expected "http://web-platform.test:8000/common/blank.html?thereplacement=" but got "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/resources/code-injector.html?pipe=sub(none)&code=%0A%20%20%20%20const%20form%20%3D%20document.createElement(%22form%22)%3B%0A%20%20%20%20form.action%20%3D%20%22%2Fcommon%2Fblank.html%22%3B%0A%0A%20%20%20%20const%20input%20%3D%20document.createElement(%22input%22)%3B%0A%20%20%20%20input.type%20%3D%20%22hidden%22%3B%0A%20%20%20%20input.name%20%3D%20%22thereplacement%22%3B%0A%20%20%20%20form.append(input)%3B%0A%0A%20%20%20%20const%20button%20%3D%20document.createElement(%22button%22)%3B%0A%20%20%20%20button.type%20%3D%20%22submit%22%3B%0A%20%20%20%20form.append(button)%3B%0A%0A%20%20%20%20document.currentScript.before(form)%3B%0A%20%20%20%20button.click()%3B%0A%20%20"
      

  • TIMEOUT [expected OK] /html/browsers/windows/consume-user-activation/window-open-multi-global.html (#47399)
    • TIMEOUT [expected FAIL] subtest: window.open() and consuming user activation with multiple globals in play

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/embedded-content/media-elements/autoplay-allowed-by-permissions-policy.https.sub.html (#46803)
    • TIMEOUT [expected PASS] subtest: Permissions-Policy header: autoplay * allows same-origin iframes.

      Test timed out
      

  • TIMEOUT /html/semantics/embedded-content/media-elements/autoplay-default-permissions-policy.https.sub.html (#46805)
    • TIMEOUT [expected PASS] subtest: Default "autoplay" feature policy ["self"] allows the top-level document.

      Test timed out
      

  • OK [expected TIMEOUT] /html/semantics/embedded-content/media-elements/autoplay-disabled-by-permissions-policy.https.sub.html (#46012, #46804)
    • FAIL [expected TIMEOUT] subtest: Permissions-Policy header: autoplay "none" disallows same-origin iframes.

      assert_false: autoplay expected false got true
      

  • OK [expected CRASH] /html/semantics/forms/form-submission-0/form-submit-iframe-then-location-navigate.html (#29634)
    • FAIL [expected PASS] subtest: Verifies that location navigations take precedence when following form submissions.

      assert_equals: expected "/html/semantics/forms/form-submission-0/resources/location.html" but got "/html/semantics/forms/form-submission-0/resources/form.html"
      

  • OK /html/webappapis/user-prompts/print-during-unload.html (#35944)
    • FAIL [expected PASS] subtest: print() during unload

      assert_array_equals: expected property 1 to be "destination" but got "error: window.print is not a function" (expected array ["start", "destination"] got ["start", "error: window.print is not a function"])
      

  • OK /infrastructure/testdriver/click_window.html (#47303)
    • FAIL [expected PASS] subtest: TestDriver click method in window

      Unhandled rejection: assert_unreached: click failed Reached unreachable code
      

  • OK /resource-timing/buffer-full-add-then-clear.html (#40819)
    • PASS [expected FAIL] subtest: Test that if the buffer is cleared after entries were added to the secondary buffer, those entries make it into the primary one
  • OK /resource-timing/test_resource_timing.html (#25720)
    • PASS [expected FAIL] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (img)

@github-actions

Copy link
Copy Markdown

✨ Try run (#38124880225) succeeded.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 11, 2026
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 11, 2026
@nicoburns
nicoburns enabled auto-merge October 11, 2026 20:39
@nicoburns
nicoburns added this pull request to the merge queue Oct 11, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Oct 11, 2026
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 11, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Oct 12, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 12, 2026
Merged via the queue into servo:main with commit 150b19a Oct 12, 2026
41 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 12, 2026
philocalyst added a commit to philocalyst/servo that referenced this pull request Oct 13, 2026
* upstream/main: (1116 commits)
  base: Use serde_json::from_reader instead of allocating a string (servo#48843)
  script_bindings/script: Unify valid_floating_point_number_string (servo#48844)
  script: Update radio group when checked radio button joins by changing form owner (servo#48069)
  Font: avoid copying memory mapped font data on macOS (servo#48841)
  script: Small clean-up in `HTMLScriptElement`'s `get_script_type` (servo#48831)
  script: set checked element state when cloning input element (servo#48845)
  layout: Treat preserved tabs as conditionally hanging under `white-space: pre-wrap` (servo#48753)
  pixels: avoid snapshot copies in single-process mode (servo#48836)
  url: Faster url to string conversion (servo#48838)
  layout: Split `accessibility/mod.rs` into separate files (servo#48830)
  devtools: feature guard (servo#47255)
  script: Fix assertion failure when track with no cues is rendered (servo#48827)
  deny: Allow unused-allowed-org (servo#46281)
  a11y: Add more helper functions in integration test. (servo#48777)
  net: Avoid cloning the whole CorsCache when cleaning (servo#48828)
  layout: Replace `Direction` with `LogicalAxis` (servo#48815)
  Bump to Stylo with legacy justify-align fix (servo#48806)
  build: bump ohos-abilitykit-sys from 0.1.6 to 0.1.7 (servo#48822)
  build: bump thin-vec from 0.2.20 to 0.2.21 (servo#48821)
  build: bump hyper from 1.11.1 to 1.12.0 (servo#48820)
  ...

# Conflicts:
#	components/config/prefs.rs
#	components/layout/display_list/mod.rs
#	components/layout/flow/inline/mod.rs
#	components/layout/flow/inline/text_run.rs
#	components/layout/layout_impl.rs
shubhamg13 pushed a commit to shubhamg13/stylo that referenced this pull request Oct 15, 2026
This value was added for implementing the legacy `<center>` and `align`
attribute. Unlike other `justify-items` it inherits. Gecko, Servo, and
Blitz all use the older `text-align: -moz-left` solution for that. But
Gecko implements this property at style-level only. This PR simply
implements that style adjustment for Servo builds as well.

Makes a couple of `css-align` tests pass.

Servo PR: servo/servo#48806
Loirooriol pushed a commit to servo/stylo that referenced this pull request Nov 9, 2026
This value was added for implementing the legacy `<center>` and `align`
attribute. Unlike other `justify-items` it inherits. Gecko, Servo, and
Blitz all use the older `text-align: -moz-left` solution for that. But
Gecko implements this property at style-level only. This PR simply
implements that style adjustment for Servo builds as well.

Makes a couple of `css-align` tests pass.

Servo PR: servo/servo#48806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants