Bug 1646811 - Sync some comment changes from servo.

Depends on D80244

Differential Revision: https://phabricator.services.mozilla.com/D80245
This commit is contained in:
Emilio Cobos Álvarez 2020-06-18 18:14:10 +00:00
Родитель ce1653098e
Коммит 3eaf5b6acb
4 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -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 {