Bug 1488208 [wpt PR 12804] - Update interfaces/cssom.idl, a=testonly
authorautofoolip <auto@foolip.org>
Tue, 19 Feb 2019 11:46:11 +0000
changeset 461328 bfb737900514d4d6494ecdf3d1999b160d53ae8c
parent 461327 af3c1de25f810f955eaebbfffb04ffc745c61b88
child 461329 b13a4ab436c985eadf849abf5af7ee567b17ab4e
push id35622
push userncsoregi@mozilla.com
push dateWed, 27 Feb 2019 04:32:15 +0000
treeherdermozilla-central@5b8896aa3f69 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1488208, 12804
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1488208 [wpt PR 12804] - Update interfaces/cssom.idl, a=testonly Automatic update from web-platform-tests Update interfaces/cssom.idl (#12804) Source: https://github.com/tidoust/reffy-reports/blob/6894c32/whatwg/idl/cssom.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/490049021 -- wpt-commits: be8418c77f9680adcc066a3aad2c3a20815b8351 wpt-pr: 12804
testing/web-platform/tests/interfaces/cssom.idl
--- a/testing/web-platform/tests/interfaces/cssom.idl
+++ b/testing/web-platform/tests/interfaces/cssom.idl
@@ -1,55 +1,62 @@
+// GENERATED PREAMBLE - DO NOT EDIT
+// This preamble was added by reffy-reports for web-platform-tests.
+// CSSOMString is an implementation-defined type of either DOMString or
+// USVString in CSSOM: https://drafts.csswg.org/cssom/#cssomstring-type
+// For web-platform-tests, use DOMString because USVString has additional
+// requirements in type conversion and could result in spurious failures for
+// implementations that use DOMString.
+typedef DOMString CSSOMString;
+
 // GENERATED CONTENT - DO NOT EDIT
 // Content was automatically extracted by Reffy into reffy-reports
 // (https://github.com/tidoust/reffy-reports)
 // Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom/)
 
-typedef USVString CSSOMString;
-
 [Exposed=Window]
 interface MediaList {
   stringifier attribute [TreatNullAs=EmptyString] CSSOMString mediaText;
   readonly attribute unsigned long length;
   getter CSSOMString? item(unsigned long index);
   void appendMedium(CSSOMString medium);
   void deleteMedium(CSSOMString medium);
 };
 
 [Exposed=Window]
 interface StyleSheet {
   readonly attribute CSSOMString type;
   readonly attribute USVString? href;
   readonly attribute (Element or ProcessingInstruction)? ownerNode;
-  readonly attribute StyleSheet? parentStyleSheet;
+  readonly attribute CSSStyleSheet? parentStyleSheet;
   readonly attribute DOMString? title;
   [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
   attribute boolean disabled;
 };
 
 [Exposed=Window]
 interface CSSStyleSheet : StyleSheet {
   readonly attribute CSSRule? ownerRule;
   [SameObject] readonly attribute CSSRuleList cssRules;
   unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
   void deleteRule(unsigned long index);
 };
 
 [Exposed=Window]
 interface StyleSheetList {
-  getter StyleSheet? item(unsigned long index);
+  getter CSSStyleSheet? item(unsigned long index);
   readonly attribute unsigned long length;
 };
 
-partial interface Document {
+partial interface mixin DocumentOrShadowRoot {
   [SameObject] readonly attribute StyleSheetList styleSheets;
 };
 
 interface mixin LinkStyle {
-  readonly attribute StyleSheet? sheet;
+  readonly attribute CSSStyleSheet? sheet;
 };
 
 ProcessingInstruction includes LinkStyle;
 [Exposed=Window]
 interface CSSRuleList {
   getter CSSRule? item(unsigned long index);
   readonly attribute unsigned long length;
 };