mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
feat(css): Groundwork for css processor (#2105)
swc_css_ast: - Rename `Values` to `SpaceValues`. swc_css_parser: - Add `parse_str`. - Make `ErrorKind` `#[non_exhaustive]`. - Fix span. swc_css_visit: - Create visitors.
This commit is contained in:
parent
6eaf60b8a4
commit
0d63470eba
22
Cargo.lock
generated
22
Cargo.lock
generated
@ -151,9 +151,9 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.3.1"
|
||||
version = "1.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2da1976d75adbe5fbc88130ecd119529cf1cc6a93ae1546d8696ee66f0d21af1"
|
||||
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "block-buffer"
|
||||
@ -2264,15 +2264,16 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swc_css"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"swc_css_ast",
|
||||
"swc_css_parser",
|
||||
"swc_css_visit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "swc_css_ast"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"is-macro",
|
||||
"serde",
|
||||
@ -2283,7 +2284,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swc_css_parser"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"lexical",
|
||||
@ -2292,10 +2293,21 @@ dependencies = [
|
||||
"swc_atoms",
|
||||
"swc_common",
|
||||
"swc_css_ast",
|
||||
"swc_css_visit",
|
||||
"testing",
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "swc_css_visit"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"swc_atoms",
|
||||
"swc_common",
|
||||
"swc_css_ast",
|
||||
"swc_visit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "swc_ecma_ast"
|
||||
version = "0.49.4"
|
||||
|
@ -6,8 +6,9 @@ edition = "2018"
|
||||
license = "Apache-2.0/MIT"
|
||||
name = "swc_css"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
|
||||
[dependencies]
|
||||
swc_css_ast = {path = "./ast", version = "0.1.0"}
|
||||
swc_css_parser = {path = "./parser", version = "0.1.0"}
|
||||
swc_css_ast = {path = "./ast", version = "0.2.0"}
|
||||
swc_css_parser = {path = "./parser", version = "0.2.0"}
|
||||
swc_css_visit = {path = "./visit", version = "0.1.0"}
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
license = "Apache-2.0/MIT"
|
||||
name = "swc_css_ast"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
@ -20,7 +20,7 @@ pub enum KeyframeSelector {
|
||||
#[tag("Text")]
|
||||
Id(Text),
|
||||
#[tag("PercentValue")]
|
||||
Perecent(PercentValue),
|
||||
Percent(PercentValue),
|
||||
}
|
||||
|
||||
#[ast_node]
|
||||
|
@ -1,6 +1,5 @@
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
use crate::{Property, Rule, Text};
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
#[ast_node("MediaRule")]
|
||||
pub struct MediaRule {
|
||||
|
@ -1,6 +1,5 @@
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
use crate::{Property, Rule};
|
||||
use swc_common::{ast_node, Span};
|
||||
|
||||
#[ast_node("SupportsRule")]
|
||||
pub struct SupportsRule {
|
||||
|
@ -29,3 +29,8 @@ pub enum Rule {
|
||||
#[tag("*")]
|
||||
AtRule(AtRule),
|
||||
}
|
||||
|
||||
#[ast_node]
|
||||
pub struct Invalid {
|
||||
pub span: Span,
|
||||
}
|
||||
|
@ -35,8 +35,8 @@ pub enum Value {
|
||||
#[tag("ArrayValue")]
|
||||
Array(ArrayValue),
|
||||
|
||||
#[tag("Values")]
|
||||
Values(Values),
|
||||
#[tag("SpaceValues")]
|
||||
Space(SpaceValues),
|
||||
|
||||
#[tag("BraceValue")]
|
||||
Brace(BraceValue),
|
||||
@ -51,10 +51,10 @@ pub enum Value {
|
||||
Url(UrlValue),
|
||||
}
|
||||
|
||||
/// Comma separated list of values.
|
||||
#[ast_node("Values")]
|
||||
/// List of values separated by a space.
|
||||
#[ast_node("SpaceValues")]
|
||||
#[derive(Default)]
|
||||
pub struct Values {
|
||||
pub struct SpaceValues {
|
||||
pub span: Span,
|
||||
pub values: Vec<Value>,
|
||||
}
|
||||
@ -93,6 +93,7 @@ pub struct ArrayValue {
|
||||
/// Includes `[` and `]`.
|
||||
pub span: Span,
|
||||
|
||||
/// Comma separated list of values.
|
||||
pub values: Vec<Value>,
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
license = "Apache-2.0/MIT"
|
||||
name = "swc_css_parser"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
@ -17,10 +17,11 @@ bitflags = "1.2.1"
|
||||
lexical = "5.2.2"
|
||||
swc_atoms = {version = "0.2.7", path = "../../atoms"}
|
||||
swc_common = {version = "0.11.6", path = "../../common"}
|
||||
swc_css_ast = {version = "0.1.0", path = "../ast"}
|
||||
swc_css_ast = {version = "0.2.0", path = "../ast"}
|
||||
unicode-xid = "0.2.2"
|
||||
|
||||
[dev-dependencies]
|
||||
serde = "1.0.127"
|
||||
serde_json = "1.0.66"
|
||||
swc_css_visit = {version = "0.1.0", path = "../visit"}
|
||||
testing = {version = "0.12.2", path = "../../testing"}
|
||||
|
@ -51,6 +51,7 @@ impl Error {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[non_exhaustive]
|
||||
pub enum ErrorKind {
|
||||
Eof,
|
||||
/// Lexing error.
|
||||
|
@ -16,6 +16,9 @@ where
|
||||
I: Input,
|
||||
{
|
||||
input: I,
|
||||
start_pos: BytePos,
|
||||
/// Used to override last_pos
|
||||
last_pos: Option<BytePos>,
|
||||
}
|
||||
|
||||
impl<I> Lexer<I>
|
||||
@ -23,7 +26,12 @@ where
|
||||
I: Input,
|
||||
{
|
||||
pub fn new(input: I) -> Self {
|
||||
Lexer { input }
|
||||
let start_pos = input.last_pos();
|
||||
Lexer {
|
||||
input,
|
||||
start_pos,
|
||||
last_pos: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -39,11 +47,11 @@ where
|
||||
type State = LexerState;
|
||||
|
||||
fn next(&mut self) -> PResult<TokenAndSpan> {
|
||||
let start = self.input.cur_pos();
|
||||
self.start_pos = self.input.cur_pos();
|
||||
|
||||
let token = self.read_token();
|
||||
let end = self.input.cur_pos();
|
||||
let span = Span::new(start, end, Default::default());
|
||||
let end = self.last_pos.take().unwrap_or_else(|| self.input.cur_pos());
|
||||
let span = Span::new(self.start_pos, end, Default::default());
|
||||
|
||||
token
|
||||
.map(|token| TokenAndSpan { span, token })
|
||||
@ -96,10 +104,12 @@ where
|
||||
if self.input.peek() == Some('/') {
|
||||
self.skip_line_comment(2)?;
|
||||
self.skip_ws()?;
|
||||
self.start_pos = self.input.cur_pos();
|
||||
return self.read_token();
|
||||
} else if self.input.peek() == Some('*') {
|
||||
self.skip_block_comment()?;
|
||||
self.skip_ws()?;
|
||||
self.start_pos = self.input.cur_pos();
|
||||
return self.read_token();
|
||||
}
|
||||
}
|
||||
@ -249,6 +259,8 @@ where
|
||||
let mut url = String::new();
|
||||
|
||||
loop {
|
||||
self.last_pos = None;
|
||||
|
||||
if self.input.eat_byte(b')') {
|
||||
return Ok(Token::Url { value: url.into() });
|
||||
}
|
||||
@ -281,7 +293,7 @@ where
|
||||
return Err(ErrorKind::InvalidEscape);
|
||||
}
|
||||
|
||||
url.push(self.read_escape()?)
|
||||
url.push(self.read_escape()?);
|
||||
}
|
||||
|
||||
c => {
|
||||
@ -322,6 +334,7 @@ where
|
||||
hex = hex * 16 + next;
|
||||
}
|
||||
|
||||
self.last_pos = Some(self.input.cur_pos());
|
||||
self.input.eat_byte(b' ');
|
||||
|
||||
let hex = char::from_u32(hex).ok_or_else(|| ErrorKind::InvalidEscape)?;
|
||||
@ -461,7 +474,10 @@ where
|
||||
Some(v) => v,
|
||||
None => break,
|
||||
};
|
||||
|
||||
if is_name_continue(c) {
|
||||
self.last_pos = None;
|
||||
|
||||
self.input.bump();
|
||||
buf.push(c)
|
||||
} else if self.is_valid_escape()? {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use lexer::Lexer;
|
||||
use parser::{PResult, Parser, ParserConfig};
|
||||
use swc_common::{input::StringInput, SourceFile};
|
||||
use swc_common::{input::StringInput, BytePos, SourceFile};
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
@ -25,6 +25,21 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
pub fn parse_str<'a, T>(
|
||||
src: &'a str,
|
||||
start_pos: BytePos,
|
||||
end_pos: BytePos,
|
||||
config: ParserConfig,
|
||||
) -> PResult<T>
|
||||
where
|
||||
Parser<Lexer<StringInput<'a>>>: Parse<T>,
|
||||
{
|
||||
let lexer = Lexer::new(StringInput::new(src, start_pos, end_pos));
|
||||
let mut parser = Parser::new(lexer, config);
|
||||
|
||||
parser.parse()
|
||||
}
|
||||
|
||||
pub fn parse_file<'a, T>(fm: &'a SourceFile, config: ParserConfig) -> PResult<T>
|
||||
where
|
||||
Parser<Lexer<StringInput<'a>>>: Parse<T>,
|
||||
|
@ -5,7 +5,7 @@ use crate::{
|
||||
Parse,
|
||||
};
|
||||
use swc_atoms::js_word;
|
||||
use swc_common::DUMMY_SP;
|
||||
use swc_common::{Span, Spanned, DUMMY_SP};
|
||||
use swc_css_ast::*;
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
@ -148,13 +148,25 @@ where
|
||||
"page" => {
|
||||
self.input.skip_ws()?;
|
||||
|
||||
return self.parse().map(AtRule::Page);
|
||||
return self
|
||||
.parse()
|
||||
.map(|mut r: PageRule| {
|
||||
r.span.lo = start;
|
||||
r
|
||||
})
|
||||
.map(AtRule::Page);
|
||||
}
|
||||
|
||||
"document" | "-moz-document" => {
|
||||
self.input.skip_ws()?;
|
||||
|
||||
return self.parse().map(AtRule::Document);
|
||||
return self
|
||||
.parse()
|
||||
.map(|mut r: DocumentRule| {
|
||||
r.span.lo = start;
|
||||
r
|
||||
})
|
||||
.map(AtRule::Document);
|
||||
}
|
||||
|
||||
"namespace" => {
|
||||
@ -194,6 +206,7 @@ where
|
||||
|
||||
self.input.skip_ws()?;
|
||||
|
||||
let token_start = self.input.cur_span()?.lo;
|
||||
let mut tokens = vec![];
|
||||
|
||||
if eat!(self, "{") {
|
||||
@ -202,6 +215,7 @@ where
|
||||
if is!(self, "}") {
|
||||
brace_cnt -= 1;
|
||||
if brace_cnt == 0 {
|
||||
expect!(self, "}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -243,7 +257,7 @@ where
|
||||
span: span!(self, start),
|
||||
name,
|
||||
tokens: Tokens {
|
||||
span: span!(self, start),
|
||||
span: span!(self, token_start),
|
||||
tokens,
|
||||
},
|
||||
}))
|
||||
@ -298,7 +312,7 @@ where
|
||||
if is!(self, Ident) {
|
||||
self.parse_id().map(KeyframeSelector::Id)
|
||||
} else {
|
||||
self.parse().map(KeyframeSelector::Perecent)
|
||||
self.parse().map(KeyframeSelector::Percent)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -460,6 +474,7 @@ where
|
||||
MediaQuery::Text(text)
|
||||
} else if eat!(self, "(") {
|
||||
if is!(self, Ident) {
|
||||
let span = self.input.cur_span()?;
|
||||
let id = self.parse_id()?;
|
||||
|
||||
self.input.skip_ws()?;
|
||||
@ -471,7 +486,7 @@ where
|
||||
allow_operation_in_value: true,
|
||||
..self.ctx
|
||||
};
|
||||
let values = self.with_ctx(ctx).parse_property_values()?;
|
||||
let values = self.with_ctx(ctx).parse_property_values()?.0;
|
||||
|
||||
expect!(self, ")");
|
||||
|
||||
@ -498,20 +513,20 @@ where
|
||||
self.input.skip_ws()?;
|
||||
|
||||
if eat!(self, "and") {
|
||||
let right = self.parse()?;
|
||||
let right: Box<MediaQuery> = self.parse()?;
|
||||
|
||||
return Ok(MediaQuery::And(AndMediaQuery {
|
||||
span: span!(self, span.lo),
|
||||
span: Span::new(span.lo, right.span().hi, Default::default()),
|
||||
left: Box::new(base),
|
||||
right,
|
||||
}));
|
||||
}
|
||||
|
||||
if eat!(self, "or") {
|
||||
let right = self.parse()?;
|
||||
let right: Box<MediaQuery> = self.parse()?;
|
||||
|
||||
return Ok(MediaQuery::Or(OrMediaQuery {
|
||||
span: span!(self, span.lo),
|
||||
span: Span::new(span.lo, right.span().hi, Default::default()),
|
||||
left: Box::new(base),
|
||||
right,
|
||||
}));
|
||||
|
@ -47,8 +47,10 @@ where
|
||||
Ok(self.cur()?.is_none())
|
||||
}
|
||||
|
||||
pub fn last_pos(&self) -> BytePos {
|
||||
self.last_pos
|
||||
pub fn last_pos(&mut self) -> PResult<BytePos> {
|
||||
self.cur()?;
|
||||
|
||||
Ok(self.last_pos)
|
||||
}
|
||||
|
||||
pub fn cur_span(&mut self) -> PResult<Span> {
|
||||
@ -84,6 +86,10 @@ where
|
||||
"bump() is called without checking current token"
|
||||
);
|
||||
|
||||
if let Some(cur) = &self.cur {
|
||||
self.last_pos = cur.span.hi;
|
||||
}
|
||||
|
||||
let token = self.cur.take();
|
||||
|
||||
self.bump_inner(false)?;
|
||||
|
@ -1,6 +1,7 @@
|
||||
macro_rules! span {
|
||||
($parser:expr, $start:expr) => {{
|
||||
swc_common::Span::new($start, $parser.input.last_pos(), Default::default())
|
||||
let last_pos = $parser.input.last_pos()?;
|
||||
swc_common::Span::new($start, last_pos, Default::default())
|
||||
}};
|
||||
}
|
||||
|
||||
@ -61,7 +62,7 @@ macro_rules! cur {
|
||||
match $parser.input.cur()? {
|
||||
Some(v) => v,
|
||||
None => {
|
||||
let last_pos = $parser.input.last_pos();
|
||||
let last_pos = $parser.input.last_pos()?;
|
||||
let span = swc_common::Span::new(last_pos, last_pos, Default::default());
|
||||
Err(crate::error::Error::new(span, crate::error::ErrorKind::Eof))?
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ where
|
||||
parse_selectors: true,
|
||||
})?;
|
||||
|
||||
let last = self.input.last_pos();
|
||||
let last = self.input.last_pos()?;
|
||||
|
||||
Ok(Stylesheet {
|
||||
span: Span::new(start.lo, last, Default::default()),
|
||||
@ -176,15 +176,14 @@ where
|
||||
expect!(self, "(");
|
||||
let value = self.parse_str()?.value;
|
||||
expect!(self, ")");
|
||||
Ok(Str { span, value })
|
||||
Ok(Str {
|
||||
span: span!(self, span.lo),
|
||||
value,
|
||||
})
|
||||
}
|
||||
|
||||
Token::Url { .. } => match bump!(self) {
|
||||
Token::Url { value } => {
|
||||
let span = self.input.cur_span()?;
|
||||
|
||||
Ok(Str { span, value })
|
||||
}
|
||||
Token::Url { value } => Ok(Str { span, value }),
|
||||
_ => {
|
||||
unreachable!()
|
||||
}
|
||||
|
@ -37,7 +37,11 @@ where
|
||||
|
||||
let mut selectors = vec![sel];
|
||||
|
||||
let mut last_pos;
|
||||
|
||||
loop {
|
||||
last_pos = self.input.last_pos()?;
|
||||
|
||||
self.input.skip_ws()?;
|
||||
|
||||
if is_one_of!(self, EOF, ",", "{") {
|
||||
@ -60,7 +64,7 @@ where
|
||||
}
|
||||
|
||||
Ok(ComplexSelector {
|
||||
span: span!(self, start_pos),
|
||||
span: Span::new(start_pos, last_pos, Default::default()),
|
||||
selectors,
|
||||
})
|
||||
}
|
||||
@ -199,13 +203,15 @@ where
|
||||
tok!(":") => {
|
||||
if peeked_is!(self, ":") {
|
||||
while is!(self, ":") {
|
||||
let start = self.input.cur_span()?.lo;
|
||||
|
||||
let is_element = peeked_is!(self, ":");
|
||||
if is_element {
|
||||
bump!(self);
|
||||
}
|
||||
|
||||
let mut pseudo = self.parse_pseudo_class_selector()?;
|
||||
|
||||
pseudo.span.lo = start;
|
||||
pseudo.is_element = is_element;
|
||||
subclass_selectors.push(SubclassSelector::PseudoClass(pseudo));
|
||||
}
|
||||
@ -307,13 +313,15 @@ where
|
||||
});
|
||||
}
|
||||
|
||||
let name_start = self.input.cur_span()?.lo;
|
||||
|
||||
let name = self.parse_selector_text()?;
|
||||
|
||||
let name = if eat!(self, Ident) {
|
||||
name
|
||||
} else {
|
||||
Text {
|
||||
span: span!(self, start),
|
||||
span: span!(self, name_start),
|
||||
value: js_word!(""),
|
||||
}
|
||||
};
|
||||
@ -330,6 +338,8 @@ where
|
||||
let start_pos = self.input.cur_span()?.lo;
|
||||
expect!(self, "[");
|
||||
|
||||
let name_start_pos = self.input.cur_span()?.lo;
|
||||
|
||||
let mut ns_name_prefix = None;
|
||||
let mut ns_name_name;
|
||||
|
||||
@ -340,7 +350,7 @@ where
|
||||
|
||||
if eat!(self, "*") {
|
||||
ns_name_prefix = Some(Text {
|
||||
span: span!(self, start_pos),
|
||||
span: span!(self, name_start_pos),
|
||||
value: "*".into(),
|
||||
});
|
||||
} else {
|
||||
@ -372,7 +382,7 @@ where
|
||||
}
|
||||
}
|
||||
let name = NamespacedName {
|
||||
span: span!(self, start_pos),
|
||||
span: span!(self, name_start_pos),
|
||||
prefix: ns_name_prefix,
|
||||
name: ns_name_name,
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ where
|
||||
|
||||
let block = self.parse_decl_block()?;
|
||||
|
||||
let span = Span::new(start, self.input.last_pos(), Default::default());
|
||||
let span = span!(self, start);
|
||||
|
||||
Ok(Rule::Style(StyleRule {
|
||||
span,
|
||||
@ -34,7 +34,7 @@ where
|
||||
|
||||
expect!(self, "}");
|
||||
|
||||
let span = Span::new(start, self.input.last_pos(), Default::default());
|
||||
let span = span!(self, start);
|
||||
|
||||
Ok(DeclBlock { span, properties })
|
||||
}
|
||||
@ -67,7 +67,7 @@ where
|
||||
|
||||
expect!(self, ":");
|
||||
|
||||
let values = {
|
||||
let (values, mut last_pos) = {
|
||||
let ctx = Ctx {
|
||||
allow_operation_in_value: false,
|
||||
..self.ctx
|
||||
@ -76,11 +76,12 @@ where
|
||||
};
|
||||
|
||||
let important = self.parse_bang_important()?;
|
||||
|
||||
let span = span!(self, start);
|
||||
if important.is_some() {
|
||||
last_pos = self.input.last_pos()?;
|
||||
}
|
||||
|
||||
Ok(Property {
|
||||
span,
|
||||
span: Span::new(start, last_pos, Default::default()),
|
||||
name,
|
||||
values,
|
||||
important,
|
||||
|
@ -3,7 +3,7 @@ use crate::{
|
||||
error::{Error, ErrorKind},
|
||||
Parse,
|
||||
};
|
||||
use swc_common::BytePos;
|
||||
use swc_common::{BytePos, Spanned};
|
||||
use swc_css_ast::*;
|
||||
|
||||
#[cfg(test)]
|
||||
@ -16,16 +16,22 @@ where
|
||||
/// Ported from `parseDeclaration` of esbuild.
|
||||
///
|
||||
/// https://github.com/evanw/esbuild/blob/a9456dfbf08ab50607952eefb85f2418968c124c/internal/css_parser/css_parser.go#L987
|
||||
pub(super) fn parse_property_values(&mut self) -> PResult<Vec<Value>> {
|
||||
///
|
||||
/// Returned [BytePos] is `hi`.
|
||||
pub(super) fn parse_property_values(&mut self) -> PResult<(Vec<Value>, BytePos)> {
|
||||
let mut values = vec![];
|
||||
let mut state = self.input.state();
|
||||
|
||||
let mut hi = self.input.last_pos()?;
|
||||
loop {
|
||||
if is_one_of!(self, EOF, ";", "}", "!", ")") {
|
||||
self.input.reset(&state);
|
||||
break;
|
||||
}
|
||||
|
||||
values.push(self.parse_one_value()?);
|
||||
let v = self.parse_one_value()?;
|
||||
hi = v.span().hi;
|
||||
values.push(v);
|
||||
|
||||
state = self.input.state();
|
||||
|
||||
@ -35,7 +41,7 @@ where
|
||||
}
|
||||
|
||||
// TODO: Make this lazy
|
||||
Ok(values)
|
||||
Ok((values, hi))
|
||||
}
|
||||
|
||||
fn parse_one_value(&mut self) -> PResult<Value> {
|
||||
@ -59,7 +65,7 @@ where
|
||||
self.input.skip_ws()?;
|
||||
}
|
||||
|
||||
return Ok(Value::Values(Values {
|
||||
return Ok(Value::Space(SpaceValues {
|
||||
span: span!(self, span.lo),
|
||||
values,
|
||||
}));
|
||||
|
@ -1,9 +1,11 @@
|
||||
use std::path::PathBuf;
|
||||
use swc_common::input::SourceFileInput;
|
||||
use swc_common::{errors::Handler, input::SourceFileInput, Spanned, DUMMY_SP};
|
||||
use swc_css_ast::*;
|
||||
use swc_css_parser::{
|
||||
lexer::Lexer,
|
||||
parser::{Parser, ParserConfig},
|
||||
};
|
||||
use swc_css_visit::{Visit, VisitWith};
|
||||
use testing::NormalizedOutput;
|
||||
|
||||
#[testing::fixture("tests/fixture/**/input.css")]
|
||||
@ -42,6 +44,137 @@ fn pass(input: PathBuf) {
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
struct SpanVisualizer<'a> {
|
||||
handler: &'a Handler,
|
||||
}
|
||||
|
||||
macro_rules! mtd {
|
||||
($T:ty,$name:ident) => {
|
||||
fn $name(&mut self, n: &$T, _: &dyn swc_css_visit::Node) {
|
||||
self.handler
|
||||
.struct_span_err(n.span(), stringify!($T))
|
||||
.emit();
|
||||
|
||||
n.visit_children_with(self);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
impl Visit for SpanVisualizer<'_> {
|
||||
mtd!(ArrayValue, visit_array_value);
|
||||
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!(BraceValue, visit_brace_value);
|
||||
mtd!(ClassSelector, visit_class_selector);
|
||||
mtd!(SpaceValues, visit_space_values);
|
||||
mtd!(ComplexSelector, visit_complex_selector);
|
||||
mtd!(CompoundSelector, visit_compound_selector);
|
||||
mtd!(DeclBlock, visit_decl_block);
|
||||
mtd!(FnValue, visit_fn_value);
|
||||
mtd!(HashValue, visit_hash_value);
|
||||
mtd!(IdSelector, visit_id_selector);
|
||||
mtd!(NamespacedName, visit_namespaced_name);
|
||||
mtd!(Num, visit_num);
|
||||
mtd!(ParenValue, visit_paren_value);
|
||||
mtd!(PercentValue, visit_percent_value);
|
||||
mtd!(Property, visit_property);
|
||||
mtd!(PseudoSelector, visit_pseudo_selector);
|
||||
mtd!(Rule, visit_rule);
|
||||
mtd!(Str, visit_str);
|
||||
mtd!(StyleRule, visit_style_rule);
|
||||
mtd!(Stylesheet, visit_stylesheet);
|
||||
mtd!(SubclassSelector, visit_subclass_selector);
|
||||
mtd!(TagSelector, visit_tag_selector);
|
||||
mtd!(Text, visit_text);
|
||||
mtd!(Tokens, visit_tokens);
|
||||
mtd!(Unit, visit_unit);
|
||||
mtd!(UnitValue, visit_unit_value);
|
||||
mtd!(UniversalSelector, visit_universal_selector);
|
||||
mtd!(UrlValue, visit_url_value);
|
||||
mtd!(Value, visit_value);
|
||||
|
||||
mtd!(AndMediaQuery, visit_and_media_query);
|
||||
mtd!(AndSupportQuery, visit_and_support_query);
|
||||
mtd!(CharsetRule, visit_charset_rule);
|
||||
mtd!(CommaMediaQuery, visit_comma_media_query);
|
||||
mtd!(DocumentRule, visit_document_rule);
|
||||
mtd!(FontFaceRule, visit_font_face_rule);
|
||||
mtd!(ImportRule, visit_import_rule);
|
||||
mtd!(KeyframeBlock, visit_keyframe_block);
|
||||
mtd!(KeyframeBlockRule, visit_keyframe_block_rule);
|
||||
mtd!(KeyframeSelector, visit_keyframe_selector);
|
||||
mtd!(KeyframesRule, visit_keyframes_rule);
|
||||
mtd!(MediaQuery, visit_media_query);
|
||||
mtd!(MediaRule, visit_media_rule);
|
||||
mtd!(NamespaceRule, visit_namespace_rule);
|
||||
mtd!(NestedPageRule, visit_nested_page_rule);
|
||||
mtd!(NotMediaQuery, visit_not_media_query);
|
||||
mtd!(NotSupportQuery, visit_not_support_query);
|
||||
mtd!(OnlyMediaQuery, visit_only_media_query);
|
||||
mtd!(OrMediaQuery, visit_or_media_query);
|
||||
mtd!(OrSupportQuery, visit_or_support_query);
|
||||
mtd!(PageRule, visit_page_rule);
|
||||
mtd!(PageRuleBlock, visit_page_rule_block);
|
||||
mtd!(PageRuleBlockItem, visit_page_rule_block_item);
|
||||
mtd!(PageSelector, visit_page_selector);
|
||||
mtd!(ParenSupportQuery, visit_paren_support_query);
|
||||
mtd!(SupportQuery, visit_support_query);
|
||||
mtd!(SupportsRule, visit_supports_rule);
|
||||
mtd!(UnknownAtRule, visit_unknown_at_rule);
|
||||
mtd!(ViewportRule, visit_viewport_rule);
|
||||
|
||||
fn visit_token_and_span(&mut self, n: &TokenAndSpan, _parent: &dyn swc_css_visit::Node) {
|
||||
self.handler
|
||||
.struct_span_err(n.span, &format!("{:?}", n.token))
|
||||
.emit();
|
||||
}
|
||||
}
|
||||
|
||||
#[testing::fixture("tests/fixture/**/input.css")]
|
||||
fn span(input: PathBuf) {
|
||||
eprintln!("Input: {}", input.display());
|
||||
let dir = input.parent().unwrap().to_path_buf();
|
||||
|
||||
let output = testing::run_test2(false, |cm, handler| {
|
||||
if false {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let fm = cm.load_file(&input).unwrap();
|
||||
let lexer = Lexer::new(SourceFileInput::from(&*fm));
|
||||
let mut parser = Parser::new(lexer, ParserConfig { parse_values: true });
|
||||
|
||||
let stylesheet = parser.parse_all();
|
||||
|
||||
match stylesheet {
|
||||
Ok(stylesheet) => {
|
||||
stylesheet.visit_with(
|
||||
&Invalid { span: DUMMY_SP },
|
||||
&mut SpanVisualizer { handler: &handler },
|
||||
);
|
||||
|
||||
Err(())
|
||||
}
|
||||
Err(err) => {
|
||||
let mut d = err.to_diagnostics(&handler);
|
||||
d.note(&format!("current token = {}", parser.dump_cur()));
|
||||
|
||||
d.emit();
|
||||
|
||||
panic!();
|
||||
}
|
||||
}
|
||||
})
|
||||
.unwrap_err();
|
||||
|
||||
output
|
||||
.compare_to_file(&dir.join("span.rust-debug"))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
#[testing::fixture("tests/errors/**/input.css")]
|
||||
fn fail(input: PathBuf) {
|
||||
eprintln!("Input: {}", input.display());
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 19,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:1
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:3
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:5
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:5
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:12
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^
|
||||
|
||||
error: HashValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/-4j83DwgJa0nPQIjlb0RIA/input.css:1:12
|
||||
|
|
||||
1 | a { color: #112333 }
|
||||
| ^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -43,7 +43,7 @@
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": "-"
|
||||
@ -57,8 +57,8 @@
|
||||
"block": {
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"start": 4,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,48 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:1
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-8o_H6sq86TDAHqF7YO0hg/input.css:1:5
|
||||
|
|
||||
1 | \2d {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 56,
|
||||
"end": 67,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 56,
|
||||
"end": 67,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 56,
|
||||
"end": 55,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 55,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -53,16 +53,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"start": 3,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": true,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"start": 5,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -80,16 +80,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 12,
|
||||
"start": 11,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": true,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 12,
|
||||
"start": 13,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -107,16 +107,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"start": 18,
|
||||
"end": 29,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": true,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"start": 20,
|
||||
"end": 29,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -134,16 +134,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 30,
|
||||
"start": 29,
|
||||
"end": 41,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": true,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 30,
|
||||
"start": 31,
|
||||
"end": 41,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -161,16 +161,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 42,
|
||||
"start": 41,
|
||||
"end": 55,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": true,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 42,
|
||||
"start": 43,
|
||||
"end": 55,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -194,15 +194,15 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 56,
|
||||
"end": 56,
|
||||
"end": 67,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 56,
|
||||
"end": 57,
|
||||
"start": 57,
|
||||
"end": 66,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,164 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:1
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:4
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:4
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:6
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^
|
||||
|
||||
error: Tokens
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:12
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:12
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:14
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:19
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:19
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:21
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:30
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:30
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:32
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:42
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:42
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:44
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:57
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:58
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:58
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:64
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-GZJfOA9TK6La2KGGNgCkg/input.css:1:64
|
||||
|
|
||||
1 | div::before::after::selection::first-line::first-letter {color:red}
|
||||
| ^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:3
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-JoxoRcnA-zaaEC7RjXKvQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: +.10; }
|
||||
| ^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,7 +37,7 @@
|
||||
"type": "IdSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
@ -59,7 +59,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 8,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,54 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: IdSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:1
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-b4VODLSeaV93gwC2Ot2tw/input.css:1:9
|
||||
|
|
||||
1 | #h\61sh {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "PercentValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,78 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:1
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:3
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:5
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:5
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:12
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^
|
||||
|
||||
error: PercentValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:12
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-edvtxlXMemv5jnGeyueBA/input.css:1:12
|
||||
|
|
||||
1 | a { width: -.10%; }
|
||||
| ^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 44,
|
||||
"end": 45,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 44,
|
||||
"end": 45,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 44,
|
||||
"end": 45,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 44,
|
||||
"end": 43,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "FnValue",
|
||||
"span": {
|
||||
"start": 16,
|
||||
"end": 28,
|
||||
"end": 31,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,162 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:3
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: FnValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
||||
|
|
||||
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
||||
| ^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,21 +37,21 @@
|
||||
"type": "AttrributeSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"start": 1,
|
||||
"end": 4,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"start": 1,
|
||||
"end": 2,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": "*"
|
||||
@ -78,8 +78,8 @@
|
||||
"block": {
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 5,
|
||||
"start": 5,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^
|
||||
|
||||
error: AttrSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:1
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:2
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:2
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:4
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/-shTP60AAG6a4mCJUpV1cQ/input.css:1:6
|
||||
|
|
||||
1 | [*|b]{}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 20,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,108 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:1
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:3
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:5
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:5
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:13
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:13
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:15
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:15
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:17
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:17
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:19
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/07tvJxvZrgDeTmptOclErA/input.css:1:19
|
||||
|
|
||||
1 | a { margin: 0 1 0 1 }
|
||||
| ^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 19,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "UnitValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,84 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:3
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^
|
||||
|
||||
error: UnitValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^
|
||||
|
||||
error: Unit
|
||||
--> $DIR/tests/fixture/esbuild/misc/0LKvnY2GhG7ss8EXa0t6tQ/input.css:1:14
|
||||
|
|
||||
1 | a { value: 10p\32x }
|
||||
| ^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 9,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 9,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 9,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,14 +37,14 @@
|
||||
"type": "AttrributeSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"start": 1,
|
||||
"end": 2,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -79,7 +79,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 9,
|
||||
"end": 9,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: AttrSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:1
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:2
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:2
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:4
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/0Zlgi2sdsFfTrdnWOHUqeg/input.css:1:10
|
||||
|
|
||||
1 | [b="0c"] {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 4,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,7 +37,7 @@
|
||||
"type": "IdSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
@ -59,7 +59,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 4,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,54 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^
|
||||
|
||||
error: IdSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:1
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/0qqdP6EmNqzSa3h8c8lYUQ/input.css:1:5
|
||||
|
|
||||
1 | #id {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 4,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 4,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 4,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -43,7 +43,7 @@
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 5,
|
||||
"end": 4,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": "--"
|
||||
@ -57,8 +57,8 @@
|
||||
"block": {
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 5,
|
||||
"start": 5,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,48 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:1
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/0yo6flt6jo-UA8rUEFjrWA/input.css:1:6
|
||||
|
|
||||
1 | -\2d {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 7,
|
||||
"end": 9,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 7,
|
||||
"end": 9,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 7,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -53,8 +53,8 @@
|
||||
{
|
||||
"type": "IdSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 3,
|
||||
"start": 3,
|
||||
"end": 6,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
@ -76,7 +76,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 7,
|
||||
"end": 7,
|
||||
"end": 9,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:1
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:4
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^
|
||||
|
||||
error: IdSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:4
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:4
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/10VLLYwNo7xaTisP9r9Kfg/input.css:1:8
|
||||
|
|
||||
1 | div#id {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 58,
|
||||
"end": 59,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 58,
|
||||
"end": 59,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 58,
|
||||
"end": 59,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 25,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -122,7 +122,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 28,
|
||||
"end": 55,
|
||||
"end": 56,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,144 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:1
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:3
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:5
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:5
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:20
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:20
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:22
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:22
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:24
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:24
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:26
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:26
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:29
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:29
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:54
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:54
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:56
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/12EwJCu6DsfOEJubQW9jLg/input.css:1:56
|
||||
|
|
||||
1 | a { border-radius: 1 2 3 4; border-top-right-radius: 5 6; }
|
||||
| ^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,14 +37,14 @@
|
||||
"type": "IdSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 6,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": "--"
|
||||
@ -58,8 +58,8 @@
|
||||
"block": {
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 6,
|
||||
"start": 6,
|
||||
"end": 8,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,54 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^
|
||||
|
||||
error: IdSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:1
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/1JQzQJ1QtQJ1onUzZx7BVg/input.css:1:7
|
||||
|
|
||||
1 | #-\2d {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 19,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 19,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:1
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:3
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:5
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:12
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/1naykwaIKZc6zuHRNIccLQ/input.css:1:12
|
||||
|
|
||||
1 | a { value: id\65nt }
|
||||
| ^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "PercentValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,78 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:3
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^
|
||||
|
||||
error: PercentValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/2Z7MIIhOQ0mreKqEgkeZYQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: -0.%; }
|
||||
| ^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 26,
|
||||
"end": 27,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 26,
|
||||
"end": 27,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -53,16 +53,16 @@
|
||||
{
|
||||
"type": "PseudoSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 1,
|
||||
"start": 1,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"isElement": false,
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 1,
|
||||
"start": 2,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": ""
|
||||
@ -86,7 +86,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 8,
|
||||
"end": 26,
|
||||
"end": 27,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -94,7 +94,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 10,
|
||||
"end": 26,
|
||||
"end": 25,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,92 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:1
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:2
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^
|
||||
|
||||
error: PseudoSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:2
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:3
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^
|
||||
|
||||
error: Tokens
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:9
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:11
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:11
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:20
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^
|
||||
|
||||
error: Str
|
||||
--> $DIR/tests/fixture/esbuild/misc/2nNBhRWO2cNcBJf09zDxjw/input.css:1:20
|
||||
|
|
||||
1 | a:after { content: 'a\b' }
|
||||
| ^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 18,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "FnValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,78 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:1
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:3
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:5
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:5
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:12
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^
|
||||
|
||||
error: FnValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:12
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/36qnNuIUvbIrMnJKDxwE5A/input.css:1:12
|
||||
|
|
||||
1 | a { value: \66n() }
|
||||
| ^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 44,
|
||||
"end": 45,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "KeyframesRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 44,
|
||||
"end": 45,
|
||||
"ctxt": 0
|
||||
},
|
||||
"id": {
|
||||
@ -26,7 +26,7 @@
|
||||
{
|
||||
"span": {
|
||||
"start": 18,
|
||||
"end": 36,
|
||||
"end": 37,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selector": [
|
||||
@ -44,7 +44,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 23,
|
||||
"end": 36,
|
||||
"end": 37,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -52,7 +52,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 25,
|
||||
"end": 36,
|
||||
"end": 35,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
{
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 41,
|
||||
"end": 43,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selector": [
|
||||
@ -101,7 +101,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 41,
|
||||
"end": 41,
|
||||
"end": 43,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,114 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframesRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:12
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^
|
||||
|
||||
error: KeyframeBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:19
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframeSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:19
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:19
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^
|
||||
|
||||
error: KeyframeBlockRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:24
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:24
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:26
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:26
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:33
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:33
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^
|
||||
|
||||
error: KeyframeBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:39
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^^^^
|
||||
|
||||
error: KeyframeSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:39
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:39
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^
|
||||
|
||||
error: KeyframeBlockRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:42
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/375WZQg3bngUbuoHsqEIcA/input.css:1:42
|
||||
|
|
||||
1 | @keyframes test { from { color: red } to {} }
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 17,
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:3
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:12
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^
|
||||
|
||||
error: HashValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/39pbt1sIeFh8WWhCalZS4g/input.css:1:12
|
||||
|
|
||||
1 | a { color: #ABCD }
|
||||
| ^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 21,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 21,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 21,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 21,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:1
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:3
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:5
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:12
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: HashValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/3EgMpLwjJNG0ht4U_r6cnw/input.css:1:12
|
||||
|
|
||||
1 | a { color: #ABBBCCDD }
|
||||
| ^^^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 17,
|
||||
"end": 16,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:1
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:3
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:5
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:5
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:12
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^
|
||||
|
||||
error: HashValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/3JGye8AhworwNFoUL1gKbg/input.css:1:12
|
||||
|
|
||||
1 | a { color: #abcf }
|
||||
| ^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "PercentValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,78 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:3
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:12
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^
|
||||
|
||||
error: PercentValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:12
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/input.css:1:12
|
||||
|
|
||||
1 | a { width: 0.1%; }
|
||||
| ^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 9,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "CharsetRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 9,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"charset": {
|
||||
|
@ -0,0 +1,30 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3ZCwY2LzkuEPMyYIsA9KzQ/input.css:1:1
|
||||
|
|
||||
1 | @charset 'UTF-8';
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3ZCwY2LzkuEPMyYIsA9KzQ/input.css:1:1
|
||||
|
|
||||
1 | @charset 'UTF-8';
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3ZCwY2LzkuEPMyYIsA9KzQ/input.css:1:1
|
||||
|
|
||||
1 | @charset 'UTF-8';
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: CharsetRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3ZCwY2LzkuEPMyYIsA9KzQ/input.css:1:1
|
||||
|
|
||||
1 | @charset 'UTF-8';
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Str
|
||||
--> $DIR/tests/fixture/esbuild/misc/3ZCwY2LzkuEPMyYIsA9KzQ/input.css:1:10
|
||||
|
|
||||
1 | @charset 'UTF-8';
|
||||
| ^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 38,
|
||||
"end": 39,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "KeyframesRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 38,
|
||||
"end": 39,
|
||||
"ctxt": 0
|
||||
},
|
||||
"id": {
|
||||
@ -26,7 +26,7 @@
|
||||
{
|
||||
"span": {
|
||||
"start": 18,
|
||||
"end": 36,
|
||||
"end": 37,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selector": [
|
||||
@ -34,7 +34,7 @@
|
||||
"type": "PercentValue",
|
||||
"span": {
|
||||
"start": 18,
|
||||
"end": 18,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
@ -52,7 +52,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 23,
|
||||
"end": 36,
|
||||
"end": 37,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -60,7 +60,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 25,
|
||||
"end": 36,
|
||||
"end": 35,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,90 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframesRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:12
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^
|
||||
|
||||
error: KeyframeBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:19
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframeSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:19
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^
|
||||
|
||||
error: PercentValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:19
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:19
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^
|
||||
|
||||
error: KeyframeBlockRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:24
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:24
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:26
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:26
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:33
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3a1KXFwtncypOUCwQI7IAw/input.css:1:33
|
||||
|
|
||||
1 | @keyframes name { 100% { color: red } }
|
||||
| ^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 11,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "KeyframesRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 11,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"id": {
|
||||
|
@ -0,0 +1,30 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/3qKvhk-8FQVONLpki0FoMA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name{}
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3qKvhk-8FQVONLpki0FoMA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name{}
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3qKvhk-8FQVONLpki0FoMA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name{}
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframesRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/3qKvhk-8FQVONLpki0FoMA/input.css:1:1
|
||||
|
|
||||
1 | @keyframes name{}
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/3qKvhk-8FQVONLpki0FoMA/input.css:1:12
|
||||
|
|
||||
1 | @keyframes name{}
|
||||
| ^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 23,
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 23,
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 23,
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 23,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "AtTextValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 22,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,78 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:3
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:5
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:5
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:12
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: AtTextValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:12
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4-S1C8qZOZ6Mm7WdRUH72Q/input.css:1:12
|
||||
|
|
||||
1 | a { value: @\6b eyword }
|
||||
| ^^^^^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 20,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:1
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:3
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:5
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:5
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:12
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/485Ns9qQHa89OJU5Lhjx-Q/input.css:1:12
|
||||
|
|
||||
1 | a { value: \69 dent }
|
||||
| ^^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 20,
|
||||
"end": 21,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 20,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:1
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:3
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:5
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:5
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:12
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^
|
||||
|
||||
error: HashValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css:1:12
|
||||
|
|
||||
1 | a { value: #\30hash }
|
||||
| ^^^^^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 16,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 16,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 16,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:1
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:3
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:5
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:12
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/4Tjjgepnha63E4UiXXDNEA/input.css:1:12
|
||||
|
|
||||
1 | a { width: 0.0; }
|
||||
| ^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -53,8 +53,8 @@
|
||||
{
|
||||
"type": "ClassSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 1,
|
||||
"start": 5,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
@ -76,7 +76,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 8,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:1
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:6
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^
|
||||
|
||||
error: ClassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:6
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:7
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4UaOTazLwrr9gd5xkBBlnw/input.css:1:9
|
||||
|
|
||||
1 | a/**/.b {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 25,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 25,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 25,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 25,
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -101,7 +101,7 @@
|
||||
"type": "UnitValue",
|
||||
"span": {
|
||||
"start": 17,
|
||||
"end": 17,
|
||||
"end": 20,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
@ -126,7 +126,7 @@
|
||||
"type": "UnitValue",
|
||||
"span": {
|
||||
"start": 21,
|
||||
"end": 21,
|
||||
"end": 24,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,132 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:1
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:3
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:5
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:5
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:14
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:14
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:16
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:16
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:18
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^
|
||||
|
||||
error: UnitValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:18
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:18
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Unit
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:19
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:22
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^
|
||||
|
||||
error: UnitValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:22
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:22
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^
|
||||
|
||||
error: Unit
|
||||
--> $DIR/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/input.css:1:23
|
||||
|
|
||||
1 | a { padding: 0 1 0px 1px }
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"end": 28,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "KeyframesRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"end": 28,
|
||||
"ctxt": 0
|
||||
},
|
||||
"id": {
|
||||
@ -26,7 +26,7 @@
|
||||
{
|
||||
"span": {
|
||||
"start": 19,
|
||||
"end": 24,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selector": [
|
||||
@ -44,7 +44,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 24,
|
||||
"end": 24,
|
||||
"end": 26,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,60 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:1
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:1
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:1
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: KeyframesRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:1
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:14
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^
|
||||
|
||||
error: KeyframeBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:20
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^^^^
|
||||
|
||||
error: KeyframeSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:20
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:20
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^^^
|
||||
|
||||
error: KeyframeBlockRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:25
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/4_H2sj_CNmUQHGctk7geQQ/input.css:1:25
|
||||
|
|
||||
1 | @k\65yframes abc { from {} }
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 8,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 3,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -53,8 +53,8 @@
|
||||
{
|
||||
"type": "IdSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 3,
|
||||
"start": 3,
|
||||
"end": 7,
|
||||
"ctxt": 0
|
||||
},
|
||||
"text": {
|
||||
@ -76,7 +76,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 8,
|
||||
"end": 8,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:1
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:4
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^
|
||||
|
||||
error: IdSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:4
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:4
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/52obp49U0CyYOskQAEoIJw/input.css:1:9
|
||||
|
|
||||
1 | div#--0 {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 18,
|
||||
"end": 19,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 18,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
@ -83,7 +83,7 @@
|
||||
"type": "UnitValue",
|
||||
"span": {
|
||||
"start": 11,
|
||||
"end": 11,
|
||||
"end": 17,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": {
|
||||
|
@ -0,0 +1,84 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:1
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:3
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:5
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^
|
||||
|
||||
error: UnitValue
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:12
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^
|
||||
|
||||
error: Unit
|
||||
--> $DIR/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css:1:14
|
||||
|
|
||||
1 | a { value: 10\2cx }
|
||||
| ^^^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 12,
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 12,
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 12,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -37,14 +37,14 @@
|
||||
"type": "AttrributeSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"start": 1,
|
||||
"end": 5,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -79,7 +79,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 12,
|
||||
"end": 12,
|
||||
"end": 14,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": []
|
||||
|
@ -0,0 +1,66 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: SubclassSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: AttrSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:1
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:2
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:2
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:7
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^^^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/54mhLGCwQMwsuiVkiTzAAQ/input.css:1:13
|
||||
|
|
||||
1 | [attr="-a"] {}
|
||||
| ^^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,14 +10,14 @@
|
||||
"type": "UnknownAtRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
"type": "Text",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 10,
|
||||
"ctxt": 0
|
||||
},
|
||||
"value": "u,nknown"
|
||||
@ -25,8 +25,8 @@
|
||||
"tokens": {
|
||||
"type": "Tokens",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"start": 10,
|
||||
"end": 11,
|
||||
"ctxt": 0
|
||||
},
|
||||
"tokens": []
|
||||
|
@ -0,0 +1,36 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:1
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:1
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: AtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:1
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: UnknownAtRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:1
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:1
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: Tokens
|
||||
--> $DIR/tests/fixture/esbuild/misc/5IxIPW9sKkvdZIzfV33AcA/input.css:1:11
|
||||
|
|
||||
1 | @u\,nknown;
|
||||
| ^
|
||||
|
@ -2,7 +2,7 @@
|
||||
"type": "Stylesheet",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"rules": [
|
||||
@ -10,7 +10,7 @@
|
||||
"type": "StyleRule",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -18,7 +18,7 @@
|
||||
"type": "ComplexSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 2,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"selectors": [
|
||||
@ -26,7 +26,7 @@
|
||||
"type": "CompoundSelector",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"hasNestPrefix": false,
|
||||
@ -35,7 +35,7 @@
|
||||
"type": "NamespacedName",
|
||||
"span": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"end": 1,
|
||||
"ctxt": 0
|
||||
},
|
||||
"prefix": null,
|
||||
@ -58,7 +58,7 @@
|
||||
"type": "DeclBlock",
|
||||
"span": {
|
||||
"start": 2,
|
||||
"end": 17,
|
||||
"end": 18,
|
||||
"ctxt": 0
|
||||
},
|
||||
"properties": [
|
||||
@ -66,7 +66,7 @@
|
||||
"type": "Property",
|
||||
"span": {
|
||||
"start": 4,
|
||||
"end": 11,
|
||||
"end": 15,
|
||||
"ctxt": 0
|
||||
},
|
||||
"name": {
|
||||
|
@ -0,0 +1,72 @@
|
||||
error: Stylesheet
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Rule
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: StyleRule
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: ComplexSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^
|
||||
|
||||
error: CompoundSelector
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^
|
||||
|
||||
error: NamespacedName
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:1
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^
|
||||
|
||||
error: DeclBlock
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:3
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: Property
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: Text
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:5
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^^
|
||||
|
||||
error: Value
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^
|
||||
|
||||
error: Num
|
||||
--> $DIR/tests/fixture/esbuild/misc/5al65IRQbw_x4yG3ke74fQ/input.css:1:12
|
||||
|
|
||||
1 | a { width: +0.1; }
|
||||
| ^^^^
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user