mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
1.7 KiB
1.7 KiB
Home > puppeteer > Protocol > CSS > CSSMedia
Protocol.CSS.CSSMedia interface
CSS media rule descriptor.
Signature:
export interface CSSMedia
Properties
Property | Type | Description |
---|---|---|
mediaList | MediaQuery[] | Array of media queries. |
range | SourceRange | The associated rule (@media or @import) header range in the enclosing stylesheet (if available). |
source | ('mediaRule' | 'importRule' | 'linkedSheet' | 'inlineSheet') | Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. (CSSMediaSource enum) |
sourceURL | string | URL of the document containing the media query description. |
styleSheetId | StyleSheetId | Identifier of the stylesheet containing this object (if exists). |
text | string | Media query text. |