feat(webkit): roll to r1744 (#19006)

This commit is contained in:
Playwright Service 2022-11-23 09:54:47 -08:00 committed by GitHub
parent d3f41eaa47
commit 0c8d2cf4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -33,7 +33,7 @@
},
{
"name": "webkit",
"revision": "1736",
"revision": "1744",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",

View File

@ -860,6 +860,10 @@ export module Protocol {
* Source of the media query: "media-rule" if specified by a @media rule, "media-import-rule" if specified by an @import rule, "media-link-node" if specified by a "media" attribute in a linked style sheet's LINK tag, "media-style-node" if specified by a "media" attribute in an inline style sheet's STYLE tag, "supports-rule" if specified by an @supports rule, "layer-rule" if specified by an @layer rule, "container-rule" if specified by an @container rule.
*/
type: "media-rule"|"media-import-rule"|"media-link-node"|"media-style-node"|"supports-rule"|"layer-rule"|"layer-import-rule"|"container-rule";
/**
* The CSS rule identifier for the `@rule` (absent for non-editable grouping rules). In CSSOM terms, this is the parent rule of either the previous Grouping for a CSSRule, or of a CSSRule itself.
*/
ruleId?: CSSRuleId;
/**
* Query text if specified by a @media, @supports, or @container rule. Layer name (or not present for anonymous layers) for @layer rules.
*/
@ -868,6 +872,10 @@ export module Protocol {
* URL of the document containing the CSS grouping.
*/
sourceURL?: string;
/**
* @-rule's header text range in the enclosing stylesheet (if available). This is from the first non-whitespace character after the @ declarartion to the last non-whitespace character before an opening curly bracket or semicolon.
*/
range?: SourceRange;
}
/**
* A representation of WebCore::Font. Conceptually this is backed by either a font file on disk or from the network.
@ -1118,6 +1126,19 @@ export module Protocol {
*/
rule: CSSRule;
}
/**
* Modifies an @rule grouping's header text.
*/
export type setGroupingHeaderTextParameters = {
ruleId: CSSRuleId;
headerText: string;
}
export type setGroupingHeaderTextReturnValue = {
/**
* The resulting grouping after the header text modification.
*/
grouping: Grouping;
}
/**
* Creates a new special "inspector" stylesheet in the frame with given <code>frameId</code>.
*/
@ -9062,6 +9083,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"CSS.setStyleSheetText": CSS.setStyleSheetTextParameters;
"CSS.setStyleText": CSS.setStyleTextParameters;
"CSS.setRuleSelector": CSS.setRuleSelectorParameters;
"CSS.setGroupingHeaderText": CSS.setGroupingHeaderTextParameters;
"CSS.createStyleSheet": CSS.createStyleSheetParameters;
"CSS.addRule": CSS.addRuleParameters;
"CSS.getSupportedCSSProperties": CSS.getSupportedCSSPropertiesParameters;
@ -9370,6 +9392,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"CSS.setStyleSheetText": CSS.setStyleSheetTextReturnValue;
"CSS.setStyleText": CSS.setStyleTextReturnValue;
"CSS.setRuleSelector": CSS.setRuleSelectorReturnValue;
"CSS.setGroupingHeaderText": CSS.setGroupingHeaderTextReturnValue;
"CSS.createStyleSheet": CSS.createStyleSheetReturnValue;
"CSS.addRule": CSS.addRuleReturnValue;
"CSS.getSupportedCSSProperties": CSS.getSupportedCSSPropertiesReturnValue;