mirror of
https://github.com/swc-project/swc.git
synced 2025-01-01 01:56:06 +03:00
fix(html/parser): Parse foreign attributes (#4400)
This commit is contained in:
parent
82069d1804
commit
cf3be649bb
@ -82,6 +82,8 @@ pub struct Element {
|
|||||||
#[derive(Eq, Hash, EqIgnoreSpan)]
|
#[derive(Eq, Hash, EqIgnoreSpan)]
|
||||||
pub struct Attribute {
|
pub struct Attribute {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
|
pub namespace: Option<Namespace>,
|
||||||
|
pub prefix: Option<JsWord>,
|
||||||
pub name: JsWord,
|
pub name: JsWord,
|
||||||
pub value: Option<JsWord>,
|
pub value: Option<JsWord>,
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,12 @@ where
|
|||||||
|
|
||||||
for attribute in &n.attributes {
|
for attribute in &n.attributes {
|
||||||
start_tag.push(' ');
|
start_tag.push(' ');
|
||||||
|
|
||||||
|
if let Some(prefix) = &attribute.prefix {
|
||||||
|
start_tag.push_str(prefix);
|
||||||
|
start_tag.push(':');
|
||||||
|
}
|
||||||
|
|
||||||
start_tag.push_str(&attribute.name);
|
start_tag.push_str(&attribute.name);
|
||||||
|
|
||||||
if let Some(value) = &attribute.value {
|
if let Some(value) = &attribute.value {
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport"
|
||||||
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
<link href="main.css" rel="stylesheet" type="text/css">
|
||||||
|
<!--[if IE 7]>
|
||||||
|
<link href="ie7.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
<link href="ie6.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 5]>
|
||||||
|
<link href="ie5.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- test -->
|
||||||
|
<div>
|
||||||
|
<!-- test -->
|
||||||
|
test
|
||||||
|
<!-- test -->
|
||||||
|
</div>
|
||||||
|
<p class="accent">
|
||||||
|
<!--[if IE]>
|
||||||
|
According to the conditional comment this is IE<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
According to the conditional comment this is IE 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 7]>
|
||||||
|
According to the conditional comment this is IE 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 8]>
|
||||||
|
According to the conditional comment this is IE 8<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 9]>
|
||||||
|
According to the conditional comment this is IE 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gte IE 8]>
|
||||||
|
According to the conditional comment this is IE 8 or higher<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
According to the conditional comment this is IE lower than 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lte IE 7]>
|
||||||
|
According to the conditional comment this is IE lower or equal to 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gt IE 6]>
|
||||||
|
According to the conditional comment this is IE greater than 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if !IE]> -->
|
||||||
|
According to the conditional comment this is not IE 5-9<br />
|
||||||
|
<!-- <![endif]-->
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
<link href="main.css" rel="stylesheet" type="text/css">
|
||||||
|
<!--[if IE 7]>
|
||||||
|
<link href="ie7.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
<link href="ie6.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 5]>
|
||||||
|
<link href="ie5.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- test -->
|
||||||
|
<div>
|
||||||
|
<!-- test -->
|
||||||
|
test
|
||||||
|
<!-- test -->
|
||||||
|
</div>
|
||||||
|
<p class="accent">
|
||||||
|
<!--[if IE]>
|
||||||
|
According to the conditional comment this is IE<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
According to the conditional comment this is IE 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 7]>
|
||||||
|
According to the conditional comment this is IE 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 8]>
|
||||||
|
According to the conditional comment this is IE 8<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 9]>
|
||||||
|
According to the conditional comment this is IE 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gte IE 8]>
|
||||||
|
According to the conditional comment this is IE 8 or higher<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
According to the conditional comment this is IE lower than 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lte IE 7]>
|
||||||
|
According to the conditional comment this is IE lower or equal to 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gt IE 6]>
|
||||||
|
According to the conditional comment this is IE greater than 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if !IE]> -->
|
||||||
|
According to the conditional comment this is not IE 5-9<br>
|
||||||
|
<!-- <![endif]-->
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</body></html>
|
@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
<link href="main.css" rel="stylesheet" type="text/css">
|
||||||
|
<!--[if IE 7]>
|
||||||
|
<link href="ie7.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
<link href="ie6.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 5]>
|
||||||
|
<link href="ie5.css" rel="stylesheet" type="text/css">
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- test -->
|
||||||
|
<div>
|
||||||
|
<!-- test -->
|
||||||
|
test
|
||||||
|
<!-- test -->
|
||||||
|
</div>
|
||||||
|
<p class="accent">
|
||||||
|
<!--[if IE]>
|
||||||
|
According to the conditional comment this is IE<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 6]>
|
||||||
|
According to the conditional comment this is IE 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 7]>
|
||||||
|
According to the conditional comment this is IE 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 8]>
|
||||||
|
According to the conditional comment this is IE 8<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if IE 9]>
|
||||||
|
According to the conditional comment this is IE 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gte IE 8]>
|
||||||
|
According to the conditional comment this is IE 8 or higher<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
According to the conditional comment this is IE lower than 9<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if lte IE 7]>
|
||||||
|
According to the conditional comment this is IE lower or equal to 7<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gt IE 6]>
|
||||||
|
According to the conditional comment this is IE greater than 6<br />
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if !IE]> -->
|
||||||
|
According to the conditional comment this is not IE 5-9<br>
|
||||||
|
<!-- <![endif]-->
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</body></html>
|
16
crates/swc_html_codegen/tests/fixture/comment/ie/input.html
Normal file
16
crates/swc_html_codegen/tests/fixture/comment/ie/input.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport"
|
||||||
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!--[if !IE]>-->
|
||||||
|
<p>This is shown in downlevel browsers.</p>
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
13
crates/swc_html_codegen/tests/fixture/comment/ie/output.html
Normal file
13
crates/swc_html_codegen/tests/fixture/comment/ie/output.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!--[if !IE]>-->
|
||||||
|
<p>This is shown in downlevel browsers.</p>
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
</body></html>
|
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!--[if !IE]>-->
|
||||||
|
<p>This is shown in downlevel browsers.</p>
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
</body></html>
|
18
crates/swc_html_codegen/tests/fixture/svg-tag/input.html
Normal file
18
crates/swc_html_codegen/tests/fixture/svg-tag/input.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport"
|
||||||
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<svg version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
width="200" height="200">
|
||||||
|
<image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
</svg>
|
||||||
|
</body>
|
||||||
|
</html>
|
12
crates/swc_html_codegen/tests/fixture/svg-tag/output.html
Normal file
12
crates/swc_html_codegen/tests/fixture/svg-tag/output.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
||||||
|
<img x="90" y="-65" width="128" height="146" transform="rotate(45)" xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png">
|
||||||
|
|
||||||
|
|
||||||
|
</svg></body></html>
|
@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html><html lang="en"><head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
||||||
|
<img x="90" y="-65" width="128" height="146" transform="rotate(45)" xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png">
|
||||||
|
|
||||||
|
|
||||||
|
</svg></body></html>
|
@ -4,7 +4,6 @@ use active_formatting_element_stack::*;
|
|||||||
use doctypes::*;
|
use doctypes::*;
|
||||||
use node::*;
|
use node::*;
|
||||||
use open_elements_stack::*;
|
use open_elements_stack::*;
|
||||||
use swc_atoms::JsWord;
|
|
||||||
use swc_common::Span;
|
use swc_common::Span;
|
||||||
use swc_html_ast::*;
|
use swc_html_ast::*;
|
||||||
|
|
||||||
@ -30,6 +29,11 @@ pub struct ParserConfig {
|
|||||||
pub scripting_enabled: bool,
|
pub scripting_enabled: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum AdjustAttributes {
|
||||||
|
MathML,
|
||||||
|
Svg,
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct TokenAndInfo {
|
pub struct TokenAndInfo {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
@ -646,7 +650,7 @@ where
|
|||||||
attributes,
|
attributes,
|
||||||
..
|
..
|
||||||
} if tag_name == "html" => {
|
} if tag_name == "html" => {
|
||||||
let element = create_node_for_element(Element {
|
let element = Node::new(Data::Element(Element {
|
||||||
span: span!(self, token_and_info.span.lo),
|
span: span!(self, token_and_info.span.lo),
|
||||||
namespace: Namespace::HTML,
|
namespace: Namespace::HTML,
|
||||||
tag_name: tag_name.into(),
|
tag_name: tag_name.into(),
|
||||||
@ -654,13 +658,15 @@ where
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|attribute| Attribute {
|
.map(|attribute| Attribute {
|
||||||
span: Default::default(),
|
span: Default::default(),
|
||||||
|
namespace: None,
|
||||||
|
prefix: None,
|
||||||
name: attribute.name.clone(),
|
name: attribute.name.clone(),
|
||||||
value: attribute.value.clone(),
|
value: attribute.value.clone(),
|
||||||
})
|
})
|
||||||
.collect(),
|
.collect(),
|
||||||
children: vec![],
|
children: vec![],
|
||||||
content: None,
|
content: None,
|
||||||
});
|
}));
|
||||||
|
|
||||||
self.open_elements_stack.push(element.clone());
|
self.open_elements_stack.push(element.clone());
|
||||||
|
|
||||||
@ -988,11 +994,12 @@ where
|
|||||||
let last_pos = self.input.last_pos()?;
|
let last_pos = self.input.last_pos()?;
|
||||||
let adjusted_insertion_location =
|
let adjusted_insertion_location =
|
||||||
self.get_appropriate_place_for_inserting_node(None);
|
self.get_appropriate_place_for_inserting_node(None);
|
||||||
let node = create_node_for_element(create_element_for_token(
|
let node = Node::new(Data::Element(self.create_element_for_token(
|
||||||
token_and_info.token.clone(),
|
token_and_info.token.clone(),
|
||||||
Span::new(token_and_info.span.lo, last_pos, Default::default()),
|
Span::new(token_and_info.span.lo, last_pos, Default::default()),
|
||||||
Some(Namespace::HTML),
|
Some(Namespace::HTML),
|
||||||
)?);
|
None,
|
||||||
|
)));
|
||||||
|
|
||||||
// Skip script handling
|
// Skip script handling
|
||||||
|
|
||||||
@ -3104,9 +3111,11 @@ where
|
|||||||
let is_self_closing = *self_closing;
|
let is_self_closing = *self_closing;
|
||||||
|
|
||||||
self.reconstruct_active_formatting_elements()?;
|
self.reconstruct_active_formatting_elements()?;
|
||||||
self.adjust_math_ml_attributes(token_and_info);
|
self.insert_foreign_element(
|
||||||
self.adjust_foreign_attributes_for_the_token(token_and_info);
|
token_and_info,
|
||||||
self.insert_foreign_element(token_and_info, Namespace::MATHML)?;
|
Namespace::SVG,
|
||||||
|
Some(AdjustAttributes::MathML),
|
||||||
|
)?;
|
||||||
|
|
||||||
if is_self_closing {
|
if is_self_closing {
|
||||||
token_and_info.acknowledged = true;
|
token_and_info.acknowledged = true;
|
||||||
@ -3134,9 +3143,11 @@ where
|
|||||||
let is_self_closing = *self_closing;
|
let is_self_closing = *self_closing;
|
||||||
|
|
||||||
self.reconstruct_active_formatting_elements()?;
|
self.reconstruct_active_formatting_elements()?;
|
||||||
self.adjust_svg_attributes(token_and_info);
|
self.insert_foreign_element(
|
||||||
self.adjust_foreign_attributes_for_the_token(token_and_info);
|
token_and_info,
|
||||||
self.insert_foreign_element(token_and_info, Namespace::SVG)?;
|
Namespace::SVG,
|
||||||
|
Some(AdjustAttributes::Svg),
|
||||||
|
)?;
|
||||||
|
|
||||||
if is_self_closing {
|
if is_self_closing {
|
||||||
token_and_info.acknowledged = true;
|
token_and_info.acknowledged = true;
|
||||||
@ -5472,96 +5483,290 @@ where
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn adjust_attributes<F>(&mut self, token_and_info: &mut TokenAndInfo, mut map: F)
|
// When the steps below require the user agent to adjust MathML attributes for a
|
||||||
where
|
// token, then, if the token has an attribute named definitionurl, change its
|
||||||
F: FnMut(JsWord) -> Option<JsWord>,
|
// name to definitionURL (note the case difference).
|
||||||
{
|
fn adjust_math_ml_attribute(&self, attribute: &mut Attribute) {
|
||||||
let attributes = match &mut token_and_info.token {
|
if &*attribute.name == "definitionurl" {
|
||||||
Token::StartTag { attributes, .. } => attributes,
|
attribute.name = "definitionURL".into();
|
||||||
_ => {
|
|
||||||
unreachable!();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
for &mut AttributeToken { ref mut name, .. } in attributes {
|
|
||||||
if let Some(replacement) = map(name.clone()) {
|
|
||||||
*name = replacement;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn adjust_math_ml_attributes(&mut self, token_and_info: &mut TokenAndInfo) {
|
// When the steps below require the user agent to adjust SVG attributes for a
|
||||||
self.adjust_attributes(token_and_info, |attribute| match &*attribute {
|
// token, then, for each attribute on the token whose attribute name is one of
|
||||||
"definitionurl" => Some("definitionURL".into()),
|
// the ones in the first column of the following table, change the attribute's
|
||||||
_ => None,
|
// name to the name given in the corresponding cell in the second column. (This
|
||||||
});
|
// fixes the case of SVG attributes that are not all lowercase.)
|
||||||
|
//
|
||||||
|
// Attribute name on token Attribute name on element
|
||||||
|
// attributename attributeName
|
||||||
|
// attributetype attributeType
|
||||||
|
// basefrequency baseFrequency
|
||||||
|
// baseprofile baseProfile
|
||||||
|
// calcmode calcMode
|
||||||
|
// clippathunits clipPathUnits
|
||||||
|
// diffuseconstant diffuseConstant
|
||||||
|
// edgemode edgeMode
|
||||||
|
// filterunits filterUnits
|
||||||
|
// glyphref glyphRef
|
||||||
|
// gradienttransform gradientTransform
|
||||||
|
// gradientunits gradientUnits
|
||||||
|
// kernelmatrix kernelMatrix
|
||||||
|
// kernelunitlength kernelUnitLength
|
||||||
|
// keypoints keyPoints
|
||||||
|
// keysplines keySplines
|
||||||
|
// keytimes keyTimes
|
||||||
|
// lengthadjust lengthAdjust
|
||||||
|
// limitingconeangle limitingConeAngle
|
||||||
|
// markerheight markerHeight
|
||||||
|
// markerunits markerUnits
|
||||||
|
// markerwidth markerWidth
|
||||||
|
// maskcontentunits maskContentUnits
|
||||||
|
// maskunits maskUnits
|
||||||
|
// numoctaves numOctaves
|
||||||
|
// pathlength pathLength
|
||||||
|
// patterncontentunits patternContentUnits
|
||||||
|
// patterntransform patternTransform
|
||||||
|
// patternunits patternUnits
|
||||||
|
// pointsatx pointsAtX
|
||||||
|
// pointsaty pointsAtY
|
||||||
|
// pointsatz pointsAtZ
|
||||||
|
// preservealpha preserveAlpha
|
||||||
|
// preserveaspectratio preserveAspectRatio
|
||||||
|
// primitiveunits primitiveUnits
|
||||||
|
// refx refX
|
||||||
|
// refy refY
|
||||||
|
// repeatcount repeatCount
|
||||||
|
// repeatdur repeatDur
|
||||||
|
// requiredextensions requiredExtensions
|
||||||
|
// requiredfeatures requiredFeatures
|
||||||
|
// specularconstant specularConstant
|
||||||
|
// specularexponent specularExponent
|
||||||
|
// spreadmethod spreadMethod
|
||||||
|
// startoffset startOffset
|
||||||
|
// stddeviation stdDeviation
|
||||||
|
// stitchtiles stitchTiles
|
||||||
|
// surfacescale surfaceScale
|
||||||
|
// systemlanguage systemLanguage
|
||||||
|
// tablevalues tableValues
|
||||||
|
// targetx targetX
|
||||||
|
// targety targetY
|
||||||
|
// textlength textLength
|
||||||
|
// viewbox viewBox
|
||||||
|
// viewtarget viewTarget
|
||||||
|
// xchannelselector xChannelSelector
|
||||||
|
// ychannelselector yChannelSelector
|
||||||
|
// zoomandpan zoomAndPan
|
||||||
|
fn adjust_svg_attribute(&self, attribute: &mut Attribute) {
|
||||||
|
match &*attribute.name {
|
||||||
|
"attributename" => {
|
||||||
|
attribute.name = "attributeName".into();
|
||||||
|
}
|
||||||
|
"attributetype" => attribute.name = "attributeType".into(),
|
||||||
|
"basefrequency" => attribute.name = "baseFrequency".into(),
|
||||||
|
"baseprofile" => attribute.name = "baseProfile".into(),
|
||||||
|
"calcmode" => attribute.name = "calcMode".into(),
|
||||||
|
"clippathunits" => attribute.name = "clipPathUnits".into(),
|
||||||
|
"diffuseconstant" => attribute.name = "diffuseConstant".into(),
|
||||||
|
"edgemode" => attribute.name = "edgeMode".into(),
|
||||||
|
"filterunits" => attribute.name = "filterUnits".into(),
|
||||||
|
"glyphref" => attribute.name = "glyphRef".into(),
|
||||||
|
"gradienttransform" => attribute.name = "gradientTransform".into(),
|
||||||
|
"gradientunits" => attribute.name = "gradientUnits".into(),
|
||||||
|
"kernelmatrix" => attribute.name = "kernelMatrix".into(),
|
||||||
|
"kernelunitlength" => attribute.name = "kernelUnitLength".into(),
|
||||||
|
"keypoints" => attribute.name = "keyPoints".into(),
|
||||||
|
"keysplines" => attribute.name = "keySplines".into(),
|
||||||
|
"keytimes" => attribute.name = "keyTimes".into(),
|
||||||
|
"lengthadjust" => attribute.name = "lengthAdjust".into(),
|
||||||
|
"limitingconeangle" => attribute.name = "limitingConeAngle".into(),
|
||||||
|
"markerheight" => attribute.name = "markerHeight".into(),
|
||||||
|
"markerunits" => attribute.name = "markerUnits".into(),
|
||||||
|
"markerwidth" => attribute.name = "markerWidth".into(),
|
||||||
|
"maskcontentunits" => attribute.name = "maskContentUnits".into(),
|
||||||
|
"maskunits" => attribute.name = "maskUnits".into(),
|
||||||
|
"numoctaves" => attribute.name = "numOctaves".into(),
|
||||||
|
"pathlength" => attribute.name = "pathLength".into(),
|
||||||
|
"patterncontentunits" => attribute.name = "patternContentUnits".into(),
|
||||||
|
"patterntransform" => attribute.name = "patternTransform".into(),
|
||||||
|
"patternunits" => attribute.name = "patternUnits".into(),
|
||||||
|
"pointsatx" => attribute.name = "pointsAtX".into(),
|
||||||
|
"pointsaty" => attribute.name = "pointsAtY".into(),
|
||||||
|
"pointsatz" => attribute.name = "pointsAtZ".into(),
|
||||||
|
"preservealpha" => attribute.name = "preserveAlpha".into(),
|
||||||
|
"preserveaspectratio" => attribute.name = "preserveAspectRatio".into(),
|
||||||
|
"primitiveunits" => attribute.name = "primitiveUnits".into(),
|
||||||
|
"refx" => attribute.name = "refX".into(),
|
||||||
|
"refy" => attribute.name = "refY".into(),
|
||||||
|
"repeatcount" => attribute.name = "repeatCount".into(),
|
||||||
|
"repeatdur" => attribute.name = "repeatDur".into(),
|
||||||
|
"requiredextensions" => attribute.name = "requiredExtensions".into(),
|
||||||
|
"requiredfeatures" => attribute.name = "requiredFeatures".into(),
|
||||||
|
"specularconstant" => attribute.name = "specularConstant".into(),
|
||||||
|
"specularexponent" => attribute.name = "specularExponent".into(),
|
||||||
|
"spreadmethod" => attribute.name = "spreadMethod".into(),
|
||||||
|
"startoffset" => attribute.name = "startOffset".into(),
|
||||||
|
"stddeviation" => attribute.name = "stdDeviation".into(),
|
||||||
|
"stitchtiles" => attribute.name = "stitchTiles".into(),
|
||||||
|
"surfacescale" => attribute.name = "surfaceScale".into(),
|
||||||
|
"systemlanguage" => attribute.name = "systemLanguage".into(),
|
||||||
|
"tablevalues" => attribute.name = "tableValues".into(),
|
||||||
|
"targetx" => attribute.name = "targetX".into(),
|
||||||
|
"targety" => attribute.name = "targetY".into(),
|
||||||
|
"textlength" => attribute.name = "textLength".into(),
|
||||||
|
"viewbox" => attribute.name = "viewBox".into(),
|
||||||
|
"viewtarget" => attribute.name = "viewTarget".into(),
|
||||||
|
"xchannelselector" => attribute.name = "xChannelSelector".into(),
|
||||||
|
"ychannelselector" => attribute.name = "yChannelSelector".into(),
|
||||||
|
"zoomandpan" => attribute.name = "zoomAndPan".into(),
|
||||||
|
_ => {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn adjust_svg_attributes(&mut self, token_and_info: &mut TokenAndInfo) {
|
// When the steps below require the user agent to adjust foreign attributes for
|
||||||
self.adjust_attributes(token_and_info, |attribute| match &*attribute {
|
// a token, then, if any of the attributes on the token match the strings given
|
||||||
"attributename" => Some("attributeName".into()),
|
// in the first column of the following table, let the attribute be a namespaced
|
||||||
"attributetype" => Some("attributeType".into()),
|
// attribute, with the prefix being the string given in the corresponding cell
|
||||||
"basefrequency" => Some("baseFrequency".into()),
|
// in the second column, the local name being the string given in the
|
||||||
"baseprofile" => Some("baseProfile".into()),
|
// corresponding cell in the third column, and the namespace being the namespace
|
||||||
"calcmode" => Some("calcMode".into()),
|
// given in the corresponding cell in the fourth column. (This fixes the use of
|
||||||
"clippathunits" => Some("clipPathUnits".into()),
|
// namespaced attributes, in particular lang attributes in the XML namespace.)
|
||||||
"diffuseconstant" => Some("diffuseConstant".into()),
|
//
|
||||||
"edgemode" => Some("edgeMode".into()),
|
//
|
||||||
"filterunits" => Some("filterUnits".into()),
|
// Attribute name Prefix Local name Namespace
|
||||||
"glyphref" => Some("glyphRef".into()),
|
//
|
||||||
"gradienttransform" => Some("gradientTransform".into()),
|
// xlink:actuate xlink actuate XLink namespace
|
||||||
"gradientunits" => Some("gradientUnits".into()),
|
// xlink:arcrole xlink arcrole XLink namespace
|
||||||
"kernelmatrix" => Some("kernelMatrix".into()),
|
// xlink:href xlink href XLink namespace
|
||||||
"kernelunitlength" => Some("kernelUnitLength".into()),
|
// xlink:role xlink role XLink namespace
|
||||||
"keypoints" => Some("keyPoints".into()),
|
// xlink:show xlink show XLink namespace
|
||||||
"keysplines" => Some("keySplines".into()),
|
// xlink:title xlink title XLink namespace
|
||||||
"keytimes" => Some("keyTimes".into()),
|
// xlink:type xlink type XLink namespace
|
||||||
"lengthadjust" => Some("lengthAdjust".into()),
|
// xml:lang xml lang XML namespace
|
||||||
"limitingconeangle" => Some("limitingConeAngle".into()),
|
// xml:space xml space XML namespace
|
||||||
"markerheight" => Some("markerHeight".into()),
|
// xmlns (none) xmlns XMLNS namespace
|
||||||
"markerunits" => Some("markerUnits".into()),
|
// xmlns:xlink xmlns xlink XMLNS namespace
|
||||||
"markerwidth" => Some("markerWidth".into()),
|
fn adjust_foreign_attribute(&self, attribute: &mut Attribute) {
|
||||||
"maskcontentunits" => Some("maskContentUnits".into()),
|
match &*attribute.name {
|
||||||
"maskunits" => Some("maskUnits".into()),
|
"xlink:actuate" => {
|
||||||
"numoctaves" => Some("numOctaves".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"pathlength" => Some("pathLength".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"patterncontentunits" => Some("patternContentUnits".into()),
|
attribute.name = "actuate".into();
|
||||||
"patterntransform" => Some("patternTransform".into()),
|
}
|
||||||
"patternunits" => Some("patternUnits".into()),
|
"xlink:arcrole" => {
|
||||||
"pointsatx" => Some("pointsAtX".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"pointsaty" => Some("pointsAtY".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"pointsatz" => Some("pointsAtZ".into()),
|
attribute.name = "arcrole".into();
|
||||||
"preservealpha" => Some("preserveAlpha".into()),
|
}
|
||||||
"preserveaspectratio" => Some("preserveAspectRatio".into()),
|
"xlink:href" => {
|
||||||
"primitiveunits" => Some("primitiveUnits".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"refx" => Some("refX".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"refy" => Some("refY".into()),
|
attribute.name = "href".into();
|
||||||
"repeatcount" => Some("repeatCount".into()),
|
}
|
||||||
"repeatdur" => Some("repeatDur".into()),
|
"xlink:role" => {
|
||||||
"requiredextensions" => Some("requiredExtensions".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"requiredfeatures" => Some("requiredFeatures".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"specularconstant" => Some("specularConstant".into()),
|
attribute.name = "role".into();
|
||||||
"specularexponent" => Some("specularExponent".into()),
|
}
|
||||||
"spreadmethod" => Some("spreadMethod".into()),
|
"xlink:show" => {
|
||||||
"startoffset" => Some("startOffset".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"stddeviation" => Some("stdDeviation".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"stitchtiles" => Some("stitchTiles".into()),
|
attribute.name = "show".into();
|
||||||
"surfacescale" => Some("surfaceScale".into()),
|
}
|
||||||
"systemlanguage" => Some("systemLanguage".into()),
|
"xlink:title" => {
|
||||||
"tablevalues" => Some("tableValues".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"targetx" => Some("targetX".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"targety" => Some("targetY".into()),
|
attribute.name = "title".into();
|
||||||
"textlength" => Some("textLength".into()),
|
}
|
||||||
"viewbox" => Some("viewBox".into()),
|
"xlink:type" => {
|
||||||
"viewtarget" => Some("viewTarget".into()),
|
attribute.namespace = Some(Namespace::XLINK);
|
||||||
"xchannelselector" => Some("xChannelSelector".into()),
|
attribute.prefix = Some("xlink".into());
|
||||||
"ychannelselector" => Some("yChannelSelector".into()),
|
attribute.name = "type".into();
|
||||||
"zoomandpan" => Some("zoomAndPan".into()),
|
}
|
||||||
_ => None,
|
"xml:lang" => {
|
||||||
});
|
attribute.namespace = Some(Namespace::XML);
|
||||||
|
attribute.prefix = Some("xml".into());
|
||||||
|
attribute.name = "lang".into();
|
||||||
|
}
|
||||||
|
"xml:space" => {
|
||||||
|
attribute.namespace = Some(Namespace::XML);
|
||||||
|
attribute.prefix = Some("xml".into());
|
||||||
|
attribute.name = "space".into();
|
||||||
|
}
|
||||||
|
"xmlns" => {
|
||||||
|
attribute.namespace = Some(Namespace::XMLNS);
|
||||||
|
attribute.prefix = None;
|
||||||
|
attribute.name = "xmlns".into();
|
||||||
|
}
|
||||||
|
"xmlns:xlink" => {
|
||||||
|
attribute.namespace = Some(Namespace::XMLNS);
|
||||||
|
attribute.prefix = Some("xmlns".into());
|
||||||
|
attribute.name = "xlink".into();
|
||||||
|
}
|
||||||
|
_ => {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn adjust_foreign_attributes_for_the_token(&mut self, _token_and_info: &mut TokenAndInfo) {}
|
fn create_element_for_token(
|
||||||
|
&self,
|
||||||
|
token: Token,
|
||||||
|
span: Span,
|
||||||
|
namespace: Option<Namespace>,
|
||||||
|
adjust_attributes: Option<AdjustAttributes>,
|
||||||
|
) -> Element {
|
||||||
|
match token {
|
||||||
|
Token::StartTag {
|
||||||
|
tag_name,
|
||||||
|
attributes,
|
||||||
|
..
|
||||||
|
}
|
||||||
|
| Token::EndTag {
|
||||||
|
tag_name,
|
||||||
|
attributes,
|
||||||
|
..
|
||||||
|
} => {
|
||||||
|
// TODO span
|
||||||
|
let attributes = attributes
|
||||||
|
.into_iter()
|
||||||
|
.map(|attribute_token| {
|
||||||
|
let mut attribute = Attribute {
|
||||||
|
span: Default::default(),
|
||||||
|
namespace: None,
|
||||||
|
prefix: None,
|
||||||
|
name: attribute_token.name.clone(),
|
||||||
|
value: attribute_token.value,
|
||||||
|
};
|
||||||
|
|
||||||
|
match adjust_attributes {
|
||||||
|
Some(AdjustAttributes::MathML) => {
|
||||||
|
self.adjust_math_ml_attribute(&mut attribute);
|
||||||
|
self.adjust_foreign_attribute(&mut attribute);
|
||||||
|
}
|
||||||
|
Some(AdjustAttributes::Svg) => {
|
||||||
|
self.adjust_svg_attribute(&mut attribute);
|
||||||
|
self.adjust_foreign_attribute(&mut attribute);
|
||||||
|
}
|
||||||
|
None => {}
|
||||||
|
}
|
||||||
|
|
||||||
|
attribute
|
||||||
|
})
|
||||||
|
.collect();
|
||||||
|
|
||||||
|
Element {
|
||||||
|
span,
|
||||||
|
tag_name,
|
||||||
|
namespace: namespace.unwrap(),
|
||||||
|
attributes,
|
||||||
|
children: vec![],
|
||||||
|
content: None,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_ => {
|
||||||
|
unreachable!();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// The adoption agency algorithm, which takes as its only argument a token token
|
// The adoption agency algorithm, which takes as its only argument a token token
|
||||||
// for which the algorithm is being run, consists of the following steps:
|
// for which the algorithm is being run, consists of the following steps:
|
||||||
@ -6395,13 +6600,14 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn insert_html_element(&mut self, token_and_info: &mut TokenAndInfo) -> PResult<RcNode> {
|
fn insert_html_element(&mut self, token_and_info: &mut TokenAndInfo) -> PResult<RcNode> {
|
||||||
self.insert_foreign_element(token_and_info, Namespace::HTML)
|
self.insert_foreign_element(token_and_info, Namespace::HTML, None)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn insert_foreign_element(
|
fn insert_foreign_element(
|
||||||
&mut self,
|
&mut self,
|
||||||
token_and_info: &mut TokenAndInfo,
|
token_and_info: &mut TokenAndInfo,
|
||||||
namespace: Namespace,
|
namespace: Namespace,
|
||||||
|
adjust_attributes: Option<AdjustAttributes>,
|
||||||
) -> PResult<RcNode> {
|
) -> PResult<RcNode> {
|
||||||
// Let the adjusted insertion location be the appropriate place for
|
// Let the adjusted insertion location be the appropriate place for
|
||||||
// inserting a node.
|
// inserting a node.
|
||||||
@ -6420,12 +6626,13 @@ where
|
|||||||
// intended parent being the element in which the adjusted insertion
|
// intended parent being the element in which the adjusted insertion
|
||||||
// location finds itself.
|
// location finds itself.
|
||||||
let last_pos = self.input.last_pos()?;
|
let last_pos = self.input.last_pos()?;
|
||||||
let element = create_element_for_token(
|
let element = self.create_element_for_token(
|
||||||
token_and_info.token.clone(),
|
token_and_info.token.clone(),
|
||||||
Span::new(token_and_info.span.lo, last_pos, Default::default()),
|
Span::new(token_and_info.span.lo, last_pos, Default::default()),
|
||||||
Some(namespace),
|
Some(namespace),
|
||||||
)?;
|
adjust_attributes,
|
||||||
let node = create_node_for_element(element);
|
);
|
||||||
|
let node = Node::new(Data::Element(element));
|
||||||
|
|
||||||
// If it is possible to insert an element at the adjusted insertion
|
// If it is possible to insert an element at the adjusted insertion
|
||||||
// location, then insert the newly created element at the adjusted
|
// location, then insert the newly created element at the adjusted
|
||||||
@ -6521,56 +6728,11 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn create_node_for_element(element: Element) -> RcNode {
|
|
||||||
Node::new(Data::Element(element))
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO eq with/without span?
|
// TODO eq with/without span?
|
||||||
fn is_same_node(a: &RcNode, b: &RcNode) -> bool {
|
fn is_same_node(a: &RcNode, b: &RcNode) -> bool {
|
||||||
Rc::ptr_eq(a, b)
|
Rc::ptr_eq(a, b)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn create_element_for_token(
|
|
||||||
token: Token,
|
|
||||||
span: Span,
|
|
||||||
namespace: Option<Namespace>,
|
|
||||||
) -> PResult<Element> {
|
|
||||||
let element = match token {
|
|
||||||
Token::StartTag {
|
|
||||||
tag_name,
|
|
||||||
attributes,
|
|
||||||
..
|
|
||||||
}
|
|
||||||
| Token::EndTag {
|
|
||||||
tag_name,
|
|
||||||
attributes,
|
|
||||||
..
|
|
||||||
} => {
|
|
||||||
Element {
|
|
||||||
span,
|
|
||||||
tag_name,
|
|
||||||
namespace: namespace.unwrap(),
|
|
||||||
// TODO span
|
|
||||||
attributes: attributes
|
|
||||||
.into_iter()
|
|
||||||
.map(|attribute| Attribute {
|
|
||||||
span: Default::default(),
|
|
||||||
name: attribute.name.clone(),
|
|
||||||
value: attribute.value,
|
|
||||||
})
|
|
||||||
.collect(),
|
|
||||||
children: vec![],
|
|
||||||
content: None,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
_ => {
|
|
||||||
unreachable!();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Ok(element)
|
|
||||||
}
|
|
||||||
|
|
||||||
impl<I> Parse<Document> for Parser<I>
|
impl<I> Parse<Document> for Parser<I>
|
||||||
where
|
where
|
||||||
I: ParserInput,
|
I: ParserInput,
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "https://www.w3schools.com"
|
"value": "https://www.w3schools.com"
|
||||||
}
|
}
|
||||||
|
@ -59,6 +59,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "0",
|
"name": "0",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -69,6 +71,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "1",
|
"name": "1",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -79,6 +83,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "2",
|
"name": "2",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -89,6 +95,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "3",
|
"name": "3",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -99,6 +107,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "4",
|
"name": "4",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -109,6 +119,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "5",
|
"name": "5",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -119,6 +131,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "6",
|
"name": "6",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -129,6 +143,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "7",
|
"name": "7",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -139,6 +155,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "8",
|
"name": "8",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -149,6 +167,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "9",
|
"name": "9",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -159,6 +179,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -169,6 +191,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -179,6 +203,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "c",
|
"name": "c",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -189,6 +215,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "d",
|
"name": "d",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -199,6 +227,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "e",
|
"name": "e",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -209,6 +239,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "f",
|
"name": "f",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -219,6 +251,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "g",
|
"name": "g",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -229,6 +263,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "h",
|
"name": "h",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -239,6 +275,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "i",
|
"name": "i",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -249,6 +287,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "j",
|
"name": "j",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -259,6 +299,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "k",
|
"name": "k",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -269,6 +311,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "l",
|
"name": "l",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -279,6 +323,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "m",
|
"name": "m",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -289,6 +335,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "n",
|
"name": "n",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -299,6 +347,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "o",
|
"name": "o",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -309,6 +359,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "p",
|
"name": "p",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -319,6 +371,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "q",
|
"name": "q",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -329,6 +383,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "r",
|
"name": "r",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -339,6 +395,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "s",
|
"name": "s",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -349,6 +407,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "t",
|
"name": "t",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -359,6 +419,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "u",
|
"name": "u",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -369,6 +431,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "v",
|
"name": "v",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -379,6 +443,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "w",
|
"name": "w",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -389,6 +455,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "x",
|
"name": "x",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -399,6 +467,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "y",
|
"name": "y",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -409,6 +479,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "z",
|
"name": "z",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -440,6 +512,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"value": " <![CDATA[ \\n\\n foobar baz ]]> "
|
"value": " <![CDATA[ \\n\\n foobar baz ]]> "
|
||||||
}
|
}
|
||||||
@ -483,6 +557,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"value": " <!-- hello world --> "
|
"value": " <!-- hello world --> "
|
||||||
}
|
}
|
||||||
@ -526,6 +602,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "v-ref:vm_pv",
|
"name": "v-ref:vm_pv",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -536,6 +614,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": ":imgs",
|
"name": ":imgs",
|
||||||
"value": " objpicsurl_ "
|
"value": " objpicsurl_ "
|
||||||
}
|
}
|
||||||
@ -569,6 +649,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"value": "\\u00A0"
|
"value": "\\u00A0"
|
||||||
},
|
},
|
||||||
@ -579,6 +661,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"value": " "
|
"value": " "
|
||||||
},
|
},
|
||||||
@ -589,6 +673,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "c",
|
"name": "c",
|
||||||
"value": "\\u00A0"
|
"value": "\\u00A0"
|
||||||
}
|
}
|
||||||
@ -622,6 +708,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -77,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "UTF-8"
|
"value": "UTF-8"
|
||||||
}
|
}
|
||||||
@ -110,6 +114,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "viewport"
|
"value": "viewport"
|
||||||
},
|
},
|
||||||
@ -120,6 +126,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||||
}
|
}
|
||||||
@ -153,6 +161,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "X-UA-Compatible"
|
"value": "X-UA-Compatible"
|
||||||
},
|
},
|
||||||
@ -163,6 +173,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "ie=edge"
|
"value": "ie=edge"
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "https://www.w3schools.com"
|
"value": "https://www.w3schools.com"
|
||||||
}
|
}
|
||||||
|
@ -59,6 +59,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z"
|
"value": "0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z"
|
||||||
}
|
}
|
||||||
@ -90,6 +92,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "add sort keys createSorter"
|
"value": "add sort keys createSorter"
|
||||||
}
|
}
|
||||||
@ -121,6 +125,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "sprite sprite-{{sprite}}"
|
"value": "sprite sprite-{{sprite}}"
|
||||||
}
|
}
|
||||||
@ -154,6 +160,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "{{sprite}}-sprite sprite"
|
"value": "{{sprite}}-sprite sprite"
|
||||||
}
|
}
|
||||||
@ -187,6 +195,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "sprite-{{sprite}}-sprite"
|
"value": "sprite-{{sprite}}-sprite"
|
||||||
}
|
}
|
||||||
@ -220,6 +230,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "{{sprite}}"
|
"value": "{{sprite}}"
|
||||||
}
|
}
|
||||||
@ -253,6 +265,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "{{sprite}}"
|
"value": "{{sprite}}"
|
||||||
}
|
}
|
||||||
@ -286,6 +300,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -319,6 +335,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "nav_sv_fo_v_column <#=(j === 0) ? 'nav_sv_fo_v_first' : '' #> foo_bar"
|
"value": "nav_sv_fo_v_column <#=(j === 0) ? 'nav_sv_fo_v_first' : '' #> foo_bar"
|
||||||
}
|
}
|
||||||
@ -352,6 +370,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "moo <!-- htmlmin:ignore -->bar<!-- htmlmin:ignore --> foo baz"
|
"value": "moo <!-- htmlmin:ignore -->bar<!-- htmlmin:ignore --> foo baz"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -77,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "UTF-8"
|
"value": "UTF-8"
|
||||||
}
|
}
|
||||||
@ -110,6 +114,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "viewport"
|
"value": "viewport"
|
||||||
},
|
},
|
||||||
@ -120,6 +126,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||||
}
|
}
|
||||||
@ -153,6 +161,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "X-UA-Compatible"
|
"value": "X-UA-Compatible"
|
||||||
},
|
},
|
||||||
@ -163,6 +173,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "ie=edge"
|
"value": "ie=edge"
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "utf-8"
|
"value": "utf-8"
|
||||||
}
|
}
|
||||||
|
@ -1135,6 +1135,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "http://lmgtfy.com/?l=1&q=rick+roll"
|
"value": "http://lmgtfy.com/?l=1&q=rick+roll"
|
||||||
}
|
}
|
||||||
@ -1166,6 +1168,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "#"
|
"value": "#"
|
||||||
},
|
},
|
||||||
@ -1176,6 +1180,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "onclick",
|
"name": "onclick",
|
||||||
"value": "window.location='?l=1&q=rick+roll';return false"
|
"value": "window.location='?l=1&q=rick+roll';return false"
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "https://www.w3schools.com"
|
"value": "https://www.w3schools.com"
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "utf-8"
|
"value": "utf-8"
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "text/javascript"
|
"value": "text/javascript"
|
||||||
}
|
}
|
||||||
|
@ -218,6 +218,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "⚡",
|
"name": "⚡",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -286,6 +288,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "test.html"
|
"value": "test.html"
|
||||||
}
|
}
|
||||||
@ -439,6 +443,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-test",
|
"name": "data-test",
|
||||||
"value": "a"
|
"value": "a"
|
||||||
}
|
}
|
||||||
@ -472,6 +478,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-test",
|
"name": "data-test",
|
||||||
"value": "a"
|
"value": "a"
|
||||||
}
|
}
|
||||||
@ -505,6 +513,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-test",
|
"name": "data-test",
|
||||||
"value": "a"
|
"value": "a"
|
||||||
}
|
}
|
||||||
@ -538,6 +548,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-test",
|
"name": "data-test",
|
||||||
"value": "a"
|
"value": "a"
|
||||||
}
|
}
|
||||||
|
@ -59,6 +59,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "img",
|
"name": "img",
|
||||||
"value": "img/alt.png"
|
"value": "img/alt.png"
|
||||||
},
|
},
|
||||||
@ -69,6 +71,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-text",
|
"name": "data-text",
|
||||||
"value": "Your card validation code (CVC)\n is an extra security feature — it is the last 3 or 4 numbers on the\n back of your card."
|
"value": "Your card validation code (CVC)\n is an extra security feature — it is the last 3 or 4 numbers on the\n back of your card."
|
||||||
}
|
}
|
||||||
@ -102,6 +106,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "l",
|
"name": "l",
|
||||||
"value": "100"
|
"value": "100"
|
||||||
},
|
},
|
||||||
@ -112,6 +118,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "c",
|
"name": "c",
|
||||||
"value": "red"
|
"value": "red"
|
||||||
}
|
}
|
||||||
@ -145,6 +153,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "open",
|
"name": "open",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
@ -155,6 +165,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "disabled",
|
"name": "disabled",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -208,6 +220,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "twitter"
|
"value": "twitter"
|
||||||
}
|
}
|
||||||
@ -230,6 +244,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "..."
|
"value": "..."
|
||||||
}
|
}
|
||||||
@ -276,6 +292,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "fb"
|
"value": "fb"
|
||||||
}
|
}
|
||||||
@ -298,6 +316,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "..."
|
"value": "..."
|
||||||
}
|
}
|
||||||
@ -344,6 +364,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "plus"
|
"value": "plus"
|
||||||
}
|
}
|
||||||
@ -366,6 +388,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "href",
|
"name": "href",
|
||||||
"value": "..."
|
"value": "..."
|
||||||
}
|
}
|
||||||
@ -479,6 +503,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "x-foo-from-template"
|
"value": "x-foo-from-template"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -141,6 +143,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "vide/webm"
|
"value": "vide/webm"
|
||||||
},
|
},
|
||||||
@ -151,6 +155,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "/media/examples/flower.mp4"
|
"value": "/media/examples/flower.mp4"
|
||||||
},
|
},
|
||||||
@ -161,6 +167,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "width",
|
"name": "width",
|
||||||
"value": "200"
|
"value": "200"
|
||||||
},
|
},
|
||||||
@ -171,6 +179,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "height",
|
"name": "height",
|
||||||
"value": "200"
|
"value": "200"
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "Content-Type"
|
"value": "Content-Type"
|
||||||
},
|
},
|
||||||
@ -76,6 +78,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "text/html; charset=utf-8"
|
"value": "text/html; charset=utf-8"
|
||||||
}
|
}
|
||||||
@ -153,6 +157,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "rows",
|
"name": "rows",
|
||||||
"value": "80,*"
|
"value": "80,*"
|
||||||
},
|
},
|
||||||
@ -163,6 +169,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "cols",
|
"name": "cols",
|
||||||
"value": "*"
|
"value": "*"
|
||||||
}
|
}
|
||||||
@ -194,6 +202,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "top.html"
|
"value": "top.html"
|
||||||
},
|
},
|
||||||
@ -204,6 +214,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "topFrame"
|
"value": "topFrame"
|
||||||
},
|
},
|
||||||
@ -214,6 +226,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "scrolling",
|
"name": "scrolling",
|
||||||
"value": "no"
|
"value": "no"
|
||||||
},
|
},
|
||||||
@ -224,6 +238,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "noresize",
|
"name": "noresize",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -257,6 +273,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "cols",
|
"name": "cols",
|
||||||
"value": "80,*"
|
"value": "80,*"
|
||||||
}
|
}
|
||||||
@ -288,6 +306,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "left.html"
|
"value": "left.html"
|
||||||
},
|
},
|
||||||
@ -298,6 +318,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "leftFrame"
|
"value": "leftFrame"
|
||||||
},
|
},
|
||||||
@ -308,6 +330,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "scrolling",
|
"name": "scrolling",
|
||||||
"value": "no"
|
"value": "no"
|
||||||
},
|
},
|
||||||
@ -318,6 +342,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "noresize",
|
"name": "noresize",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
@ -351,6 +377,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "main.html"
|
"value": "main.html"
|
||||||
},
|
},
|
||||||
@ -361,6 +389,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "mainFrame"
|
"value": "mainFrame"
|
||||||
}
|
}
|
||||||
|
@ -143,6 +143,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "w3schools.jpg"
|
"value": "w3schools.jpg"
|
||||||
},
|
},
|
||||||
@ -153,6 +155,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "alt",
|
"name": "alt",
|
||||||
"value": "W3Schools.com"
|
"value": "W3Schools.com"
|
||||||
},
|
},
|
||||||
@ -163,6 +167,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "width",
|
"name": "width",
|
||||||
"value": "104"
|
"value": "104"
|
||||||
},
|
},
|
||||||
@ -173,6 +179,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "height",
|
"name": "height",
|
||||||
"value": "142"
|
"value": "142"
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-test",
|
"name": "data-test",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -161,6 +163,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "direction",
|
"name": "direction",
|
||||||
"value": "up"
|
"value": "up"
|
||||||
}
|
}
|
||||||
@ -192,6 +196,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "direction",
|
"name": "direction",
|
||||||
"value": "down"
|
"value": "down"
|
||||||
},
|
},
|
||||||
@ -202,6 +208,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "width",
|
"name": "width",
|
||||||
"value": "250"
|
"value": "250"
|
||||||
},
|
},
|
||||||
@ -212,6 +220,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "height",
|
"name": "height",
|
||||||
"value": "200"
|
"value": "200"
|
||||||
},
|
},
|
||||||
@ -222,6 +232,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "behavior",
|
"name": "behavior",
|
||||||
"value": "alternate"
|
"value": "alternate"
|
||||||
},
|
},
|
||||||
@ -232,6 +244,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "style",
|
"name": "style",
|
||||||
"value": "border:solid"
|
"value": "border:solid"
|
||||||
}
|
}
|
||||||
@ -263,6 +277,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "behavior",
|
"name": "behavior",
|
||||||
"value": "alternate"
|
"value": "alternate"
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@
|
|||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "math",
|
"tagName": "math",
|
||||||
"namespace": "http://www.w3.org/1998/Math/MathML",
|
"namespace": "http://www.w3.org/2000/svg",
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -141,6 +143,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "image/svg+xml"
|
"value": "image/svg+xml"
|
||||||
},
|
},
|
||||||
@ -151,6 +155,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"value": "image.svg"
|
"value": "image.svg"
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "Content-Type"
|
"value": "Content-Type"
|
||||||
},
|
},
|
||||||
@ -76,6 +78,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "text/html; charset=utf-8"
|
"value": "text/html; charset=utf-8"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -77,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "UTF-8"
|
"value": "UTF-8"
|
||||||
}
|
}
|
||||||
@ -110,6 +114,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "viewport"
|
"value": "viewport"
|
||||||
},
|
},
|
||||||
@ -120,6 +126,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||||
}
|
}
|
||||||
@ -153,6 +161,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "X-UA-Compatible"
|
"value": "X-UA-Compatible"
|
||||||
},
|
},
|
||||||
@ -163,6 +173,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "ie=edge"
|
"value": "ie=edge"
|
||||||
}
|
}
|
||||||
|
@ -49,5 +49,28 @@
|
|||||||
<rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
<rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
|
<svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<text xml:lang="en-US">This is some English text</text>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
<svg version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
width="200" height="200">
|
||||||
|
<image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
<svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<text y="20" xml:space="default">Default spacing</text>
|
||||||
|
<text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
<svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<text xml:lang="en-US">This is some English text</text>
|
||||||
|
<a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
<text x="10" y="25" >An example link.</text>
|
||||||
|
</a>
|
||||||
|
</svg>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
File diff suppressed because it is too large
Load Diff
@ -52,8 +52,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | | </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | `-> </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | | </body>
|
||||||
|
76 | `-> </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -109,8 +132,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -166,8 +212,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Attribute
|
x Attribute
|
||||||
@ -733,8 +802,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -762,8 +854,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -886,8 +1001,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -908,8 +1046,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -941,8 +1102,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -962,8 +1146,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -996,8 +1203,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -1014,8 +1244,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -1162,8 +1415,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -1172,8 +1448,31 @@
|
|||||||
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | | <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -1193,8 +1492,31 @@
|
|||||||
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
@ -1202,24 +1524,521 @@
|
|||||||
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | |
|
||||||
52 | `-> </body>
|
52 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/fixture/tag/svg/input.html:49:5]
|
,-[$DIR/tests/fixture/tag/svg/input.html:49:5]
|
||||||
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | `->
|
||||||
52 | `-> </body>
|
52 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Text
|
x Text
|
||||||
,-[$DIR/tests/fixture/tag/svg/input.html:49:5]
|
,-[$DIR/tests/fixture/tag/svg/input.html:49:5]
|
||||||
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
49 | ,-> <rect x="0" y="0" width="200" height="200" style="filter: url(#noise2); transform: translateX(220px);" />
|
||||||
50 | | </svg>
|
50 | | </svg>
|
||||||
51 | |
|
51 | `->
|
||||||
52 | `-> </body>
|
52 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
53 | </html>
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:52:1]
|
||||||
|
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:52:1]
|
||||||
|
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
53 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | |
|
||||||
|
56 | | <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:52:1]
|
||||||
|
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:52:1]
|
||||||
|
52 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
53 | `-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | `->
|
||||||
|
56 | <svg version="1.1"
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:53:5]
|
||||||
|
53 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
54 | | </svg>
|
||||||
|
55 | `->
|
||||||
|
56 | <svg version="1.1"
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:56:1]
|
||||||
|
56 | ,-> <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:56:1]
|
||||||
|
56 | ,-> <svg version="1.1"
|
||||||
|
57 | | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
58 | | width="200" height="200">
|
||||||
|
59 | | <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | | xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | |
|
||||||
|
63 | | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:58:6]
|
||||||
|
58 | ,-> width="200" height="200">
|
||||||
|
59 | `-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:58:6]
|
||||||
|
58 | ,-> width="200" height="200">
|
||||||
|
59 | `-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:59:5]
|
||||||
|
59 | ,-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:59:5]
|
||||||
|
59 | ,-> <image x="90" y="-65" width="128" height="146" transform="rotate(45)"
|
||||||
|
60 | `-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:60:12]
|
||||||
|
60 | ,-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | `->
|
||||||
|
63 | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:60:12]
|
||||||
|
60 | ,-> xlink:href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png"/>
|
||||||
|
61 | | </svg>
|
||||||
|
62 | `->
|
||||||
|
63 | <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:63:1]
|
||||||
|
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:63:1]
|
||||||
|
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | |
|
||||||
|
68 | | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:63:1]
|
||||||
|
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | `-> <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:63:1]
|
||||||
|
63 | ,-> <svg viewBox="0 0 140 50" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
64 | `-> <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | ,-> <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:64:5]
|
||||||
|
64 | ,-> <text y="20" xml:space="default">Default spacing</text>
|
||||||
|
65 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | ,-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | `->
|
||||||
|
68 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:65:5]
|
||||||
|
65 | ,-> <text y="40" xml:space="preserve">Preserved spacing</text>
|
||||||
|
66 | | </svg>
|
||||||
|
67 | `->
|
||||||
|
68 | <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:68:1]
|
||||||
|
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:68:1]
|
||||||
|
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | | <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:68:1]
|
||||||
|
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | `-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:68:1]
|
||||||
|
68 | ,-> <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
69 | `-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | <text xml:lang="en-US">This is some English text</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | `-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:69:5]
|
||||||
|
69 | ,-> <text xml:lang="en-US">This is some English text</text>
|
||||||
|
70 | `-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:70:5]
|
||||||
|
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:70:5]
|
||||||
|
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | | <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:70:5]
|
||||||
|
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | `-> <text x="10" y="25" >An example link.</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:70:5]
|
||||||
|
70 | ,-> <a xlink:href= "http://example.com/link/" xlink:title="The link leads to an example page that is of little interest">
|
||||||
|
71 | `-> <text x="10" y="25" >An example link.</text>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | <text x="10" y="25" >An example link.</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Element
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | <text x="10" y="25" >An example link.</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | <text x="10" y="25" >An example link.</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | <text x="10" y="25" >An example link.</text>
|
||||||
|
: ^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Child
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | ,-> <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
|
`----
|
||||||
|
|
||||||
|
x Text
|
||||||
|
,-[$DIR/tests/fixture/tag/svg/input.html:71:9]
|
||||||
|
71 | ,-> <text x="10" y="25" >An example link.</text>
|
||||||
|
72 | | </a>
|
||||||
|
73 | | </svg>
|
||||||
|
74 | |
|
||||||
|
75 | `-> </body>
|
||||||
|
76 | </html>
|
||||||
`----
|
`----
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -77,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "UTF-8"
|
"value": "UTF-8"
|
||||||
}
|
}
|
||||||
@ -110,6 +114,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "viewport"
|
"value": "viewport"
|
||||||
},
|
},
|
||||||
@ -120,6 +126,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||||
}
|
}
|
||||||
@ -153,6 +161,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "X-UA-Compatible"
|
"value": "X-UA-Compatible"
|
||||||
},
|
},
|
||||||
@ -163,6 +173,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "ie=edge"
|
"value": "ie=edge"
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "element-details-template"
|
"value": "element-details-template"
|
||||||
}
|
}
|
||||||
@ -149,6 +151,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "name"
|
"value": "name"
|
||||||
}
|
}
|
||||||
@ -180,6 +184,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "element-name"
|
"value": "element-name"
|
||||||
}
|
}
|
||||||
@ -223,6 +229,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "desc"
|
"value": "desc"
|
||||||
}
|
}
|
||||||
@ -245,6 +253,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "description"
|
"value": "description"
|
||||||
}
|
}
|
||||||
@ -306,6 +316,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "class",
|
"name": "class",
|
||||||
"value": "attributes"
|
"value": "attributes"
|
||||||
}
|
}
|
||||||
@ -369,6 +381,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "attributes"
|
"value": "attributes"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -141,6 +143,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "for",
|
"name": "for",
|
||||||
"value": "story"
|
"value": "story"
|
||||||
}
|
}
|
||||||
@ -184,6 +188,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "story"
|
"value": "story"
|
||||||
},
|
},
|
||||||
@ -194,6 +200,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "story"
|
"value": "story"
|
||||||
},
|
},
|
||||||
@ -204,6 +212,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "rows",
|
"name": "rows",
|
||||||
"value": "5"
|
"value": "5"
|
||||||
},
|
},
|
||||||
@ -214,6 +224,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "cols",
|
"name": "cols",
|
||||||
"value": "33"
|
"value": "33"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "lang",
|
"name": "lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -77,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "UTF-8"
|
"value": "UTF-8"
|
||||||
}
|
}
|
||||||
@ -110,6 +114,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"value": "viewport"
|
"value": "viewport"
|
||||||
},
|
},
|
||||||
@ -120,6 +126,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
"value": "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||||
}
|
}
|
||||||
@ -153,6 +161,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "http-equiv",
|
"name": "http-equiv",
|
||||||
"value": "X-UA-Compatible"
|
"value": "X-UA-Compatible"
|
||||||
},
|
},
|
||||||
@ -163,6 +173,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"value": "ie=edge"
|
"value": "ie=edge"
|
||||||
}
|
}
|
||||||
|
@ -207,6 +207,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -250,6 +252,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -293,6 +297,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -336,6 +342,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
|
@ -207,6 +207,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -250,6 +252,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -293,6 +297,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
@ -336,6 +342,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data-q",
|
"name": "data-q",
|
||||||
"value": "test"
|
"value": "test"
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"value": "I'm a header"
|
"value": "I'm a header"
|
||||||
}
|
}
|
||||||
@ -122,6 +124,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"value": "I'm a tooltip"
|
"value": "I'm a tooltip"
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "utf-8"
|
"value": "utf-8"
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "charset",
|
"name": "charset",
|
||||||
"value": "utf-8"
|
"value": "utf-8"
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "xmlns",
|
"name": "xmlns",
|
||||||
"value": "http://www.w3.org/1999/xhtml"
|
"value": "http://www.w3.org/1999/xhtml"
|
||||||
},
|
},
|
||||||
@ -54,6 +56,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "xml:lang",
|
"name": "xml:lang",
|
||||||
"value": "en"
|
"value": "en"
|
||||||
}
|
}
|
||||||
@ -128,6 +132,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "application/javascript"
|
"value": "application/javascript"
|
||||||
}
|
}
|
||||||
@ -183,6 +189,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "onload",
|
"name": "onload",
|
||||||
"value": "loadpdf()"
|
"value": "loadpdf()"
|
||||||
}
|
}
|
||||||
@ -234,6 +242,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"value": "Extensible HyperText Markup Language"
|
"value": "Extensible HyperText Markup Language"
|
||||||
}
|
}
|
||||||
@ -299,6 +309,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "validation-icon"
|
"value": "validation-icon"
|
||||||
},
|
},
|
||||||
@ -309,6 +321,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "src",
|
"name": "src",
|
||||||
"value": "http://www.w3.org/Icons/valid-xhtml10"
|
"value": "http://www.w3.org/Icons/valid-xhtml10"
|
||||||
},
|
},
|
||||||
@ -319,6 +333,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "alt",
|
"name": "alt",
|
||||||
"value": "Valid XHTML 1.0 Strict"
|
"value": "Valid XHTML 1.0 Strict"
|
||||||
}
|
}
|
||||||
@ -365,6 +381,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "pdf-object"
|
"value": "pdf-object"
|
||||||
},
|
},
|
||||||
@ -375,6 +393,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"value": "application/pdf"
|
"value": "application/pdf"
|
||||||
},
|
},
|
||||||
@ -385,6 +405,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"value": "http://www.w3.org/TR/xhtml1/xhtml1.pdf"
|
"value": "http://www.w3.org/TR/xhtml1/xhtml1.pdf"
|
||||||
},
|
},
|
||||||
@ -395,6 +417,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "width",
|
"name": "width",
|
||||||
"value": "100%"
|
"value": "100%"
|
||||||
},
|
},
|
||||||
@ -405,6 +429,8 @@
|
|||||||
"end": 0,
|
"end": 0,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
|
"namespace": null,
|
||||||
|
"prefix": null,
|
||||||
"name": "height",
|
"name": "height",
|
||||||
"value": "500"
|
"value": "500"
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,8 @@ define!({
|
|||||||
|
|
||||||
pub struct Attribute {
|
pub struct Attribute {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
|
pub namespace: Option<Namespace>,
|
||||||
|
pub prefix: Option<JsWord>,
|
||||||
pub name: JsWord,
|
pub name: JsWord,
|
||||||
pub value: Option<JsWord>,
|
pub value: Option<JsWord>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user