servo/components/style
Oriol Brufau 3da3d76a08 style: Clean up NPAPI plugin fallback behavior
Similifies use of EventStates and ObjectType/FallbackType enums since most states they represented are no longer valid with the removal of NPAPI plugins.  The state machine for (unsupported) plugin elements is now much simpler but still distinguishes between HTML fallbacks, fallbacks leading to a "BROKEN" state (e.g. failing to load the image the element refers to), and fallbacks that would simply lead the element to occupy an empty region.  The last type of fallback is behind a pref "layout.use-plugin-fallback" and is disabled by default.

Simplifying the state machine allows us to clean up nsObjectLoadingContent.  We also update many of the enums which refered to plugins, which would otherwise get confusing.

Differential Revision: https://phabricator.services.mozilla.com/D107158
2023-05-16 23:03:45 +02:00
..
counter_style Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
gecko style: Reduce boilerplate needed to add system-metric media features 2023-05-16 23:02:50 +02:00
gecko_bindings style: Inline nsTArray::deref. 2021-02-26 16:44:05 +01:00
gecko_string_cache Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
invalidation style: Invalidate a bit more aggressively when a pseudo-element matches, in order to also invalidate the cached pseudo-styles on the parent 2023-05-16 13:01:18 +02:00
media_queries style: Move Ratio into independent files. 2021-02-26 16:44:05 +01:00
properties style: add an appearance type that forces a dropshadow on menus on Windows, and uses SetWindowRgn to clip the popup to the border radius 2023-05-16 23:00:33 +02:00
rule_tree style: Export a size to fix a test that was trying to use a now-private type. 2020-04-23 05:07:02 +02:00
servo Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
sharing Upgrade to uluru 2 2021-07-15 18:28:12 +02:00
stylesheets Further changes required by Servo 2023-05-16 13:00:18 +02:00
use_counters
values style: Add the size-adjust descriptor to the style system 2023-05-16 22:58:04 +02:00
animation.rs animations: Don't convert linear easing to a bezier 2020-06-24 17:19:25 +02:00
applicable_declarations.rs
attr.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
author_styles.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
bezier.rs
bloom.rs
build.rs Add build github actions workflows for mac/windows/linux. 2021-02-26 04:20:22 -05:00
build_gecko.rs Do not use deprecated bindgen methods 2021-04-17 07:11:25 +02:00
Cargo.toml */Cargo.toml: use the shmem feature for the dependency on the selectors cratre 2023-02-14 13:05:59 -06:00
context.rs style: Paper over a crash in non-nightly 2023-05-16 12:55:42 +02:00
custom_properties.rs Update nightly rustc. 2021-11-01 08:46:18 -04:00
data.rs
dom.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
dom_apis.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
driver.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
element_state.rs style: Clean up NPAPI plugin fallback behavior 2023-05-16 23:03:45 +02:00
encoding_support.rs style: Remove some unused extern crate declarations now that style is in rust 2018. 2020-06-18 23:51:18 +02:00
error_reporting.rs
font_face.rs Further changes required by Servo 2023-05-16 22:58:48 +02:00
font_metrics.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
global_style_data.rs feat: shorten thread names 2021-07-19 00:57:48 +09:00
hash.rs
lib.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
logical_geometry.rs
macros.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
matching.rs style: Use Option::as_deref() in style code. 2021-02-26 16:44:05 +01:00
parallel.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
parser.rs Rustfmt. 2021-02-26 16:44:05 +01:00
README.md Update link 2020-04-28 09:09:54 -07:00
rule_cache.rs
rule_collector.rs style: Avoid some allocations in selector serialization. 2021-02-26 16:44:05 +01:00
rustfmt.toml Disable formatting for components/style/ 2023-05-15 17:45:25 +02:00
scoped_tls.rs Replace ScopedTLS::unsafe_get by ScopedTLS::into_slots 2020-04-05 01:20:39 +02:00
selector_map.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
selector_parser.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
shared_lock.rs style: build / rebase fixes. 2020-06-18 23:51:17 +02:00
str.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
style_adjuster.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
style_resolver.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
stylesheet_set.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
stylist.rs Further changes required by Servo 2023-05-16 13:00:18 +02:00
thread_state.rs
traversal.rs style: Use Option::as_deref() in style code. 2021-02-26 16:44:05 +01:00
traversal_flags.rs

servo-style

Style system for Servo, using rust-cssparser for parsing.