Closed
Bug 1838262
Opened 1 years ago
Closed 1 year ago
`getComputedStyle()` does not return values for Custom Highlight API
Categories
(Core :: CSS Parsing and Computation, task)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Calling getComputedStyle()
for a highlight curently does not return any values, which is the reason these WPTs fail.
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → jjaschke
Attachment #9344243 -
Attachment description: WIP: Bug 1838262: Implemented `getComputedStyle()` for custom highlight api. r=emilio! → Bug 1838262: Implemented `getComputedStyle()` for custom highlight api. r=emilio!,#dom-core
Status: NEW → ASSIGNED
Updated•1 year ago
|
Attachment #9344243 -
Attachment description: Bug 1838262: Implemented `getComputedStyle()` for custom highlight api. r=emilio!,#dom-core → Bug 1838262, part 1: Implemented `getComputedStyle()` for custom highlight api. r=emilio!,#dom-core
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D183773
Assignee | ||
Comment 3•1 year ago
|
||
As per [0], [1] and [2], getComputedStyle()
should not return the
default style when the pseudo is invalid.
Instead, an empty style should be returned.
[0] https://drafts.csswg.org/cssom/#extensions-to-the-window-interface
[1] https://github.com/w3c/csswg-drafts/issues/6501
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1726396
Updated•1 year ago
|
Attachment #9344243 -
Attachment description: Bug 1838262, part 1: Implemented `getComputedStyle()` for custom highlight api. r=emilio!,#dom-core → Bug 1838262, part 2: Implemented `getComputedStyle()` for custom highlight api. r=emilio!,#dom-core
Updated•1 year ago
|
Attachment #9346021 -
Attachment description: Bug 1838262, part 2: Removed `ServoStyleSet::ProbeHighlightPseudoElementStyle()`. r=emilio!,#dom-core → Bug 1838262, part 3: Removed `ServoStyleSet::ProbeHighlightPseudoElementStyle()`. r=emilio!,#dom-core
Pushed by jjaschke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1c145766032f
part 1: Changed expected WPT results for `getComputedStyle()` in custom highlight API tests. r=emilio
https://hg.mozilla.org/integration/autoland/rev/c7f3f28e7882
part 2: Implemented `getComputedStyle()` for custom highlight api. r=emilio
https://hg.mozilla.org/integration/autoland/rev/7b994721e8fb
part 3: Removed `ServoStyleSet::ProbeHighlightPseudoElementStyle()`. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41244 for changes under testing/web-platform/tests
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1c145766032f
https://hg.mozilla.org/mozilla-central/rev/c7f3f28e7882
https://hg.mozilla.org/mozilla-central/rev/7b994721e8fb
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•