diff --git a/usage.html b/usage.html index 5b22c99b1..50cdf5e7b 100644 --- a/usage.html +++ b/usage.html @@ -886,6 +886,10 @@

Setting the user style sheet

cssFactory.setUserStyleSheet(reader); reader.close(); +

or the URL variant:

+
String url = "https://www.example.com/user.css";
+cssFactory.setUserStyleSheet(url, null);
+

Both important and normal declarations are supported in the user style sheet.

@@ -1255,24 +1259,25 @@

CSS3 support

Color 5Partial Supports full level 4 but only color-mix() from level 5 (this is aligned with web browser support at the time of writing). -Fonts 4Conditional Rules 4Yes +Fonts 4PartialHas the @font-face and @font-feature-values rules, also decomposes the the font shorthand. -Media Queries 4 +Media Queries 4 PartialEvent handling with addListener/removeListener is not supported. Relies on CSSCanvas implementations to match/unmatch media features. -Selectors 4Yes +Selectors 4Yes -Lists and Counters 3PartialDecomposes the list-style shorthand. Limited support by the simple box model. +Lists and Counters 3PartialDecomposes the list-style shorthand. Limited support by the simple box model. -Multi-column LayoutPartialDecomposes the columns shorthand. Not supported by the simple box model. +Multi-column LayoutPartialDecomposes the columns shorthand. Not supported by the simple box model. -MaskingPartialDecomposes the mask shorthand. Not supported by the simple box model. -TransitionsYesDecomposes the transition shorthand. -Values 4YesAdvanced attr() from level 5 also has early support. -VariablesYesvar() is supported in computed styles. -CSS Properties and Values APIYesFull support (also in computed styles). -Grid / Template / Alignment +MaskingPartialDecomposes the mask shorthand. Not supported by the simple box model. +TransitionsYesDecomposes the transition shorthand. +Values 4YesAdvanced attr() from level 5 also has early support. +VariablesYesvar() is supported in computed styles. +CSS Properties and Values APIYesFull support (also in computed styles). +Grid / Template / Alignment PartialLegacy gap properties (grid-row-gap, grid-column-gap, and grid-gap) are not supported, although the longhands can be used if declared explicitly). Not supported by the simple box model.