Commit Graph
7 Commits
Author SHA1 Message Date
Mathias Bynens 2d58ce2ade Ensure the SplitWidget is not a scrollable container
Previously, the SplitWidget was a scrollable container, which started
to cause issues in combination with our use of `scrollIntoView()` now
that https://crbug.com/34224 has been fixed.

Simply *not* forcing the SplitWidget to be a scrollable container
prevents the UI issues.

Bug: chromium:1066415
Fixed: chromium:1121930
Change-Id: I53488b82517438e72101ac99558534122db4f8ff
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2381410
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
2020-08-31 13:48:14 +00:00
Jecelyn Yeen 04d6e3d4a4 Fix stylelint-config-standard issues in ui/splitWidget.css
Bug:1083142
Change-Id: Ie23f47f0fbb66fc9b26a3dcdf1ae87aa1352fa8d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2279522
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Jecelyn Yeen‎ <jec@chromium.org>
Commit-Queue: Jecelyn Yeen‎ <jec@chromium.org>
2020-07-03 05:27:05 +00:00
Mathias Bynens b0c1f4bce2 Fix stylelint-config-standard violations
Bug: chromium:1083142
Change-Id: I5ea4cc5d0f83e52856383ba37a47472e33eb19a2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2204113
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2020-05-15 17:05:27 +00:00
Joel Einbinder e1c93d9cb6 DevTools: Remove 20kb of unused CSS
These css rules used classes that don't exist anywhere in the
javascript. A script was written to find them, but manually checking
is still needed because some scripts generate class names by
string concatenation like 'icon-' + iconType

Change-Id: I15c4f26451b9fa371b366a8977021e2af7eca449
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618043
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Alexei Filippov <alph@chromium.org>
Reviewed-by: Erik Luo <luoe@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661630}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6f259d6e2834c9b0e2cbb0fdd7c9703e1fc6968
2019-05-21 06:16:13 +00:00
Erik Luo 34400cafe6 DevTools: easier text selection in SSP via drag
Selecting text is important to copy/paste styles from Elements panel.
This CL improves a common case that often results in poor selection.

In the future, 'user-select: contain' may address this.

Screenshot: https://imgur.com/a/hMlsY5C

Bug: 929536
Change-Id: I23f7b1a53ad501b491017887feaab63ead2c3705
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1412354
Commit-Queue: Erik Luo <luoe@chromium.org>
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#642088}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65fbd9f55d3ecfa38d8c55d4e14746c15ca58c44
2019-03-19 18:31:16 +00:00
Joel Einbinder 27131b2e5c DevTools: Order split widget children correctly in the DOM
Previously, the sidebar and main widgets were arranged via css. This
caused the tab order to be wrong for keyboard navigation.

This patch puts the dom elements in the correct order, which lets us
remove the CSS hacks and fixes the tab order.

If the main widget and the sidebar widget both contain extension
iframes, we can't swap the widgets without destroying the extensions.
This is quite an exotic scenario though, and currently never happens
in DevTools.

Bug: 941182
Change-Id: I3a93d7f3e6fb52f5f7c1b1a8511f713d31ae07ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1521798
Reviewed-by: Erik Luo <luoe@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#640657}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8cd1b24aabce4a31a644db856351f3f9ef29dd92
2019-03-14 09:29:54 +00:00
Blink Reformat 4c46d0969f The Great Blink mv for source files, part 2.
Move and rename files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
Bug: 768828
TBR=darin@chromium.org
NOTRY=true

Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28
Reviewed-on: https://chromium-review.googlesource.com/1001153
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
2018-04-07 15:32:37 +00:00