mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
Update valid HTML <a> & <area> attributes. + download, - media
Add download attribute (now widely supported.) Remove media attribute (only valid on style and link elements)
This commit is contained in:
@@ -54,7 +54,7 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
|
||||
figure: none,
|
||||
figcaption: none,
|
||||
div: none,
|
||||
a: ['href', 'target', 'ping', 'rel', 'media', 'hreflang', 'type'],
|
||||
a: ['href', 'target', 'download', 'ping', 'rel', 'hreflang', 'type'],
|
||||
em: none,
|
||||
strong: none,
|
||||
small: none,
|
||||
@@ -96,7 +96,7 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
|
||||
track: ['default:v', 'kind', 'label', 'src', 'srclang'],
|
||||
canvas: ['width', 'height'],
|
||||
map: ['name'],
|
||||
area: ['alt', 'coords', 'shape', 'href', 'target', 'ping', 'rel', 'media', 'hreflang', 'type'],
|
||||
area: ['alt', 'coords', 'shape', 'href', 'target', 'download', 'ping', 'rel', 'hreflang', 'type'],
|
||||
base: ['href', 'target'],
|
||||
link: ['href', 'rel', 'media', 'hreflang', 'type', 'sizes'],
|
||||
meta: ['name', 'http-equiv', 'content', 'charset'],
|
||||
|
||||
Reference in New Issue
Block a user