-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48d6948
commit 7ee59c7
Showing
69 changed files
with
3,103 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
.../integration-karma/test/synthetic-shadow/scoped-id/x/hrefBooleanTrue/hrefBooleanTrue.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<template> | ||
<div> | ||
<a href></a> | ||
</div> | ||
|
||
<div> | ||
<map> | ||
<area href/> | ||
</map> | ||
</div> | ||
</template> |
3 changes: 3 additions & 0 deletions
3
...wc/integration-karma/test/synthetic-shadow/scoped-id/x/hrefBooleanTrue/hrefBooleanTrue.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { LightningElement } from 'lwc'; | ||
|
||
export default class extends LightningElement {} |
13 changes: 13 additions & 0 deletions
13
...tion-karma/test/synthetic-shadow/scoped-id/x/hrefBooleanTrueNoId/hrefBooleanTrueNoId.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<template> | ||
<div id="foo"></div> | ||
|
||
<div> | ||
<a href data-id={fragmentUrl}></a> | ||
</div> | ||
|
||
<div> | ||
<map> | ||
<area href /> | ||
</map> | ||
</div> | ||
</template> |
3 changes: 3 additions & 0 deletions
3
...ration-karma/test/synthetic-shadow/scoped-id/x/hrefBooleanTrueNoId/hrefBooleanTrueNoId.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { LightningElement } from 'lwc'; | ||
|
||
export default class extends LightningElement {} |
5 changes: 4 additions & 1 deletion
5
...s/@lwc/integration-karma/test/synthetic-shadow/scoped-id/x/hrefDangling/hrefDangling.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<template> | ||
<!-- "dangling" because there exists no element in this template with the id "foo" --> | ||
<a href="#foo">foo</a> | ||
</template> | ||
<map> | ||
<area href="#bar" /> | ||
</map> | ||
</template> |
7 changes: 7 additions & 0 deletions
7
...ures/attributes/attribute-href/non-static-optimized/attribute-href-expression/actual.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<template> | ||
<a href={narita}>KIX</a> | ||
<map> | ||
<area href={haneda}/> | ||
<area href={chubu}/> | ||
</map> | ||
</template> |
251 changes: 251 additions & 0 deletions
251
...ixtures/attributes/attribute-href/non-static-optimized/attribute-href-expression/ast.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,251 @@ | ||
{ | ||
"root": { | ||
"type": "Root", | ||
"location": { | ||
"startLine": 1, | ||
"startColumn": 1, | ||
"endLine": 7, | ||
"endColumn": 12, | ||
"start": 0, | ||
"end": 131, | ||
"startTag": { | ||
"startLine": 1, | ||
"startColumn": 1, | ||
"endLine": 1, | ||
"endColumn": 11, | ||
"start": 0, | ||
"end": 10 | ||
}, | ||
"endTag": { | ||
"startLine": 7, | ||
"startColumn": 1, | ||
"endLine": 7, | ||
"endColumn": 12, | ||
"start": 120, | ||
"end": 131 | ||
} | ||
}, | ||
"directives": [], | ||
"children": [ | ||
{ | ||
"type": "Element", | ||
"name": "a", | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"location": { | ||
"startLine": 2, | ||
"startColumn": 5, | ||
"endLine": 2, | ||
"endColumn": 29, | ||
"start": 15, | ||
"end": 39, | ||
"startTag": { | ||
"startLine": 2, | ||
"startColumn": 5, | ||
"endLine": 2, | ||
"endColumn": 22, | ||
"start": 15, | ||
"end": 32 | ||
}, | ||
"endTag": { | ||
"startLine": 2, | ||
"startColumn": 25, | ||
"endLine": 2, | ||
"endColumn": 29, | ||
"start": 35, | ||
"end": 39 | ||
} | ||
}, | ||
"attributes": [ | ||
{ | ||
"type": "Attribute", | ||
"name": "href", | ||
"value": { | ||
"type": "Identifier", | ||
"start": 1, | ||
"end": 7, | ||
"name": "narita", | ||
"location": { | ||
"startLine": 2, | ||
"startColumn": 8, | ||
"endLine": 2, | ||
"endColumn": 21, | ||
"start": 18, | ||
"end": 31 | ||
} | ||
}, | ||
"location": { | ||
"startLine": 2, | ||
"startColumn": 8, | ||
"endLine": 2, | ||
"endColumn": 21, | ||
"start": 18, | ||
"end": 31 | ||
} | ||
} | ||
], | ||
"properties": [], | ||
"directives": [], | ||
"listeners": [], | ||
"children": [ | ||
{ | ||
"type": "Text", | ||
"raw": "KIX", | ||
"value": { | ||
"type": "Literal", | ||
"value": "KIX" | ||
}, | ||
"location": { | ||
"startLine": 2, | ||
"startColumn": 22, | ||
"endLine": 2, | ||
"endColumn": 25, | ||
"start": 32, | ||
"end": 35 | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "Element", | ||
"name": "map", | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"location": { | ||
"startLine": 3, | ||
"startColumn": 5, | ||
"endLine": 6, | ||
"endColumn": 11, | ||
"start": 44, | ||
"end": 119, | ||
"startTag": { | ||
"startLine": 3, | ||
"startColumn": 5, | ||
"endLine": 3, | ||
"endColumn": 10, | ||
"start": 44, | ||
"end": 49 | ||
}, | ||
"endTag": { | ||
"startLine": 6, | ||
"startColumn": 5, | ||
"endLine": 6, | ||
"endColumn": 11, | ||
"start": 113, | ||
"end": 119 | ||
} | ||
}, | ||
"attributes": [], | ||
"properties": [], | ||
"directives": [], | ||
"listeners": [], | ||
"children": [ | ||
{ | ||
"type": "Element", | ||
"name": "area", | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"location": { | ||
"startLine": 4, | ||
"startColumn": 9, | ||
"endLine": 4, | ||
"endColumn": 30, | ||
"start": 58, | ||
"end": 79, | ||
"startTag": { | ||
"startLine": 4, | ||
"startColumn": 9, | ||
"endLine": 4, | ||
"endColumn": 30, | ||
"start": 58, | ||
"end": 79 | ||
} | ||
}, | ||
"attributes": [ | ||
{ | ||
"type": "Attribute", | ||
"name": "href", | ||
"value": { | ||
"type": "Identifier", | ||
"start": 1, | ||
"end": 7, | ||
"name": "haneda", | ||
"location": { | ||
"startLine": 4, | ||
"startColumn": 15, | ||
"endLine": 4, | ||
"endColumn": 29, | ||
"start": 64, | ||
"end": 78 | ||
} | ||
}, | ||
"location": { | ||
"startLine": 4, | ||
"startColumn": 15, | ||
"endLine": 4, | ||
"endColumn": 29, | ||
"start": 64, | ||
"end": 78 | ||
} | ||
} | ||
], | ||
"properties": [], | ||
"directives": [], | ||
"listeners": [], | ||
"children": [] | ||
}, | ||
{ | ||
"type": "Element", | ||
"name": "area", | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"location": { | ||
"startLine": 5, | ||
"startColumn": 9, | ||
"endLine": 5, | ||
"endColumn": 29, | ||
"start": 88, | ||
"end": 108, | ||
"startTag": { | ||
"startLine": 5, | ||
"startColumn": 9, | ||
"endLine": 5, | ||
"endColumn": 29, | ||
"start": 88, | ||
"end": 108 | ||
} | ||
}, | ||
"attributes": [ | ||
{ | ||
"type": "Attribute", | ||
"name": "href", | ||
"value": { | ||
"type": "Identifier", | ||
"start": 1, | ||
"end": 6, | ||
"name": "chubu", | ||
"location": { | ||
"startLine": 5, | ||
"startColumn": 15, | ||
"endLine": 5, | ||
"endColumn": 28, | ||
"start": 94, | ||
"end": 107 | ||
} | ||
}, | ||
"location": { | ||
"startLine": 5, | ||
"startColumn": 15, | ||
"endLine": 5, | ||
"endColumn": 28, | ||
"start": 94, | ||
"end": 107 | ||
} | ||
} | ||
], | ||
"properties": [], | ||
"directives": [], | ||
"listeners": [], | ||
"children": [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...ures/attributes/attribute-href/non-static-optimized/attribute-href-expression/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"enableStaticContentOptimization": false | ||
} |
Oops, something went wrong.