Skip to content

Commit

Permalink
Bug 1911585 [wpt PR 47454] - Accept 'cursor' on ::marker pseudo-eleme…
Browse files Browse the repository at this point in the history
…nts, a=testonly

Automatic update from web-platform-tests
Accept 'cursor' on ::marker pseudo-elements

According to this CSSWG resolution:
w3c/csswg-drafts#6203 (comment)

Bug: 352335092
Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1337776}

--

wpt-commits: 165162b51fc2d3d0cc39d930c6aed809adef58cb
wpt-pr: 47454
  • Loading branch information
Loirooriol authored and moz-wptsync-bot committed Aug 8, 2024
1 parent 9d2d274 commit e99e1c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@
midPoint: "rgb(50, 100, 100) 2px 2px 2px",
},

// ::marker supports `cursor`.
{
property: "cursor",
from: "auto",
to: "move",
midPoint: "move",
},

// ::marker does NOT support layout properties
{
property: "display",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
test_pseudo_computed_value("::marker", "text-emphasis-style", "dot");
test_pseudo_computed_value("::marker", "text-shadow", "rgb(0, 255, 0) 1px 2px 3px");

// ::marker supports `cursor`.
test_pseudo_computed_value("::marker", "cursor", "move");

// ::marker does NOT support layout properties
test_pseudo_computed_value("::marker", "display", "none", ["block", "inline", "inline-block"]);
test_pseudo_computed_value("::marker", "position", "absolute", "static");
Expand Down

0 comments on commit e99e1c1

Please sign in to comment.