diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index ba51a559fb8f..210f7a334c8e 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -34,6 +34,9 @@ pref("browser.tabs.remote.autostart.1", false); // Bug 945235: Prevent all bars to be considered visible: pref("toolkit.defaultChromeFeatures", "chrome,dialog=no,close,resizable,scrollbars,extrachrome"); +// Disable focus rings +pref("browser.display.focus_ring_width", 0); + // Device pixel to CSS px ratio, in percent. Set to -1 to calculate based on display density. pref("browser.viewport.scaleRatio", -1); diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index 68504c8f018d..573f671dd3b0 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1356,8 +1356,8 @@ skip-if(B2G&&browserIsRemote) == 486848-1.xul 486848-1-ref.xul # bug 974780 == 490177-1.svg 490177-1-ref.svg == 490182-1a.html 490182-1-ref.html == 490182-1b.html 490182-1-ref.html -== 491180-1.html 491180-1-ref.html -== 491180-2.html 491180-2-ref.html +pref(browser.display.focus_ring_width,1) == 491180-1.html 491180-1-ref.html +pref(browser.display.focus_ring_width,1) == 491180-2.html 491180-2-ref.html skip-if(B2G&&browserIsRemote) == 491323-1.xul 491323-1-ref.xul # bug 974780 skip-if(B2G&&browserIsRemote) == 492239-1.xul 492239-1-ref.xul # bug 974780 == 492661-1.html 492661-1-ref.html diff --git a/layout/reftests/forms/button/reftest.list b/layout/reftests/forms/button/reftest.list index 2dd417fc244a..b57f1c0685bf 100644 --- a/layout/reftests/forms/button/reftest.list +++ b/layout/reftests/forms/button/reftest.list @@ -7,9 +7,9 @@ # on B2G, despite their "-moz-appearance: none; background: gray", so they # don't quite match the reference case's normal
. That's why they're fuzzy. fuzzy-if(B2G||Android,125,20) == percent-height-child-1.html percent-height-child-1-ref.html -fuzzy-if(B2G||Android,125,80) == percent-height-child-2.html percent-height-child-2-ref.html +pref(browser.display.focus_ring_width,1) fuzzy-if(B2G||Android,125,80) == percent-height-child-2.html percent-height-child-2-ref.html fuzzy-if(B2G||Android,125,20) == percent-width-child-1.html percent-width-child-1-ref.html -fuzzy-if(B2G||Android,125,80) == percent-width-child-2.html percent-width-child-2-ref.html +pref(browser.display.focus_ring_width,1) fuzzy-if(B2G||Android,125,80) == percent-width-child-2.html percent-width-child-2-ref.html == vertical-centering.html vertical-centering-ref.html