mirror of
https://github.com/swc-project/swc.git
synced 2024-11-27 04:47:03 +03:00
refactor(css/ast): Rename property
to name
(#3410)
This commit is contained in:
parent
43ca078eda
commit
eeedd9adf5
@ -3,8 +3,6 @@
|
||||
|
||||
//! AST definitions for CSS.
|
||||
pub use self::{at_rule::*, base::*, selector::*, style_rule::*, token::*, value::*};
|
||||
use is_macro::Is;
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
mod at_rule;
|
||||
mod base;
|
||||
@ -12,22 +10,3 @@ mod selector;
|
||||
mod style_rule;
|
||||
mod token;
|
||||
mod value;
|
||||
|
||||
#[ast_node("Stylesheet")]
|
||||
pub struct Stylesheet {
|
||||
pub span: Span,
|
||||
pub rules: Vec<Rule>,
|
||||
}
|
||||
|
||||
#[ast_node]
|
||||
#[derive(Is)]
|
||||
pub enum Rule {
|
||||
#[tag("QualifiedRule")]
|
||||
QualifiedRule(QualifiedRule),
|
||||
|
||||
#[tag("Tokens")]
|
||||
Invalid(Tokens),
|
||||
|
||||
#[tag("*")]
|
||||
AtRule(AtRule),
|
||||
}
|
||||
|
@ -1,6 +1,33 @@
|
||||
use crate::{AtRule, DashedIdent, Ident, SelectorList, Tokens, Value};
|
||||
use is_macro::Is;
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
#[ast_node("Stylesheet")]
|
||||
pub struct Stylesheet {
|
||||
pub span: Span,
|
||||
pub rules: Vec<Rule>,
|
||||
}
|
||||
|
||||
#[ast_node]
|
||||
#[derive(Is)]
|
||||
pub enum Rule {
|
||||
#[tag("QualifiedRule")]
|
||||
QualifiedRule(QualifiedRule),
|
||||
|
||||
#[tag("Tokens")]
|
||||
Invalid(Tokens),
|
||||
|
||||
#[tag("*")]
|
||||
AtRule(AtRule),
|
||||
}
|
||||
|
||||
#[ast_node("QualifiedRule")]
|
||||
pub struct QualifiedRule {
|
||||
pub span: Span,
|
||||
pub prelude: SelectorList,
|
||||
pub block: Block,
|
||||
}
|
||||
|
||||
#[ast_node("SimpleBlock")]
|
||||
pub struct SimpleBlock {
|
||||
pub span: Span,
|
||||
@ -10,13 +37,6 @@ pub struct SimpleBlock {
|
||||
pub value: Vec<Value>,
|
||||
}
|
||||
|
||||
#[ast_node("QualifiedRule")]
|
||||
pub struct QualifiedRule {
|
||||
pub span: Span,
|
||||
pub prelude: SelectorList,
|
||||
pub block: Block,
|
||||
}
|
||||
|
||||
#[ast_node("Block")]
|
||||
pub struct Block {
|
||||
pub span: Span,
|
||||
@ -33,19 +53,19 @@ pub enum DeclarationBlockItem {
|
||||
AtRule(AtRule),
|
||||
}
|
||||
|
||||
#[ast_node("Declaration")]
|
||||
pub struct Declaration {
|
||||
pub span: Span,
|
||||
pub name: DeclarationName,
|
||||
pub value: Vec<Value>,
|
||||
/// The span includes `!`
|
||||
pub important: Option<Span>,
|
||||
}
|
||||
|
||||
#[ast_node]
|
||||
pub enum DeclarationProperty {
|
||||
pub enum DeclarationName {
|
||||
#[tag("Ident")]
|
||||
Ident(Ident),
|
||||
#[tag("DashedIdent")]
|
||||
DashedIdent(DashedIdent),
|
||||
}
|
||||
|
||||
#[ast_node("Declaration")]
|
||||
pub struct Declaration {
|
||||
pub span: Span,
|
||||
pub property: DeclarationProperty,
|
||||
pub value: Vec<Value>,
|
||||
/// The span includes `!`
|
||||
pub important: Option<Span>,
|
||||
}
|
||||
|
@ -44,9 +44,6 @@ pub enum Value {
|
||||
#[tag("Tokens")]
|
||||
Tokens(Tokens),
|
||||
|
||||
#[tag("AtTextValue")]
|
||||
AtText(AtTextValue),
|
||||
|
||||
#[tag("Url")]
|
||||
Url(Url),
|
||||
}
|
||||
@ -140,14 +137,6 @@ pub enum BinOp {
|
||||
Div,
|
||||
}
|
||||
|
||||
#[ast_node("AtTextValue")]
|
||||
pub struct AtTextValue {
|
||||
pub span: Span,
|
||||
/// Includes `@`.
|
||||
pub name: Ident,
|
||||
pub block: Option<SimpleBlock>,
|
||||
}
|
||||
|
||||
#[ast_node("Url")]
|
||||
pub struct Url {
|
||||
pub span: Span,
|
||||
|
@ -661,7 +661,6 @@ where
|
||||
Value::Str(n) => emit!(self, n),
|
||||
Value::Bin(n) => emit!(self, n),
|
||||
Value::Tokens(n) => emit!(self, n),
|
||||
Value::AtText(n) => emit!(self, n),
|
||||
Value::Url(n) => emit!(self, n),
|
||||
Value::Delimiter(n) => emit!(self, n),
|
||||
}
|
||||
@ -762,21 +761,21 @@ where
|
||||
}
|
||||
|
||||
#[emitter]
|
||||
fn emit_declaration_property(&mut self, n: &DeclarationProperty) -> Result {
|
||||
fn emit_declaration_name(&mut self, n: &DeclarationName) -> Result {
|
||||
match n {
|
||||
DeclarationProperty::Ident(n) => emit!(self, n),
|
||||
DeclarationProperty::DashedIdent(n) => emit!(self, n),
|
||||
DeclarationName::Ident(n) => emit!(self, n),
|
||||
DeclarationName::DashedIdent(n) => emit!(self, n),
|
||||
}
|
||||
}
|
||||
|
||||
#[emitter]
|
||||
fn emit_declaration(&mut self, n: &Declaration) -> Result {
|
||||
emit!(self, n.property);
|
||||
emit!(self, n.name);
|
||||
punct!(self, ":");
|
||||
|
||||
let is_custom_property = match n.property {
|
||||
DeclarationProperty::DashedIdent(_) => true,
|
||||
DeclarationProperty::Ident(_) => false,
|
||||
let is_custom_property = match n.name {
|
||||
DeclarationName::DashedIdent(_) => true,
|
||||
DeclarationName::Ident(_) => false,
|
||||
};
|
||||
|
||||
if !is_custom_property {
|
||||
@ -1017,15 +1016,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[emitter]
|
||||
fn emit_at_text_value(&mut self, n: &AtTextValue) -> Result {
|
||||
punct!(self, "@");
|
||||
emit!(self, n.name);
|
||||
space!(self);
|
||||
|
||||
emit!(self, n.block);
|
||||
}
|
||||
|
||||
#[emitter]
|
||||
fn emit_url(&mut self, n: &Url) -> Result {
|
||||
emit!(self, n.name);
|
||||
|
@ -214,10 +214,10 @@ where
|
||||
}
|
||||
};
|
||||
|
||||
let property = if is_dashed_ident {
|
||||
DeclarationProperty::DashedIdent(self.parse()?)
|
||||
let name = if is_dashed_ident {
|
||||
DeclarationName::DashedIdent(self.parse()?)
|
||||
} else {
|
||||
DeclarationProperty::Ident(self.parse()?)
|
||||
DeclarationName::Ident(self.parse()?)
|
||||
};
|
||||
|
||||
self.input.skip_ws()?;
|
||||
@ -285,7 +285,7 @@ where
|
||||
|
||||
Ok(Declaration {
|
||||
span: Span::new(span.lo, end, Default::default()),
|
||||
property,
|
||||
name,
|
||||
value,
|
||||
important,
|
||||
})
|
||||
|
@ -289,28 +289,6 @@ where
|
||||
|
||||
tok!("#") => return Ok(Value::Color(Color::HexColor(self.parse()?))),
|
||||
|
||||
Token::AtKeyword { .. } => {
|
||||
let name = bump!(self);
|
||||
let name = match name {
|
||||
Token::AtKeyword { value, raw } => Ident { span, value, raw },
|
||||
_ => {
|
||||
unreachable!()
|
||||
}
|
||||
};
|
||||
|
||||
let block = if is!(self, "{") {
|
||||
self.parse_brace_value().map(Some)?
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
return Ok(Value::AtText(AtTextValue {
|
||||
span: span!(self, span.lo),
|
||||
name,
|
||||
block,
|
||||
}));
|
||||
}
|
||||
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
@ -281,7 +281,6 @@ macro_rules! mtd {
|
||||
impl Visit for SpanVisualizer<'_> {
|
||||
mtd!(AtRule, visit_at_rule);
|
||||
mtd!(AtSelector, visit_at_selector);
|
||||
mtd!(AtTextValue, visit_at_text_value);
|
||||
mtd!(AttrSelector, visit_attr_selector);
|
||||
mtd!(BinValue, visit_bin_value);
|
||||
mtd!(ClassSelector, visit_class_selector);
|
||||
@ -299,7 +298,7 @@ impl Visit for SpanVisualizer<'_> {
|
||||
mtd!(Number, visit_number);
|
||||
mtd!(Ratio, visit_ratio);
|
||||
mtd!(Percent, visit_percent);
|
||||
mtd!(DeclarationProperty, visit_declaration_property);
|
||||
mtd!(DeclarationName, visit_declaration_name);
|
||||
mtd!(Declaration, visit_declaration);
|
||||
mtd!(Nth, visit_nth);
|
||||
mtd!(AnPlusB, visit_an_plus_b);
|
||||
|
@ -31,7 +31,7 @@
|
||||
"end": 91,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 31,
|
||||
@ -101,7 +101,7 @@
|
||||
"end": 218,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 129,
|
||||
|
@ -52,7 +52,7 @@ error: Declaration
|
||||
2 | src: url('https://example.org/Coated_Fogra39L_VIGC_300.icc');
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/color-profile/input.css:2:5
|
||||
|
|
||||
2 | src: url('https://example.org/Coated_Fogra39L_VIGC_300.icc');
|
||||
@ -136,7 +136,7 @@ error: Declaration
|
||||
6 | src: url('https://drafts.csswg.org/css-color-4/ICCprofiles/Coated_Fogra39L_VIGC_300.icc');
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/color-profile/input.css:6:5
|
||||
|
|
||||
6 | src: url('https://drafts.csswg.org/css-color-4/ICCprofiles/Coated_Fogra39L_VIGC_300.icc');
|
||||
|
@ -28,7 +28,7 @@
|
||||
"end": 41,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 17,
|
||||
@ -59,7 +59,7 @@
|
||||
"end": 176,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 47,
|
||||
|
@ -55,7 +55,7 @@ error: Declaration
|
||||
2 | font-family: "Open Sans";
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/font-face/input.css:2:5
|
||||
|
|
||||
2 | font-family: "Open Sans";
|
||||
@ -86,7 +86,7 @@ error: Declaration
|
||||
4 | | url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||
| |______________________________________________________________^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/font-face/input.css:3:5
|
||||
|
|
||||
3 | src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||
|
@ -852,7 +852,7 @@
|
||||
"end": 645,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 632,
|
||||
@ -1006,7 +1006,7 @@
|
||||
"end": 728,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 715,
|
||||
@ -1175,7 +1175,7 @@
|
||||
"end": 825,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 812,
|
||||
@ -3897,7 +3897,7 @@
|
||||
"end": 3056,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3043,
|
||||
@ -3948,7 +3948,7 @@
|
||||
"end": 3100,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3087,
|
||||
@ -4065,7 +4065,7 @@
|
||||
"end": 3177,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3164,
|
||||
@ -4563,7 +4563,7 @@
|
||||
"end": 3847,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3834,
|
||||
@ -4633,7 +4633,7 @@
|
||||
"end": 3909,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3885,
|
||||
@ -4707,7 +4707,7 @@
|
||||
"end": 3960,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 3947,
|
||||
@ -5008,7 +5008,7 @@
|
||||
"end": 4131,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4118,
|
||||
@ -5171,7 +5171,7 @@
|
||||
"end": 4218,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4205,
|
||||
@ -5343,7 +5343,7 @@
|
||||
"end": 4307,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4294,
|
||||
@ -5555,7 +5555,7 @@
|
||||
"end": 4441,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4428,
|
||||
@ -5738,7 +5738,7 @@
|
||||
"end": 4535,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4522,
|
||||
@ -6045,7 +6045,7 @@
|
||||
"end": 4717,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4695,
|
||||
@ -6228,7 +6228,7 @@
|
||||
"end": 4849,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4836,
|
||||
@ -6411,7 +6411,7 @@
|
||||
"end": 5038,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4999,
|
||||
@ -6954,7 +6954,7 @@
|
||||
"end": 5558,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5545,
|
||||
@ -7040,7 +7040,7 @@
|
||||
"end": 5627,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5614,
|
||||
@ -7114,7 +7114,7 @@
|
||||
"end": 5701,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5688,
|
||||
@ -7184,7 +7184,7 @@
|
||||
"end": 5752,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5739,
|
||||
@ -7254,7 +7254,7 @@
|
||||
"end": 5812,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5793,
|
||||
@ -7324,7 +7324,7 @@
|
||||
"end": 5892,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 5879,
|
||||
@ -7714,7 +7714,7 @@
|
||||
"end": 6177,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 6164,
|
||||
|
@ -1018,7 +1018,7 @@ error: Declaration
|
||||
19 | @import url("narrow.css") supports(display: flex) handheld and (max-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:19:36
|
||||
|
|
||||
19 | @import url("narrow.css") supports(display: flex) handheld and (max-width: 400px);
|
||||
@ -1186,7 +1186,7 @@ error: Declaration
|
||||
20 | @import url("narrow.css") SUPPORTS(display: flex) handheld and (max-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:20:36
|
||||
|
|
||||
20 | @import url("narrow.css") SUPPORTS(display: flex) handheld and (max-width: 400px);
|
||||
@ -1384,7 +1384,7 @@ error: Declaration
|
||||
21 | @import url("fallback-layout.css") supports(not (display: flex));
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:21:50
|
||||
|
|
||||
21 | @import url("fallback-layout.css") supports(not (display: flex));
|
||||
@ -4804,7 +4804,7 @@ error: Declaration
|
||||
108 | @import "test.css" supports(display: flex);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:108:29
|
||||
|
|
||||
108 | @import "test.css" supports(display: flex);
|
||||
@ -4870,7 +4870,7 @@ error: Declaration
|
||||
109 | @import "test.css" supports(display: flex) screen and (orientation:landscape);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:109:29
|
||||
|
|
||||
109 | @import "test.css" supports(display: flex) screen and (orientation:landscape);
|
||||
@ -5008,7 +5008,7 @@ error: Declaration
|
||||
110 | @import"test.css"supports(display: flex)screen and (orientation:landscape);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:110:27
|
||||
|
|
||||
110 | @import"test.css"supports(display: flex)screen and (orientation:landscape);
|
||||
@ -5608,7 +5608,7 @@ error: Declaration
|
||||
128 | @import url("./test.css") supports(display: flex);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:128:36
|
||||
|
|
||||
128 | @import url("./test.css") supports(display: flex);
|
||||
@ -5692,7 +5692,7 @@ error: Declaration
|
||||
129 | @import url("./test.css") supports(display: flex !important);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:129:36
|
||||
|
|
||||
129 | @import url("./test.css") supports(display: flex !important);
|
||||
@ -5776,7 +5776,7 @@ error: Declaration
|
||||
130 | @import url("./test.css") supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:130:36
|
||||
|
|
||||
130 | @import url("./test.css") supports(display: flex) screen and (min-width: 400px);
|
||||
@ -6112,7 +6112,7 @@ error: Declaration
|
||||
133 | @import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:133:51
|
||||
|
|
||||
133 | @import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
|
||||
@ -6292,7 +6292,7 @@ error: Declaration
|
||||
134 | @import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:134:42
|
||||
|
|
||||
134 | @import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
|
||||
@ -6478,7 +6478,7 @@ error: Declaration
|
||||
135 | @import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:135:44
|
||||
|
|
||||
135 | @import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
|
||||
@ -6712,7 +6712,7 @@ error: Declaration
|
||||
137 | @import url("http://example.com/style.css") supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:137:54
|
||||
|
|
||||
137 | @import url("http://example.com/style.css") supports(display: flex) screen and (min-width: 400px);
|
||||
@ -6910,7 +6910,7 @@ error: Declaration
|
||||
138 | @import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:138:49
|
||||
|
|
||||
138 | @import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
|
||||
@ -7240,7 +7240,7 @@ error: Declaration
|
||||
140 | @import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:140:74
|
||||
|
|
||||
140 | @import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
|
||||
@ -7438,7 +7438,7 @@ error: Declaration
|
||||
141 | @import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:141:51
|
||||
|
|
||||
141 | @import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
|
||||
@ -7636,7 +7636,7 @@ error: Declaration
|
||||
142 | @import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:142:118
|
||||
|
|
||||
142 | @import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
|
||||
@ -8254,7 +8254,7 @@ error: Declaration
|
||||
149 | @import url("./import-with-supports.css") supports(display: flex);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:149:52
|
||||
|
|
||||
149 | @import url("./import-with-supports.css") supports(display: flex);
|
||||
@ -8380,7 +8380,7 @@ error: Declaration
|
||||
150 | @import url("./import-with-supports.css") supports(((display: flex)));
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:150:54
|
||||
|
|
||||
150 | @import url("./import-with-supports.css") supports(((display: flex)));
|
||||
@ -8464,7 +8464,7 @@ error: Declaration
|
||||
151 | @import url("./deep-import-with-supports.css") supports(display: flex);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:151:57
|
||||
|
|
||||
151 | @import url("./deep-import-with-supports.css") supports(display: flex);
|
||||
@ -8548,7 +8548,7 @@ error: Declaration
|
||||
152 | @import url('./test.css') supports(display: grid);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:152:36
|
||||
|
|
||||
152 | @import url('./test.css') supports(display: grid);
|
||||
@ -8632,7 +8632,7 @@ error: Declaration
|
||||
153 | @import url('./test.css') supports( display : grid );
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:153:39
|
||||
|
|
||||
153 | @import url('./test.css') supports( display : grid );
|
||||
@ -8716,7 +8716,7 @@ error: Declaration
|
||||
154 | @import url("./import-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:154:62
|
||||
|
|
||||
154 | @import url("./import-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
|
||||
@ -9148,7 +9148,7 @@ error: Declaration
|
||||
158 | @import url("./import-with-layer-and-supports.css") layer(default) supports(display: flex);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/import/input.css:158:77
|
||||
|
|
||||
158 | @import url("./import-with-layer-and-supports.css") layer(default) supports(display: flex);
|
||||
|
@ -114,7 +114,7 @@
|
||||
"end": 161,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 136,
|
||||
@ -202,7 +202,7 @@
|
||||
"end": 214,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 187,
|
||||
@ -318,7 +318,7 @@
|
||||
"end": 264,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 258,
|
||||
@ -349,7 +349,7 @@
|
||||
"end": 273,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 266,
|
||||
@ -417,7 +417,7 @@
|
||||
"end": 296,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 287,
|
||||
@ -521,7 +521,7 @@
|
||||
"end": 325,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 315,
|
||||
@ -607,7 +607,7 @@
|
||||
"end": 350,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 340,
|
||||
@ -656,7 +656,7 @@
|
||||
"end": 362,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 352,
|
||||
|
@ -168,7 +168,7 @@ error: Declaration
|
||||
7 | transform: translateX(0%);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:7:9
|
||||
|
|
||||
7 | transform: translateX(0%);
|
||||
@ -260,7 +260,7 @@ error: Declaration
|
||||
11 | transform: translateX(100%);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:11:9
|
||||
|
|
||||
11 | transform: translateX(100%);
|
||||
@ -389,7 +389,7 @@ error: Declaration
|
||||
16 | 0% { top: 0; left: 0; }
|
||||
| ^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:16:10
|
||||
|
|
||||
16 | 0% { top: 0; left: 0; }
|
||||
@ -419,7 +419,7 @@ error: Declaration
|
||||
16 | 0% { top: 0; left: 0; }
|
||||
| ^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:16:18
|
||||
|
|
||||
16 | 0% { top: 0; left: 0; }
|
||||
@ -485,7 +485,7 @@ error: Declaration
|
||||
17 | 30% { top: 50px; }
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:17:11
|
||||
|
|
||||
17 | 30% { top: 50px; }
|
||||
@ -581,7 +581,7 @@ error: Declaration
|
||||
18 | 68%, 72% { left: 50px; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:18:16
|
||||
|
|
||||
18 | 68%, 72% { left: 50px; }
|
||||
@ -659,7 +659,7 @@ error: Declaration
|
||||
19 | 100% { top: 100px; left: 100%; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:19:12
|
||||
|
|
||||
19 | 100% { top: 100px; left: 100%; }
|
||||
@ -701,7 +701,7 @@ error: Declaration
|
||||
19 | 100% { top: 100px; left: 100%; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/keyframe/input.css:19:24
|
||||
|
|
||||
19 | 100% { top: 100px; left: 100%; }
|
||||
|
@ -194,7 +194,7 @@
|
||||
"end": 127,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 115,
|
||||
@ -254,7 +254,7 @@
|
||||
"end": 162,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 144,
|
||||
@ -382,7 +382,7 @@
|
||||
"end": 251,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 237,
|
||||
@ -442,7 +442,7 @@
|
||||
"end": 286,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 268,
|
||||
@ -553,7 +553,7 @@
|
||||
"end": 337,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 310,
|
||||
@ -737,7 +737,7 @@
|
||||
"end": 443,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 426,
|
||||
@ -866,7 +866,7 @@
|
||||
"end": 498,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 482,
|
||||
@ -1031,7 +1031,7 @@
|
||||
"end": 552,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 539,
|
||||
@ -1166,7 +1166,7 @@
|
||||
"end": 608,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 595,
|
||||
@ -1322,7 +1322,7 @@
|
||||
"end": 687,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 667,
|
||||
@ -1468,7 +1468,7 @@
|
||||
"end": 740,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 729,
|
||||
@ -1608,7 +1608,7 @@
|
||||
"end": 898,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 878,
|
||||
|
@ -214,7 +214,7 @@ error: Declaration
|
||||
5 | from { translate: 0; }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:5:16
|
||||
|
|
||||
5 | from { translate: 0; }
|
||||
@ -274,7 +274,7 @@ error: Declaration
|
||||
6 | to { translate: -100% 0; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:6:14
|
||||
|
|
||||
6 | to { translate: -100% 0; }
|
||||
@ -436,7 +436,7 @@ error: Declaration
|
||||
12 | from { margin-left: 0; }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:12:16
|
||||
|
|
||||
12 | from { margin-left: 0; }
|
||||
@ -496,7 +496,7 @@ error: Declaration
|
||||
13 | to { margin-left: -100%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:13:14
|
||||
|
|
||||
13 | to { margin-left: -100%; }
|
||||
@ -586,7 +586,7 @@ error: Declaration
|
||||
17 | .sidebar { animation: slide-left 300ms; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:17:12
|
||||
|
|
||||
17 | .sidebar { animation: slide-left 300ms; }
|
||||
@ -772,7 +772,7 @@ error: Declaration
|
||||
23 | strong { font-weight: bold; }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:23:14
|
||||
|
|
||||
23 | strong { font-weight: bold; }
|
||||
@ -910,7 +910,7 @@ error: Declaration
|
||||
27 | .title { font-weight: 100; }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:27:14
|
||||
|
|
||||
27 | .title { font-weight: 100; }
|
||||
@ -1054,7 +1054,7 @@ error: Declaration
|
||||
30 | h1, h2 { color: maroon; }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:30:18
|
||||
|
|
||||
30 | h1, h2 { color: maroon; }
|
||||
@ -1180,7 +1180,7 @@ error: Declaration
|
||||
35 | [hidden] { display: none; }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:35:16
|
||||
|
|
||||
35 | [hidden] { display: none; }
|
||||
@ -1354,7 +1354,7 @@ error: Declaration
|
||||
40 | p { margin-block: 0.75em; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:40:13
|
||||
|
|
||||
40 | p { margin-block: 0.75em; }
|
||||
@ -1486,7 +1486,7 @@ error: Declaration
|
||||
44 | p { color: #222; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:44:13
|
||||
|
|
||||
44 | p { color: #222; }
|
||||
@ -1615,7 +1615,7 @@ error: Declaration
|
||||
50 | blockquote { color: rebeccapurple; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/layer/input.css:50:18
|
||||
|
|
||||
50 | blockquote { color: rebeccapurple; }
|
||||
|
@ -62,7 +62,7 @@
|
||||
"end": 34,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 23,
|
||||
@ -129,7 +129,7 @@
|
||||
"end": 54,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 43,
|
||||
@ -196,7 +196,7 @@
|
||||
"end": 74,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 63,
|
||||
@ -282,7 +282,7 @@
|
||||
"end": 102,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 91,
|
||||
@ -368,7 +368,7 @@
|
||||
"end": 129,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 118,
|
||||
@ -454,7 +454,7 @@
|
||||
"end": 156,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 145,
|
||||
|
@ -94,7 +94,7 @@ error: Declaration
|
||||
3 | @page{margin: 1cm}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:3:7
|
||||
|
|
||||
3 | @page{margin: 1cm}
|
||||
@ -166,7 +166,7 @@ error: Declaration
|
||||
4 | @page {margin: 1cm}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:4:8
|
||||
|
|
||||
4 | @page {margin: 1cm}
|
||||
@ -238,7 +238,7 @@ error: Declaration
|
||||
5 | @page {margin: 1cm;}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:5:8
|
||||
|
|
||||
5 | @page {margin: 1cm;}
|
||||
@ -322,7 +322,7 @@ error: Declaration
|
||||
6 | @page :first {margin: 2cm}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:6:15
|
||||
|
|
||||
6 | @page :first {margin: 2cm}
|
||||
@ -406,7 +406,7 @@ error: Declaration
|
||||
7 | @page :first {margin: 2cm;}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:7:15
|
||||
|
|
||||
7 | @page :first {margin: 2cm;}
|
||||
@ -490,7 +490,7 @@ error: Declaration
|
||||
8 | @page :first{margin: 2cm;}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/page/input.css:8:14
|
||||
|
|
||||
8 | @page :first{margin: 2cm;}
|
||||
|
@ -28,7 +28,7 @@
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 11,
|
||||
@ -126,7 +126,7 @@
|
||||
"end": 59,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 46,
|
||||
@ -177,7 +177,7 @@
|
||||
"end": 94,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 81,
|
||||
@ -275,7 +275,7 @@
|
||||
"end": 128,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 117,
|
||||
@ -466,7 +466,7 @@
|
||||
"end": 223,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 210,
|
||||
@ -519,7 +519,7 @@
|
||||
"end": 277,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 259,
|
||||
@ -576,7 +576,7 @@
|
||||
"end": 315,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 302,
|
||||
@ -634,7 +634,7 @@
|
||||
"end": 348,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 335,
|
||||
@ -685,7 +685,7 @@
|
||||
"end": 395,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 364,
|
||||
@ -781,7 +781,7 @@
|
||||
"end": 438,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 402,
|
||||
@ -878,7 +878,7 @@
|
||||
"end": 484,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 445,
|
||||
@ -975,7 +975,7 @@
|
||||
"end": 525,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 491,
|
||||
@ -1084,7 +1084,7 @@
|
||||
"end": 574,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 543,
|
||||
@ -1180,7 +1180,7 @@
|
||||
"end": 620,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 584,
|
||||
@ -1277,7 +1277,7 @@
|
||||
"end": 669,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 630,
|
||||
@ -1374,7 +1374,7 @@
|
||||
"end": 713,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 679,
|
||||
@ -1491,7 +1491,7 @@
|
||||
"end": 763,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 737,
|
||||
@ -1529,7 +1529,7 @@
|
||||
"end": 788,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 769,
|
||||
@ -1570,7 +1570,7 @@
|
||||
"end": 820,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 796,
|
||||
@ -1659,7 +1659,7 @@
|
||||
"end": 862,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 836,
|
||||
@ -1705,7 +1705,7 @@
|
||||
"end": 888,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 869,
|
||||
@ -1743,7 +1743,7 @@
|
||||
"end": 919,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 895,
|
||||
@ -1835,7 +1835,7 @@
|
||||
"end": 972,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 941,
|
||||
@ -1881,7 +1881,7 @@
|
||||
"end": 1016,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 992,
|
||||
@ -1919,7 +1919,7 @@
|
||||
"end": 1063,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1033,
|
||||
@ -2011,7 +2011,7 @@
|
||||
"end": 1112,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1087,
|
||||
@ -2057,7 +2057,7 @@
|
||||
"end": 1136,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1118,
|
||||
@ -2095,7 +2095,7 @@
|
||||
"end": 1165,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1142,
|
||||
@ -2195,7 +2195,7 @@
|
||||
"end": 1195,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1182,
|
||||
@ -2247,7 +2247,7 @@
|
||||
"end": 1236,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1212,
|
||||
@ -2308,7 +2308,7 @@
|
||||
"end": 1269,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1256,
|
||||
@ -2367,7 +2367,7 @@
|
||||
"end": 1312,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1286,
|
||||
@ -2405,7 +2405,7 @@
|
||||
"end": 1337,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1318,
|
||||
@ -2446,7 +2446,7 @@
|
||||
"end": 1369,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1345,
|
||||
@ -2535,7 +2535,7 @@
|
||||
"end": 1411,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1385,
|
||||
@ -2581,7 +2581,7 @@
|
||||
"end": 1437,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1418,
|
||||
@ -2619,7 +2619,7 @@
|
||||
"end": 1468,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1444,
|
||||
@ -2726,7 +2726,7 @@
|
||||
"end": 1503,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 1490,
|
||||
|
@ -70,7 +70,7 @@ error: Declaration
|
||||
1 | @supports (display: grid) {
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:1:12
|
||||
|
|
||||
1 | @supports (display: grid) {
|
||||
@ -155,7 +155,7 @@ error: Declaration
|
||||
3 | display: grid;
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:3:9
|
||||
|
|
||||
3 | display: grid;
|
||||
@ -245,7 +245,7 @@ error: Declaration
|
||||
7 | @supports (display: flex) {
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:7:12
|
||||
|
|
||||
7 | @supports (display: flex) {
|
||||
@ -330,7 +330,7 @@ error: Declaration
|
||||
9 | color: blue;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:9:9
|
||||
|
|
||||
9 | color: blue;
|
||||
@ -529,7 +529,7 @@ error: Declaration
|
||||
14 | display: flex;
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:14:13
|
||||
|
|
||||
14 | display: flex;
|
||||
@ -601,7 +601,7 @@ error: Declaration
|
||||
18 | @supports ( display : flex ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:18:17
|
||||
|
|
||||
18 | @supports ( display : flex ) {}
|
||||
@ -679,7 +679,7 @@ error: Declaration
|
||||
19 | @supports not (display: flex) {}
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:19:16
|
||||
|
|
||||
19 | @supports not (display: flex) {}
|
||||
@ -757,7 +757,7 @@ error: Declaration
|
||||
20 | @SUPPORTS not (display: flex) {}
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:20:16
|
||||
|
|
||||
20 | @SUPPORTS not (display: flex) {}
|
||||
@ -829,7 +829,7 @@ error: Declaration
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:21:12
|
||||
|
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
@ -943,7 +943,7 @@ error: Declaration
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:21:50
|
||||
|
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
@ -1057,7 +1057,7 @@ error: Declaration
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:21:93
|
||||
|
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
@ -1171,7 +1171,7 @@ error: Declaration
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:21:139
|
||||
|
|
||||
21 | @supports (box-shadow: 0 0 2px black inset ) or (-moz-box-shadow: 0 0 2px black inset ) or (-webkit-box-shadow: 0 0 2px black inset ) or (-o-box-shadow: 0 0 2px black inset ) {}
|
||||
@ -1322,7 +1322,7 @@ error: Declaration
|
||||
22 | @supports ( box-shadow: 0 0 2px black inset ) or
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:22:13
|
||||
|
|
||||
22 | @supports ( box-shadow: 0 0 2px black inset ) or
|
||||
@ -1440,7 +1440,7 @@ error: Declaration
|
||||
23 | ( -moz-box-shadow: 0 0 2px black inset ) or
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:23:5
|
||||
|
|
||||
23 | ( -moz-box-shadow: 0 0 2px black inset ) or
|
||||
@ -1558,7 +1558,7 @@ error: Declaration
|
||||
24 | ( -webkit-box-shadow: 0 0 2px black inset ) or
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:24:5
|
||||
|
|
||||
24 | ( -webkit-box-shadow: 0 0 2px black inset ) or
|
||||
@ -1676,7 +1676,7 @@ error: Declaration
|
||||
25 | ( -o-box-shadow: 0 0 2px black inset ) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:25:5
|
||||
|
|
||||
25 | ( -o-box-shadow: 0 0 2px black inset ) {
|
||||
@ -1826,7 +1826,7 @@ error: Declaration
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:28:13
|
||||
|
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
@ -1880,7 +1880,7 @@ error: Declaration
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:28:45
|
||||
|
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
@ -1934,7 +1934,7 @@ error: Declaration
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:28:72
|
||||
|
|
||||
28 | @supports ((transition-property: color) or (animation-name: foo)) and (transform: rotate(10deg)) {}
|
||||
@ -2036,7 +2036,7 @@ error: Declaration
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:29:12
|
||||
|
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
@ -2108,7 +2108,7 @@ error: Declaration
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:29:45
|
||||
|
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
@ -2162,7 +2162,7 @@ error: Declaration
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:29:71
|
||||
|
|
||||
29 | @supports (transition-property: color) or ((animation-name: foo) and (transform: rotate(10deg))) {}
|
||||
@ -2264,7 +2264,7 @@ error: Declaration
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:30:17
|
||||
|
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
@ -2336,7 +2336,7 @@ error: Declaration
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:30:68
|
||||
|
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
@ -2390,7 +2390,7 @@ error: Declaration
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:30:109
|
||||
|
|
||||
30 | @supports ( transition-property : color ) or ( ( animation-name : foo ) and ( transform : rotate(10deg) ) ) {}
|
||||
@ -2492,7 +2492,7 @@ error: Declaration
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:31:11
|
||||
|
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
@ -2564,7 +2564,7 @@ error: Declaration
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:31:42
|
||||
|
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
@ -2618,7 +2618,7 @@ error: Declaration
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:31:66
|
||||
|
|
||||
31 | @supports(transition-property:color)or ((animation-name:foo)and (transform:rotate(10deg))){}
|
||||
@ -2738,7 +2738,7 @@ error: Declaration
|
||||
32 | @supports ((display: flex)) {}
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:32:13
|
||||
|
|
||||
32 | @supports ((display: flex)) {}
|
||||
@ -2810,7 +2810,7 @@ error: Declaration
|
||||
33 | @supports (display: flex !important) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:33:12
|
||||
|
|
||||
33 | @supports (display: flex !important) {}
|
||||
@ -2888,7 +2888,7 @@ error: Declaration
|
||||
34 | @supports NOT (display: flex) {}
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:34:16
|
||||
|
|
||||
34 | @supports NOT (display: flex) {}
|
||||
@ -2978,7 +2978,7 @@ error: Declaration
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:35:13
|
||||
|
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
@ -3032,7 +3032,7 @@ error: Declaration
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:35:45
|
||||
|
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
@ -3086,7 +3086,7 @@ error: Declaration
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:35:72
|
||||
|
|
||||
35 | @supports ((transition-property: color) OR (animation-name: foo)) AND (transform: rotate(10deg)) {}
|
||||
@ -3188,7 +3188,7 @@ error: Declaration
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:36:12
|
||||
|
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
@ -3260,7 +3260,7 @@ error: Declaration
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:36:45
|
||||
|
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
@ -3314,7 +3314,7 @@ error: Declaration
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:36:71
|
||||
|
|
||||
36 | @supports (transition-property: color) OR ((animation-name: foo) AND (transform: rotate(10deg))) {}
|
||||
@ -3434,7 +3434,7 @@ error: Declaration
|
||||
37 | @supports (NOT (display: flex)) {}
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/at-rule/supports/input.css:37:17
|
||||
|
|
||||
37 | @supports (NOT (display: flex)) {}
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 8,
|
||||
|
@ -67,7 +67,7 @@ error: Declaration
|
||||
2 | color: red;
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/bom/input.css:2:5
|
||||
|
|
||||
2 | color: red;
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 78,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 43,
|
||||
@ -175,7 +175,7 @@
|
||||
"end": 171,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 159,
|
||||
@ -206,7 +206,7 @@
|
||||
"end": 210,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 195,
|
||||
@ -304,7 +304,7 @@
|
||||
"end": 257,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 245,
|
||||
|
@ -75,7 +75,7 @@ error: Declaration
|
||||
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/comment/input.css:3:14
|
||||
|
|
||||
3 | /* comment */color/* comment */:/* comment */red/* comment */;
|
||||
@ -172,7 +172,7 @@ error: Declaration
|
||||
11 | color: black;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/comment/input.css:11:5
|
||||
|
|
||||
11 | color: black;
|
||||
@ -202,7 +202,7 @@ error: Declaration
|
||||
13 | background: red;
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/comment/input.css:13:5
|
||||
|
|
||||
13 | background: red;
|
||||
@ -290,7 +290,7 @@ error: Declaration
|
||||
19 | color: black;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/comment/input.css:19:5
|
||||
|
|
||||
19 | color: black;
|
||||
|
@ -79,7 +79,7 @@
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "DashedIdentifier",
|
||||
"span": {
|
||||
"start": 12,
|
||||
@ -136,7 +136,7 @@
|
||||
"end": 52,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "DashedIdentifier",
|
||||
"span": {
|
||||
"start": 36,
|
||||
@ -261,7 +261,7 @@
|
||||
"end": 84,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "DashedIdentifier",
|
||||
"span": {
|
||||
"start": 72,
|
||||
@ -423,7 +423,7 @@
|
||||
"end": 131,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 107,
|
||||
|
@ -80,7 +80,7 @@ error: Declaration
|
||||
2 | --main-color: #06c;
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dashed-ident/input.css:2:5
|
||||
|
|
||||
2 | --main-color: #06c;
|
||||
@ -122,7 +122,7 @@ error: Declaration
|
||||
3 | --accent-color: #006;
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dashed-ident/input.css:3:5
|
||||
|
|
||||
3 | --accent-color: #006;
|
||||
@ -225,7 +225,7 @@ error: Declaration
|
||||
7 | --fg-color: blue;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dashed-ident/input.css:7:5
|
||||
|
|
||||
7 | --fg-color: blue;
|
||||
@ -352,7 +352,7 @@ error: Declaration
|
||||
11 | color: var(--main-color);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dashed-ident/input.css:11:5
|
||||
|
|
||||
11 | color: var(--main-color);
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 8,
|
||||
@ -108,7 +108,7 @@
|
||||
"end": 38,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 26,
|
||||
|
@ -71,7 +71,7 @@ error: Declaration
|
||||
2 | prop1: value;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration-list/input.css:2:5
|
||||
|
|
||||
2 | prop1: value;
|
||||
@ -101,7 +101,7 @@ error: Declaration
|
||||
3 | prop2: value;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration-list/input.css:3:5
|
||||
|
|
||||
3 | prop2: value;
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 10,
|
||||
@ -108,7 +108,7 @@
|
||||
"end": 40,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 27,
|
||||
@ -150,7 +150,7 @@
|
||||
"end": 59,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 46,
|
||||
@ -205,7 +205,7 @@
|
||||
"end": 78,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 65,
|
||||
@ -247,7 +247,7 @@
|
||||
"end": 99,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 84,
|
||||
@ -298,7 +298,7 @@
|
||||
"end": 129,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 105,
|
||||
@ -379,7 +379,7 @@
|
||||
"end": 153,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 135,
|
||||
@ -429,7 +429,7 @@
|
||||
"end": 177,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 159,
|
||||
@ -479,7 +479,7 @@
|
||||
"end": 200,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 183,
|
||||
@ -529,7 +529,7 @@
|
||||
"end": 225,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 206,
|
||||
@ -579,7 +579,7 @@
|
||||
"end": 245,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 231,
|
||||
@ -636,7 +636,7 @@
|
||||
"end": 273,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 251,
|
||||
@ -677,7 +677,7 @@
|
||||
"end": 293,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 279,
|
||||
@ -718,7 +718,7 @@
|
||||
"end": 325,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 299,
|
||||
@ -797,7 +797,7 @@
|
||||
"end": 351,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 331,
|
||||
@ -860,7 +860,7 @@
|
||||
"end": 377,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 357,
|
||||
@ -949,7 +949,7 @@
|
||||
"end": 403,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 383,
|
||||
@ -1012,7 +1012,7 @@
|
||||
"end": 425,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 409,
|
||||
@ -1080,7 +1080,7 @@
|
||||
"end": 448,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 431,
|
||||
@ -1148,7 +1148,7 @@
|
||||
"end": 471,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 454,
|
||||
@ -1216,7 +1216,7 @@
|
||||
"end": 495,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 477,
|
||||
|
@ -83,7 +83,7 @@ error: Declaration
|
||||
2 | prop: value;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:2:5
|
||||
|
|
||||
2 | prop: value;
|
||||
@ -113,7 +113,7 @@ error: Declaration
|
||||
3 | prop: (value);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:3:5
|
||||
|
|
||||
3 | prop: (value);
|
||||
@ -155,7 +155,7 @@ error: Declaration
|
||||
4 | prop: {value};
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:4:5
|
||||
|
|
||||
4 | prop: {value};
|
||||
@ -203,7 +203,7 @@ error: Declaration
|
||||
5 | prop: [value];
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:5:5
|
||||
|
|
||||
5 | prop: [value];
|
||||
@ -245,7 +245,7 @@ error: Declaration
|
||||
6 | prop: fn(value);
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:6:5
|
||||
|
|
||||
6 | prop: fn(value);
|
||||
@ -293,7 +293,7 @@ error: Declaration
|
||||
7 | prop: fn(value)fn(value);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:7:5
|
||||
|
|
||||
7 | prop: fn(value)fn(value);
|
||||
@ -371,7 +371,7 @@ error: Declaration
|
||||
8 | prop: value, value;
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:8:5
|
||||
|
|
||||
8 | prop: value, value;
|
||||
@ -425,7 +425,7 @@ error: Declaration
|
||||
9 | prop: value ,value;
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:9:5
|
||||
|
|
||||
9 | prop: value ,value;
|
||||
@ -479,7 +479,7 @@ error: Declaration
|
||||
10 | prop: value,value;
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:10:5
|
||||
|
|
||||
10 | prop: value,value;
|
||||
@ -533,7 +533,7 @@ error: Declaration
|
||||
11 | prop: value , value;
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:11:5
|
||||
|
|
||||
11 | prop: value , value;
|
||||
@ -587,7 +587,7 @@ error: Declaration
|
||||
12 | prop: 100%100%;
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:12:5
|
||||
|
|
||||
12 | prop: 100%100%;
|
||||
@ -641,7 +641,7 @@ error: Declaration
|
||||
13 | prop: "string""string";
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:13:5
|
||||
|
|
||||
13 | prop: "string""string";
|
||||
@ -683,7 +683,7 @@ error: Declaration
|
||||
14 | prop: #ccc#ccc;
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:14:5
|
||||
|
|
||||
14 | prop: #ccc#ccc;
|
||||
@ -725,7 +725,7 @@ error: Declaration
|
||||
15 | prop: url(value)url(value);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:15:5
|
||||
|
|
||||
15 | prop: url(value)url(value);
|
||||
@ -803,7 +803,7 @@ error: Declaration
|
||||
16 | prop: (value)(value);
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:16:5
|
||||
|
|
||||
16 | prop: (value)(value);
|
||||
@ -869,7 +869,7 @@ error: Declaration
|
||||
17 | prop: {value}{value};
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:17:5
|
||||
|
|
||||
17 | prop: {value}{value};
|
||||
@ -947,7 +947,7 @@ error: Declaration
|
||||
18 | prop: [value][value];
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:18:5
|
||||
|
|
||||
18 | prop: [value][value];
|
||||
@ -1013,7 +1013,7 @@ error: Declaration
|
||||
19 | prop: center/1em;
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:19:5
|
||||
|
|
||||
19 | prop: center/1em;
|
||||
@ -1079,7 +1079,7 @@ error: Declaration
|
||||
20 | prop: center/ 1em;
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:20:5
|
||||
|
|
||||
20 | prop: center/ 1em;
|
||||
@ -1145,7 +1145,7 @@ error: Declaration
|
||||
21 | prop: center /1em;
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:21:5
|
||||
|
|
||||
21 | prop: center /1em;
|
||||
@ -1211,7 +1211,7 @@ error: Declaration
|
||||
22 | prop: center / 1em;
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/declaration/input.css:22:5
|
||||
|
|
||||
22 | prop: center / 1em;
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 29,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 8,
|
||||
|
@ -67,7 +67,7 @@ error: Declaration
|
||||
2 | color: \\ red \\ blue;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/delim/backslash/input.css:2:5
|
||||
|
|
||||
2 | color: \\ red \\ blue;
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 8,
|
||||
@ -126,7 +126,7 @@
|
||||
"end": 35,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 24,
|
||||
@ -175,7 +175,7 @@
|
||||
"end": 54,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 41,
|
||||
@ -224,7 +224,7 @@
|
||||
"end": 76,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 60,
|
||||
@ -273,7 +273,7 @@
|
||||
"end": 94,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 82,
|
||||
@ -322,7 +322,7 @@
|
||||
"end": 108,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 100,
|
||||
@ -371,7 +371,7 @@
|
||||
"end": 128,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 114,
|
||||
|
@ -83,7 +83,7 @@ error: Declaration
|
||||
2 | prop: 10px;
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:2:5
|
||||
|
|
||||
2 | prop: 10px;
|
||||
@ -125,7 +125,7 @@ error: Declaration
|
||||
3 | prop: .10px;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:3:5
|
||||
|
|
||||
3 | prop: .10px;
|
||||
@ -167,7 +167,7 @@ error: Declaration
|
||||
4 | prop: 12.34px;
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:4:5
|
||||
|
|
||||
4 | prop: 12.34px;
|
||||
@ -209,7 +209,7 @@ error: Declaration
|
||||
5 | prop: 0000.000px;
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:5:5
|
||||
|
|
||||
5 | prop: 0000.000px;
|
||||
@ -251,7 +251,7 @@ error: Declaration
|
||||
6 | prop: 1px\\9;
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:6:5
|
||||
|
|
||||
6 | prop: 1px\\9;
|
||||
@ -293,7 +293,7 @@ error: Declaration
|
||||
7 | prop: 1e;
|
||||
| ^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:7:5
|
||||
|
|
||||
7 | prop: 1e;
|
||||
@ -335,7 +335,7 @@ error: Declaration
|
||||
8 | prop: 1unknown;
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/dimension/basic/input.css:8:5
|
||||
|
|
||||
8 | prop: 1unknown;
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:5
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
|
@ -173,7 +173,7 @@
|
||||
"end": 66,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 57,
|
||||
|
@ -148,7 +148,7 @@ error: Declaration
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:58
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:5
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 43,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:5
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
@ -138,7 +138,7 @@
|
||||
"end": 56,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 28,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:5
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
@ -124,7 +124,7 @@ error: Declaration
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:29
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
|
@ -97,7 +97,7 @@
|
||||
"end": 25,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 10,
|
||||
|
@ -76,7 +76,7 @@ error: Declaration
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:11
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:5
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
|
@ -57,7 +57,7 @@
|
||||
"end": 35,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 25,
|
||||
|
@ -64,7 +64,7 @@ error: Declaration
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:26
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:5
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
|
@ -65,7 +65,7 @@
|
||||
"end": 35,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 25,
|
||||
|
@ -70,7 +70,7 @@ error: Declaration
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:26
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:5
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:5
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:5
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: x\, }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/5cnGKjYPm1XBeqTmw3oCag/input.css:1:5
|
||||
|
|
||||
1 | a { value: x\, }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #1234 }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/5yer6GUWydidDHrfgacUkA/input.css:1:5
|
||||
|
|
||||
1 | a { color: #1234 }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: white }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/6WYwXsqP1SJOa-6oDBobzQ/input.css:1:5
|
||||
|
|
||||
1 | a { color: white }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: .0%; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/6aNPFn_YOBL4koYvV-g8pQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: .0%; }
|
||||
|
@ -97,7 +97,7 @@
|
||||
"end": 27,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 10,
|
||||
|
@ -76,7 +76,7 @@ error: Declaration
|
||||
1 | a:after { content: 'a\62 c' }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/6kUhG0W7hwZxIuaCsZ7pHg/input.css:1:11
|
||||
|
|
||||
1 | a:after { content: 'a\62 c' }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { color: #aabbccef }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/7CK6ZYt4CWz7Ge5KWLKBYg/input.css:1:5
|
||||
|
|
||||
1 | a { color: #aabbccef }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { width: -.00%; }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/7YGXOizztR38f8fGB1DRaQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: -.00%; }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: 10x\2c }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/866Law8W0FQas7QMxFjUbw/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10x\2c }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
@ -58,7 +58,7 @@ error: Declaration
|
||||
1 | a { value: url(a\62c) }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclarationProperty
|
||||
error: DeclarationName
|
||||
--> $DIR/tests/fixture/esbuild/misc/8Gs_Q4kYqijbgIQ6xIW8qw/input.css:1:5
|
||||
|
|
||||
1 | a { value: url(a\62c) }
|
||||
|
@ -77,7 +77,7 @@
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"property": {
|
||||
"name": {
|
||||
"type": "Identifier",
|
||||
"span": {
|
||||
"start": 4,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user