Closed Bug 1815077 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38363 - Added new test on active ::selection of text within a svg object styled with 'color'

Categories

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

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Gérard Talbot <github@gtalbot.org> wrote:

Added new test on active ::selection of text within a svg object styled with 'color'

At my website:
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/svg-text-selection-002.html

http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/reference/svg-text-selection-002-ref.html

Firefox 102.7.0 ESR PASSES this test.

Chromium 109.0.5414.11 FAILS this test.

The important bit is that this test uses

text::selection {color: green;}

and not

text::selection {fill: green;}

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34055950d215 [wpt PR 38363] - Added new test on active ::selection of text within a svg object styled with 'color', a=testonly
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e599ac6d068 [wpt PR 38363] - Added new test on active ::selection of text within a svg object styled with 'color', a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Test result changes from PR not available.
You need to log in before you can comment on or make changes to this bug.