diff --git a/browser/themes/linux/pageInfo.css b/browser/themes/linux/pageInfo.css index 47f5fe544e0c..ec2d6ab3e710 100644 --- a/browser/themes/linux/pageInfo.css +++ b/browser/themes/linux/pageInfo.css @@ -21,6 +21,10 @@ color: HighlightText; } +#viewGroup > radio > .radio-label-box { + padding: 0 6px; +} + #topBar { border-bottom: 1px solid ThreeDShadow; padding-inline-start: 10px; diff --git a/browser/themes/osx/pageInfo.css b/browser/themes/osx/pageInfo.css index 6c9f1121620a..87339a8bda9f 100644 --- a/browser/themes/osx/pageInfo.css +++ b/browser/themes/osx/pageInfo.css @@ -27,7 +27,7 @@ font: menu; text-shadow: @loweredShadow@; margin: 0; - padding: 0 1px; + padding: 0 6px; height: 22px; } diff --git a/browser/themes/osx/syncedtabs/sidebar.css b/browser/themes/osx/syncedtabs/sidebar.css index e56955563ce2..c92deb3f4089 100644 --- a/browser/themes/osx/syncedtabs/sidebar.css +++ b/browser/themes/osx/syncedtabs/sidebar.css @@ -100,6 +100,10 @@ } } +.sidebar-search-container { + padding: 4px; +} + .search-box { -moz-appearance: searchfield; padding: 1px; @@ -111,7 +115,7 @@ text-shadow: none; } -.search-box.compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { +.search-box > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { background-image: url(chrome://global/skin/icons/searchfield-cancel.svg); background-repeat: no-repeat; background-size: 11px 11px; @@ -119,12 +123,6 @@ height: 11px; } -.search-box.compact { - padding: 0px; - /* font size is in px because the XUL it was copied from uses px */ - font-size: 11px; -} - .textbox-search-clear { margin-top: 1px; } diff --git a/browser/themes/windows/pageInfo.css b/browser/themes/windows/pageInfo.css index b0819437509f..a2948cec8c5c 100644 --- a/browser/themes/windows/pageInfo.css +++ b/browser/themes/windows/pageInfo.css @@ -12,9 +12,9 @@ #viewGroup > radio { list-style-image: url("chrome://browser/skin/pageInfo.png"); -moz-appearance: none; - padding: 5px 3px 1px 3px; - margin: 0 1px; min-width: 4.5em; + margin: 0; + padding: 3px; } #viewGroup > radio:hover { @@ -27,6 +27,11 @@ color: black; } +#viewGroup > radio > .radio-label-box { + margin: 0; + padding: 0 6px; +} + #topBar { border-bottom: 1px solid ThreeDLightShadow; padding-inline-start: 10px; diff --git a/build/pgo/server-locations.txt b/build/pgo/server-locations.txt index 44d5a043e924..75a92471125e 100644 --- a/build/pgo/server-locations.txt +++ b/build/pgo/server-locations.txt @@ -289,9 +289,5 @@ https://tls1.example.com:443 privileged,tls1 # Hosts for youtube rewrite tests https://mochitest.youtube.com:443 -# Hosts for stylo blocklist tests -http://stylo-blocklist.com:80 privileged -http://test.stylo-blocklist.com:80 privileged - # Host for U2F localhost tests https://localhost:443 diff --git a/devtools/client/themes/boxmodel.css b/devtools/client/themes/boxmodel.css index 41bd3b6b64a7..aae4d5d3bea7 100644 --- a/devtools/client/themes/boxmodel.css +++ b/devtools/client/themes/boxmodel.css @@ -303,6 +303,7 @@ .boxmodel-editable { border: 1px dashed transparent; -moz-user-select: none; + white-space: nowrap; } .boxmodel-editable:hover { diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp index fce2b3fe8d84..93040c4926c0 100644 --- a/dom/base/nsDOMWindowUtils.cpp +++ b/dom/base/nsDOMWindowUtils.cpp @@ -4445,24 +4445,6 @@ nsDOMWindowUtils::GetIsStyledByServo(bool* aStyledByServo) return NS_OK; } -NS_IMETHODIMP -nsDOMWindowUtils::AddToStyloBlocklist(const nsACString& aBlockedDomain) -{ -#ifdef MOZ_STYLO - nsLayoutUtils::AddToStyloBlocklist(aBlockedDomain); -#endif - return NS_OK; -} - -NS_IMETHODIMP -nsDOMWindowUtils::RemoveFromStyloBlocklist(const nsACString& aBlockedDomain) -{ -#ifdef MOZ_STYLO - nsLayoutUtils::RemoveFromStyloBlocklist(aBlockedDomain); -#endif - return NS_OK; -} - NS_INTERFACE_MAP_BEGIN(nsTranslationNodeList) NS_INTERFACE_MAP_ENTRY(nsISupports) NS_INTERFACE_MAP_ENTRY(nsITranslationNodeList) diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index 530e3f4806a6..b990b73dde83 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -13238,7 +13238,7 @@ nsIDocument::UpdateStyleBackendType() #ifdef MOZ_STYLO if (nsLayoutUtils::StyloEnabled() && - nsLayoutUtils::ShouldUseStylo(mDocumentURI, NodePrincipal())) { + nsLayoutUtils::ShouldUseStylo(NodePrincipal())) { mStyleBackendType = StyleBackendType::Servo; } #endif @@ -13902,30 +13902,11 @@ nsDocument::IsThirdParty() return mIsThirdParty.value(); } -static bool -IsAboutReader(nsIURI* aURI) -{ - if (!aURI) { - return false; - } - - nsCString spec; - aURI->GetSpec(spec); - - // Reader mode URLs look like about:reader?[...]. - return StringBeginsWith(spec, NS_LITERAL_CSTRING("about:reader")); -} - bool nsIDocument::IsScopedStyleEnabled() { if (mIsScopedStyleEnabled == eScopedStyle_Unknown) { - // We allow