Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Update CSS at-rule hints #14013

Merged
merged 4 commits into from
Jan 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions src/extensions/default/CSSAtRuleCodeHints/AtRulesDef.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"@charset": "Defines the character set used by the style sheet.",
"@import": "Tells the CSS engine to include an external style sheet.",
"@namespace": "Tells the CSS engine that all its content must be considered prefixed with an XML namespace.",
"@media": "A conditional group rule which will apply its content if the device meets the criteria of the condition defined using a media query.",
"@supports": "A conditional group rule which will apply its content if the browser meets the criteria of the given condition.",
"@page": "Describes the aspect of layout changes which will be applied when printing the document.",
"@font-face": "Describes the aspect of an external font to be downloaded.",
"@keyframes": "Describes the aspect of intermediate steps in a CSS animation sequence."
"@charset": "Defines the character set used by the style sheet.",
"@counter-style": "Defines specific counter styles that are not part of the predefined set of styles.",
"@font-face": "Describes the aspect of an external font to be downloaded.",
"@font-feature-values": "Defines common names in font-variant-alternates for feature activated differently in OpenType.",
"@import": "Tells the CSS engine to include an external style sheet.",
"@keyframes": "Describes the aspect of intermediate steps in a CSS animation sequence.",
"@media": "A conditional group rule which will apply its content if the device meets the criteria of the condition defined using a media query.",
"@namespace": "Tells the CSS engine that all its content must be considered prefixed with an XML namespace.",
"@page": "Describes the aspect of layout changes which will be applied when printing the document.",
"@supports": "A conditional group rule which will apply its content if the browser meets the criteria of the given condition."
}
2 changes: 2 additions & 0 deletions src/extensions/default/CSSAtRuleCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ define(function (require, exports, module) {
var hintList = expectHints(CSSAtRuleCodeHints.restrictedBlockHints);
verifyFirstEntry(hintList, "@charset"); // filtered on "empty string"
verifyListsAreIdentical(hintList, ["@charset",
"@counter-style",
"@font-face",
"@font-feature-values",
"@import",
"@keyframes",
"@media",
Expand Down