fune/servo/components
Boris Chiou a0d6bab413 Bug 1786161 - Support rect() function. r=devtools-reviewers,emilio
Note that rect() computes to the equivalent inset() function as well.
i.e. Given `rect(t r b l)`, the equivalent function is
`inset(t calc(100% - r) calc(100% - b) l)`.

The implementation is straightforward, and we don't have to change
anything in cpp because it is always `inset()` when building the gfx::Path.

The tests for clip-path will be added in the following patch.

Differential Revision: https://phabricator.services.mozilla.com/D183528
2023-07-25 02:32:43 +00:00
..
derive_common Bug 1836229 - Update serde_with to 3.0.0. r=emilio,supply-chain-reviewers 2023-06-05 20:28:30 +00:00
malloc_size_of Bug 1835681 - Rustfmt servo/. r=zrhoffman 2023-05-30 08:04:52 +00:00
selectors Bug 1843103: Proper cousin style sharing for non-rightmost :has() selectors. r=emilio 2023-07-24 12:49:57 +00:00
servo_arc Bug 1843076 - Use data_mut in HeaderSlice::drop(). 2023-07-14 22:51:06 +00:00
style Bug 1786161 - Support rect() function. r=devtools-reviewers,emilio 2023-07-25 02:32:43 +00:00
style_derive Bug 1836229 - Update serde_with to 3.0.0. r=emilio,supply-chain-reviewers 2023-06-05 20:28:30 +00:00
style_traits Bug 1843982 - Add ParsingMode for rejecting font-relative units r=emilio 2023-07-19 10:43:44 +00:00
to_shmem Bug 1842221 - Simplify ThinArc and friends. r=boris 2023-07-12 07:17:25 +00:00
to_shmem_derive Bug 1836229 - Update serde_with to 3.0.0. r=emilio,supply-chain-reviewers 2023-06-05 20:28:30 +00:00