mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #2112 - Part 3: Remove --enable-stylo config and conditionals
This commit is contained in:
parent
88ac168f96
commit
e777ae5a3c
21 changed files with 0 additions and 254 deletions
|
|
@ -12302,21 +12302,6 @@ nsIDocument::UpdateStyleBackendType()
|
|||
|
||||
// Assume Gecko by default.
|
||||
mStyleBackendType = StyleBackendType::Gecko;
|
||||
|
||||
#ifdef MOZ_STYLO
|
||||
// XXX For now we use a Servo-backed style set only for (X)HTML documents
|
||||
// in content docshells. This should let us avoid implementing XUL-specific
|
||||
// CSS features. And apart from not supporting SVG properties in Servo
|
||||
// yet, the root SVG element likes to create a style sheet for an SVG
|
||||
// document before we have a pres shell (i.e. before we make the decision
|
||||
// here about whether to use a Gecko- or Servo-backed style system), so
|
||||
// we avoid Servo-backed style sets for SVG documents.
|
||||
if (!mDocumentContainer) {
|
||||
NS_WARNING("stylo: No docshell yet, assuming Gecko style system");
|
||||
} else if (nsLayoutUtils::SupportsServoStyleBackend(this)) {
|
||||
mStyleBackendType = StyleBackendType::Servo;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Selection*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue