Closed Bug 2086913 Opened 1 month ago Closed 19 days ago

[wpt-sync] Sync PR 64181 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321399

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64181 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64181
Details from upstream follow.

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321399

WebKit export from bug: [<!---->list-<!---->marker]<!----> direction on :<!---->:<!---->marker moves the marker box to the wrong side of the list item

<pre>
[list-marker] direction on ::marker moves the marker box to the wrong side of the list item

<style>
::marker { direction: rtl }
</style>
<ol><li>text

The marker should stay outside the list item's content, to its left. Instead it moved on
top of the content.

An outside marker is pulled out of the line by a negative inline-start margin, which
updateInlineMargins() wrote with the logical setter. That resolves start against the
marker's own direction, so a right-to-left marker got the negative margin on its right
edge. Both readers ask the other way around, BoxGeometryUpdater against the parent's
writing mode and RenderBlock::marginStartForChild against the containing block's, so
they found nothing on the left and the marker stayed on the content.

Write the physical edges of the list item's inline axis instead: left and right in a
horizontal writing mode, top and bottom in a vertical one, which is the axis those readers
take them from. That is what css-lists-3 asks for as well: with marker-side: match-self,
its initial value, the marker box is positioned using the directionality of the ::marker's
originating element rather than the marker's own.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321399">https://bugs.webkit.org/show_bug.cgi?id=321399</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318888@main">https://commits.webkit.org/318888@main</a>
</pre>

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 226 tests and 24 subtests

Status Summary

Firefox

OK : 37
PASS: 1[GitHub] 17[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 940[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1094[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1096[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 49[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 65[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 67[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-lists/counter-001.html [wpt.fyi]: FAIL
  • /css/css-lists/counter-002.html [wpt.fyi]: FAIL
  • /css/css-lists/counter-003.html [wpt.fyi]: FAIL
  • /css/css-lists/counter-list-item-2.html [wpt.fyi]: FAIL
  • /css/css-lists/counter-list-item.html [wpt.fyi]: FAIL [Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
  • /css/css-lists/counters-001.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-002.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-003.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-004.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-scope-001.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-scope-002.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-scope-003.html [wpt.fyi]: FAIL
  • /css/css-lists/counters-scope-004.html [wpt.fyi]: FAIL
  • /css/css-lists/foo-counter-reversed-007a.html [wpt.fyi]: FAIL
  • /css/css-lists/foo-counter-reversed-007b.html [wpt.fyi]: FAIL
  • /css/css-lists/foo-counter-reversed-009a.html [wpt.fyi]: FAIL
  • /css/css-lists/foo-counter-reversed-009b.html [wpt.fyi]: FAIL
  • /css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html [wpt.fyi]: FAIL [Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
  • /css/css-lists/animations/list-style-image-interpolation.html [wpt.fyi]
    • CSS Transitions: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from neutral to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (-0.3) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (0) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (0.3) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (-0.3) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (0) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [initial] to [url(../resources/stripes-20.png)] at (0.3) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [inherit] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [unset] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/blue-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (-0.3) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (0) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (0.3) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (-0.3) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (0) should be [none]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [none] to [url(../resources/stripes-20.png)] at (0.3) should be [none]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [url(../resources/stripes-20.png)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (-0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (0) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [url(../resources/green-20.png)] to [linear-gradient(45deg, blue, orange)] at (0.3) should be [url(../resources/green-20.png)]: FAIL
    • CSS Transitions: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (-0.3) should be [linear-gradient(-45deg, red, yellow)]: FAIL
    • CSS Transitions: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (0) should be [linear-gradient(-45deg, red, yellow)]: FAIL
    • CSS Transitions: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (0.3) should be [linear-gradient(-45deg, red, yellow)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (-0.3) should be [linear-gradient(-45deg, red, yellow)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (0) should be [linear-gradient(-45deg, red, yellow)]: FAIL
    • CSS Transitions with transition: all: property <list-style-image> from [linear-gradient(-45deg, red, yellow)] to [linear-gradient(45deg, blue, orange)] at (0.3) should be [linear-gradient(-45deg, red, yellow)]: FAIL
  • /css/css-lists/list-style-type-transition-tree-scope-custom-ident.html [wpt.fyi]
    • Transition when an author-defined list-style-type moves to another tree scope: FAIL
Status: NEW → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.