Ting-Yu Lin
a0617bff0d
style: Run rustfmt on servo/components/style and servo/ports/geckolib
...
This patch is generated by running `cargo +nightly fmt` under
`servo/components/style/` and `servo/ports/geckolib` against mozilla-central
https://hg.mozilla.org/mozilla-central/rev/b193f2e7a6a5d1f042c957ea4acd5c89bf210512
My nightly version is: 1.58.0-nightly (c9c4b5d72 2021-11-17)
Manually remove the redundant braces in author_styles.rs to fix a warning.
Differential Revision: https://phabricator.services.mozilla.com/D131556
2023-06-09 10:22:19 +02:00
Oriol Brufau
2c5aa34bb0
Further changes required by Servo
2023-05-24 18:32:36 +02:00
Mats Palmgren
d92f66246e
style: [css-content] Implement 'content: none' for elements
...
Differential Revision: https://phabricator.services.mozilla.com/D114130
2023-05-24 18:32:36 +02:00
Mats Palmgren
183ec78be5
style: Implement 'content: none' for ::marker
...
Differential Revision: https://phabricator.services.mozilla.com/D111707
2023-05-24 18:32:36 +02:00
Emilio Cobos Álvarez
071ce6f345
style: Rustfmt recent changes.
2020-02-12 02:43:23 +01:00
Emilio Cobos Álvarez
219c0f6328
style: Use cbindgen for content property.
...
This cleans up and also allows us to keep the distinction between content: none
and content: normal, which allows us to fix the computed style we return from
getComputedStyle().
Do this last bit from the resolved value instead of StyleAdjuster, because
otherwise we need to tweak every initial struct for ::before / ::after.
Differential Revision: https://phabricator.services.mozilla.com/D58276
2020-02-12 02:43:08 +01:00