From 7dc121ed4e2c7c5cc3af589fa72e60ec1ca82a7f Mon Sep 17 00:00:00 2001 From: Johan Bay Date: Tue, 8 Mar 2022 08:48:25 +0000 Subject: [PATCH] Update DevTools Chromium DEPS with container query syntax changes Bug: none Change-Id: Ibec567882c5ecbe2b3a4c7db5e10df99a5c413d5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3506573 Reviewed-by: Mathias Bynens Commit-Queue: Johan Bay --- DEPS | 6 +++--- test/e2e/elements/style-pane-properties_test.ts | 4 ++-- test/e2e/resources/elements/css-container-queries.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DEPS b/DEPS index a0a352978f..e29de614e2 100644 --- a/DEPS +++ b/DEPS @@ -35,11 +35,11 @@ vars = { # Chromium build number for unit tests. It should be regularly updated to # the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE - 'chromium_linux': '978153', + 'chromium_linux': '978613', # the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win_x64/LAST_CHANGE - 'chromium_win': '978146', + 'chromium_win': '978603', # the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/LAST_CHANGE - 'chromium_mac': '978151', + 'chromium_mac': '978609', } # Only these hosts are allowed for dependencies in this DEPS file. diff --git a/test/e2e/elements/style-pane-properties_test.ts b/test/e2e/elements/style-pane-properties_test.ts index 0e626fd653..2ee27de31f 100644 --- a/test/e2e/elements/style-pane-properties_test.ts +++ b/test/e2e/elements/style-pane-properties_test.ts @@ -318,8 +318,8 @@ describe('The Styles pane', async () => { 'incorrectly displayed style after initialization'); } - await editQueryRuleText(rule1PropertiesSection, 'size(min-width: 300px)'); - await editQueryRuleText(rule2PropertiesSection, 'size(max-width: 300px)'); + await editQueryRuleText(rule1PropertiesSection, '(min-width: 300px)'); + await editQueryRuleText(rule2PropertiesSection, '(max-width: 300px)'); // Verify that computed styles correspond to the changes made. const computedStyles = [ diff --git a/test/e2e/resources/elements/css-container-queries.html b/test/e2e/resources/elements/css-container-queries.html index 4e2519de39..7ccaa58bd1 100644 --- a/test/e2e/resources/elements/css-container-queries.html +++ b/test/e2e/resources/elements/css-container-queries.html @@ -10,7 +10,7 @@ height: 0px; } - @container size(min-width: 100px) { + @container (min-width: 100px) { .rule1 { width: 10px; } @@ -18,7 +18,7 @@