Files
react-native-devtools-frontend/front_end/coverage/coverageView.css
T
Christian Biesinger 2d1b2e9c64 Reland "[css-flex] Update to newer spec about definite flex item sizes"
This reverts commit 82ef33772f758883cda6379610b24f27e7ff3bbe.

Implements this change:
https://github.com/w3c/csswg-drafts/commit/5b5db39d21f3658ae2f4d7992daaf822aca178d8

external/wpt/css/css-flexbox/percentage-heights-003.html ostensibly tests
this, but I don't think the test is correct (and we don't pass it)

To fix the regression from the original change, I updated the devtools code
to specify a flex-basis of auto. It previously defaulted to 0%, which
used to be resolved to auto, but with this change resolves to 0px,
which is not what the code wants.

TESTED=css3/flexbox/definite-main-size.html

Bug: 784059,900459
Change-Id: I773877f34b281dd6bfe4ac02b9aad90451c3acf9
Reviewed-on: https://chromium-review.googlesource.com/c/1247184
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#605553}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d519ce9b1818139c082ff339c7c5d3af18b1baa7
2018-11-06 01:18:25 +00:00

53 lines
941 B
CSS

/*
* Copyright (c) 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
overflow: hidden;
}
.coverage-toolbar-container {
display: flex;
border-bottom: 1px solid #ccc;
flex: 0 0 auto;
}
.coverage-toolbar {
display: inline-block;
}
.coverage-toolbar-summary {
background-color: #eee;
border-top: 1px solid #ccc;
padding-left: 5px;
flex: 0 0 19px;
display: flex;
padding-right: 5px;
}
.coverage-toolbar-summary .coverage-message {
padding-top: 2px;
padding-left: 1ex;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.coverage-results {
overflow-y: auto;
display: flex;
flex: auto;
}
.landing-page {
justify-content: center;
align-items: center;
padding: 20px;
}
.landing-page .message {
white-space: pre-line;
}