mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18809
This commit is contained in:
parent
fe16c1d5c3
commit
11c64178d8
142 changed files with 1635 additions and 1685 deletions
|
@ -28,17 +28,17 @@ pub enum ValidityStatus {
|
|||
}
|
||||
|
||||
bitflags!{
|
||||
pub struct ValidationFlags: u32 {
|
||||
const VALUE_MISSING = 0b0000000001;
|
||||
const TYPE_MISMATCH = 0b0000000010;
|
||||
const PATTERN_MISMATCH = 0b0000000100;
|
||||
const TOO_LONG = 0b0000001000;
|
||||
const TOO_SHORT = 0b0000010000;
|
||||
const RANGE_UNDERFLOW = 0b0000100000;
|
||||
const RANGE_OVERFLOW = 0b0001000000;
|
||||
const STEP_MISMATCH = 0b0010000000;
|
||||
const BAD_INPUT = 0b0100000000;
|
||||
const CUSTOM_ERROR = 0b1000000000;
|
||||
pub flags ValidationFlags: u32 {
|
||||
const VALUE_MISSING = 0b0000000001,
|
||||
const TYPE_MISMATCH = 0b0000000010,
|
||||
const PATTERN_MISMATCH = 0b0000000100,
|
||||
const TOO_LONG = 0b0000001000,
|
||||
const TOO_SHORT = 0b0000010000,
|
||||
const RANGE_UNDERFLOW = 0b0000100000,
|
||||
const RANGE_OVERFLOW = 0b0001000000,
|
||||
const STEP_MISMATCH = 0b0010000000,
|
||||
const BAD_INPUT = 0b0100000000,
|
||||
const CUSTOM_ERROR = 0b1000000000,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue