mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Add an optional --debug-mozjs argument to mach build
that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support.
This commit is contained in:
parent
a258746269
commit
a1b2f4b590
9 changed files with 38 additions and 24 deletions
|
@ -13,17 +13,17 @@
|
|||
//! "CSS 2.1" or "CSS 2.2" refers to the editor's draft of the W3C "Cascading Style Sheets Level 2
|
||||
//! Revision 2 (CSS 2.2) Specification" available here:
|
||||
//!
|
||||
//! http://dev.w3.org/csswg/css2/
|
||||
//! http://dev.w3.org/csswg/css2/
|
||||
//!
|
||||
//! "INTRINSIC" refers to L. David Baron's "More Precise Definitions of Inline Layout and Table
|
||||
//! Layout" available here:
|
||||
//!
|
||||
//! http://dbaron.org/css/intrinsic/
|
||||
//! http://dbaron.org/css/intrinsic/
|
||||
//!
|
||||
//! "CSS-SIZING" refers to the W3C "CSS Intrinsic & Extrinsic Sizing Module Level 3" document
|
||||
//! available here:
|
||||
//!
|
||||
//! http://dev.w3.org/csswg/css-sizing/
|
||||
//! http://dev.w3.org/csswg/css-sizing/
|
||||
|
||||
#![deny(unsafe_block)]
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//! This follows the "More Precise Definitions of Inline Layout and Table Layout" proposal written
|
||||
//! by L. David Baron (Mozilla) here:
|
||||
//!
|
||||
//! http://dbaron.org/css/intrinsic/
|
||||
//! http://dbaron.org/css/intrinsic/
|
||||
//!
|
||||
//! Hereafter this document is referred to as INTRINSIC.
|
||||
|
||||
|
|
|
@ -9,6 +9,9 @@ build = "make -f makefile.cargo"
|
|||
name = "script"
|
||||
path = "lib.rs"
|
||||
|
||||
[features]
|
||||
debugmozjs = ['js/debugmozjs']
|
||||
|
||||
[dependencies.plugins]
|
||||
path = "../plugins"
|
||||
|
||||
|
|
|
@ -583,29 +583,29 @@ fn matches_compound_selector<'a,E,N>(selector: &CompoundSelector,
|
|||
|
||||
/// A result of selector matching, includes 3 failure types,
|
||||
///
|
||||
/// NotMatchedAndRestartFromClosestLaterSibling
|
||||
/// NotMatchedAndRestartFromClosestDescendant
|
||||
/// NotMatchedGlobally
|
||||
/// NotMatchedAndRestartFromClosestLaterSibling
|
||||
/// NotMatchedAndRestartFromClosestDescendant
|
||||
/// NotMatchedGlobally
|
||||
///
|
||||
/// When NotMatchedGlobally appears, stop selector matching completely since
|
||||
/// the succeeding selectors never matches.
|
||||
/// It is raised when
|
||||
/// Child combinator cannot find the candidate element.
|
||||
/// Descendant combinator cannot find the candidate element.
|
||||
/// Child combinator cannot find the candidate element.
|
||||
/// Descendant combinator cannot find the candidate element.
|
||||
///
|
||||
/// When NotMatchedAndRestartFromClosestDescendant appears, the selector
|
||||
/// matching does backtracking and restarts from the closest Descendant
|
||||
/// combinator.
|
||||
/// It is raised when
|
||||
/// NextSibling combinator cannot find the candidate element.
|
||||
/// LaterSibling combinator cannot find the candidate element.
|
||||
/// Child combinator doesn't match on the found element.
|
||||
/// NextSibling combinator cannot find the candidate element.
|
||||
/// LaterSibling combinator cannot find the candidate element.
|
||||
/// Child combinator doesn't match on the found element.
|
||||
///
|
||||
/// When NotMatchedAndRestartFromClosestLaterSibling appears, the selector
|
||||
/// matching does backtracking and restarts from the closest LaterSibling
|
||||
/// combinator.
|
||||
/// It is raised when
|
||||
/// NextSibling combinator doesn't match on the found element.
|
||||
/// NextSibling combinator doesn't match on the found element.
|
||||
///
|
||||
/// For example, when the selector "d1 d2 a" is provided and we cannot *find*
|
||||
/// an appropriate ancestor node for "d1", this selector matching raises
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue