зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1646811 - Sync some comment changes from servo.
Depends on D80244 Differential Revision: https://phabricator.services.mozilla.com/D80245
This commit is contained in:
Родитель
ce1653098e
Коммит
3eaf5b6acb
|
@ -17,9 +17,9 @@ smallvec = "1.0"
|
|||
# feature is specified.
|
||||
#
|
||||
# In that case, we actually call the system malloc functions to reserve space,
|
||||
# otherwise we just let rust do its thing (aborting on OOM).
|
||||
# otherwise we just let Rust do its thing (aborting on OOM).
|
||||
#
|
||||
# This is effectively a stop-gap measure until we can do this properly in
|
||||
# stable rust.
|
||||
# stable Rust.
|
||||
[features]
|
||||
known_system_malloc = []
|
||||
|
|
|
@ -6,7 +6,6 @@ license = "MIT/Apache-2.0"
|
|||
description = "Fork of std::HashMap with stable fallible allocation."
|
||||
documentation = "https://docs.rs/hashglobe"
|
||||
repository = "https://github.com/Manishearth/hashglobe"
|
||||
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -143,7 +143,7 @@ bitflags! {
|
|||
const IN_FOCUS_VISIBLE_STATE = 1 << 52;
|
||||
/// State that dialog element is modal, for centered alignment
|
||||
///
|
||||
/// https://html.spec.whatwg.org/#centered-alignment
|
||||
/// https://html.spec.whatwg.org/multipage/#centered-alignment
|
||||
const IN_MODAL_DIALOG_STATE = 1 << 53;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ use smallvec::SmallVec;
|
|||
/// We generate a Dependency for both |a _ b:X _| and |a _ b:X _ c _ d:Y _|,
|
||||
/// even though those selectors may not appear on their own in any stylesheet.
|
||||
/// This allows us to quickly scan through the dependency sites of all style
|
||||
/// rules and determine the maximum effect that a given state or attributef
|
||||
/// rules and determine the maximum effect that a given state or attribute
|
||||
/// change may have on the style of elements in the document.
|
||||
#[derive(Clone, Debug, MallocSizeOf)]
|
||||
pub struct Dependency {
|
||||
|
|
Загрузка…
Ссылка в новой задаче