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", "name": "webkit",
"revision": "1736", "revision": "1744",
"installByDefault": true, "installByDefault": true,
"revisionOverrides": { "revisionOverrides": {
"mac10.14": "1446", "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. * 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"; 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. * 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. * URL of the document containing the CSS grouping.
*/ */
sourceURL?: string; 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. * 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; 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>. * 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.setStyleSheetText": CSS.setStyleSheetTextParameters;
"CSS.setStyleText": CSS.setStyleTextParameters; "CSS.setStyleText": CSS.setStyleTextParameters;
"CSS.setRuleSelector": CSS.setRuleSelectorParameters; "CSS.setRuleSelector": CSS.setRuleSelectorParameters;
"CSS.setGroupingHeaderText": CSS.setGroupingHeaderTextParameters;
"CSS.createStyleSheet": CSS.createStyleSheetParameters; "CSS.createStyleSheet": CSS.createStyleSheetParameters;
"CSS.addRule": CSS.addRuleParameters; "CSS.addRule": CSS.addRuleParameters;
"CSS.getSupportedCSSProperties": CSS.getSupportedCSSPropertiesParameters; "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.setStyleSheetText": CSS.setStyleSheetTextReturnValue;
"CSS.setStyleText": CSS.setStyleTextReturnValue; "CSS.setStyleText": CSS.setStyleTextReturnValue;
"CSS.setRuleSelector": CSS.setRuleSelectorReturnValue; "CSS.setRuleSelector": CSS.setRuleSelectorReturnValue;
"CSS.setGroupingHeaderText": CSS.setGroupingHeaderTextReturnValue;
"CSS.createStyleSheet": CSS.createStyleSheetReturnValue; "CSS.createStyleSheet": CSS.createStyleSheetReturnValue;
"CSS.addRule": CSS.addRuleReturnValue; "CSS.addRule": CSS.addRuleReturnValue;
"CSS.getSupportedCSSProperties": CSS.getSupportedCSSPropertiesReturnValue; "CSS.getSupportedCSSProperties": CSS.getSupportedCSSPropertiesReturnValue;