gecko-dev/layout/printing
Jan-Niklas Jaeschke fa75d3a60f Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio
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-01-27 11:42:18 +00:00
..
crashtests Bug 1586574 - apply horizontal writing mode to mathml elements. r=emilio 2022-12-16 17:07:56 +00:00
ipc Bug 1785046 - Part 3: Let `nsIDeviceContextSpec::EndDocument` & `nsDeviceContext::EndDocument` return `MozPromise`. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
DrawEventRecorder.cpp
DrawEventRecorder.h
PrintTranslator.cpp Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
PrintTranslator.h Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
moz.build Bug 1754111 part 2: Fix non-unified build errors in layout/printing, and mark it as safe to build in non-unified mode. r=emilio 2022-02-08 05:17:30 +00:00
nsPagePrintTimer.cpp Bug 1754111 part 1: Move nsPagePrintTimer constructor definition (and its nsPrintObject.h include) to the .cpp file. r=emilio 2022-02-08 05:17:30 +00:00
nsPagePrintTimer.h Bug 1754111 part 1: Move nsPagePrintTimer constructor definition (and its nsPrintObject.h include) to the .cpp file. r=emilio 2022-02-08 05:17:30 +00:00
nsPrintData.cpp Bug 1785046 - Part 3: Let `nsIDeviceContextSpec::EndDocument` & `nsDeviceContext::EndDocument` return `MozPromise`. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
nsPrintData.h Bug 1770539 p9 - Move nsPrintData::mPrintObject to nsPrintJob. r=emilio 2022-05-22 09:37:58 +00:00
nsPrintJob.cpp Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
nsPrintJob.h Bug 1800546 Part 1 - Use the style given the first page name for setting default orientation when printing r=emilio 2022-12-02 23:22:50 +00:00
nsPrintObject.cpp Bug 1776074 part 7: Remove mFrameType member (and PrintObjectType in general) from nsPrintObject.h. r=emilio 2022-06-23 22:57:00 +00:00
nsPrintObject.h Bug 1776074 part 7: Remove mFrameType member (and PrintObjectType in general) from nsPrintObject.h. r=emilio 2022-06-23 22:57:00 +00:00