servo/components/style/gecko
Jan-Niklas Jaeschke 896aac5e4a style: Basic implementation of Custom Highlight API
Added WebIDL interfaces as per spec, added some necessary changes to support maplike and setlike structures to be accessed from C++.

Added `::highlight(foo)` pseudo element to CSS engine.

Implemented Highlight as new kind of `Selection` using `HighlightType::eHighlight`. This implies Selections being added/removed during runtime (one `Selection` object per highlight identifier), therefore a dynamic container for highlight `Selection` objects was added to `nsFrameSelection`. Also, the painting code queries the highlight style for highlight Selections.

Implementation is currently hidden behind a pref `dom.customHighlightAPI.enabled`.

Differential Revision: https://phabricator.services.mozilla.com/D164203
2023-11-06 09:35:57 +01:00
..
arc_types.rs style: Implement CSS parsing for the @font-palette-values rule 2023-11-03 08:59:49 +01:00
boxed_types.rs Implement Animation.commitStyles. 2019-05-29 16:14:16 +02:00
conversions.rs style: Reformat recent changes. 2020-04-16 17:50:17 +02:00
data.rs style: Cache computed styles objects display: none subtrees 2023-08-16 17:46:41 +02:00
media_features.rs style: Implement the color-gamut media feature 2023-11-04 08:17:09 +01:00
media_queries.rs style: Fix dynamic viewport size 2023-10-02 14:37:19 +00:00
mod.rs style: Remove the old profiler label frames code in the servo codebase and replace it with the new API 2023-05-24 18:32:40 +02:00
non_ts_pseudo_class_list.rs style: Make fullscreen modal 2023-10-02 14:37:19 +00:00
pseudo_element.rs style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
pseudo_element_definition.mako.rs style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
regen_atoms.py style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
restyle_damage.rs style: Speed up custom property diffing. 2021-02-26 16:44:05 +01:00
selector_parser.rs style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
snapshot.rs style: Unify Gecko and Servo EventState/ElementState bits 2023-10-02 14:37:19 +00:00
snapshot_helpers.rs style: Run "cargo +nightly fmt" for style components in servo 2023-11-03 08:59:49 +01:00
traversal.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
url.rs Rustfmt. 2021-02-26 16:44:05 +01:00
values.rs style: Add lab(), lch(), oklab(), oklch() to specified colors 2023-11-06 09:35:57 +01:00
wrapper.rs style: Use the same computed time representation between Servo and Gecko 2023-11-06 09:35:57 +01:00