mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #2112 - Part 9: Remove handling for multiple style backends
This commit is contained in:
parent
28cd0ceb47
commit
b96b733bfa
20 changed files with 20 additions and 125 deletions
|
|
@ -2379,13 +2379,6 @@ public:
|
|||
return sTextCombineUprightDigitsEnabled;
|
||||
}
|
||||
|
||||
// Stylo (the Servo backend for Gecko's style system) is generally enabled
|
||||
// or disabled at compile-time. However, we provide the additional capability
|
||||
// to disable it dynamically in stylo-enabled builds via a pref.
|
||||
static bool StyloEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
static uint32_t IdlePeriodDeadlineLimit() {
|
||||
return sIdlePeriodDeadlineLimit;
|
||||
}
|
||||
|
|
@ -2813,14 +2806,6 @@ public:
|
|||
*/
|
||||
static CSSPoint GetCumulativeApzCallbackTransform(nsIFrame* aFrame);
|
||||
|
||||
/*
|
||||
* Returns whether the given document supports being rendered with a
|
||||
* Servo-backed style system. This checks whether Stylo is enabled
|
||||
* globally, that the document is an HTML document, and that it is
|
||||
* being presented in a content docshell.
|
||||
*/
|
||||
static bool SupportsServoStyleBackend(nsIDocument* aDocument);
|
||||
|
||||
/*
|
||||
* Checks whether a node is an invisible break.
|
||||
* If not, returns the first frame on the next line if such a next line exists.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue