Skip to content
Updated CSS Context API implementation spec (markdown) authored by RaymondLim's avatar RaymondLim
...@@ -23,7 +23,7 @@ The rule information is defined as follows... ...@@ -23,7 +23,7 @@ The rule information is defined as follows...
} }
``` ```
`tokenType` is either an empty string or one of the following values. `tokenType` is either an empty string or one of the following values that represent the different context in a CSS document.
* **PROP_NAME** * **PROP_NAME**
- will implement in sprint 18 for CSS hinting and font hinting - will implement in sprint 18 for CSS hinting and font hinting
* **PROP_VALUE** * **PROP_VALUE**
...@@ -56,16 +56,16 @@ If the cursor is in a non-css/non-less document, or inside the unsupported conte ...@@ -56,16 +56,16 @@ If the cursor is in a non-css/non-less document, or inside the unsupported conte
offset: 0 } offset: 0 }
} }
``` ```
<a name="notsupported"> </a>
###Examples of Not-Yet Supported CSS Context### ###Examples of Not-Yet Supported CSS Context###
>@charset "UTF-8"; >@char|set "UTF-8";
> >
>@import url("booya.css") print,screen; >@import ur|l("booya.css") print,screen;
>@import "whatup.css" screen; >@import "whatup.css" sc|reen;
>@import "wicked.css"; >@import "|wicked.css";
>@namespace "http://www.w3.org/1999/xhtml"; >@namespace "|http://www.w3.org/1999/xhtml";
>@namespace svg "http://www.w3.org/2000/svg"; >@namespace s|vg "http://www.w3.org/2000/svg";
###Examples of Property Name context### ###Examples of Property Name context###
PROP_NAME Token Type PROP_NAME Token Type
... ...
......