summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css')
-rw-r--r--testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css b/testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css
new file mode 100644
index 0000000000..994ced11dd
--- /dev/null
+++ b/testing/talos/talos/tests/tart/addon/content/tab-min-width-1px.css
@@ -0,0 +1,11 @@
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/*
+Overlay this style rule at tart/chrome.manifest (but it seems to regress tab perf):
+style chrome://browser/content/browser.xhtml chrome://tart/content/tab-min-width-1px.css
+*/
+
+/* Prevent overflow while adding many tabs */
+.tabbrowser-tab[fadein]:not([pinned]) {
+ min-width: 1px !important;
+}