mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
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 <mathias@chromium.org> Commit-Queue: Johan Bay <jobay@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
d8039f6ab7
commit
7dc121ed4e
@@ -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.
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
@container size(min-width: 100px) {
|
||||
@container (min-width: 100px) {
|
||||
.rule1 {
|
||||
width: 10px;
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
</style>
|
||||
<script>
|
||||
const sheet = new CSSStyleSheet();
|
||||
sheet.insertRule('@container size(min-width: 50px) { .rule2 { height: 10px; } }', 0);
|
||||
sheet.insertRule('@container (min-width: 50px) { .rule2 { height: 10px; } }', 0);
|
||||
document.adoptedStyleSheets = [sheet];
|
||||
</script>
|
||||
<div class="rule1 rule2"></div>
|
||||
|
||||
Reference in New Issue
Block a user