Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm, a=lsblakk
authorRichard Marti <richard.marti@gmail.com>
Mon, 17 Feb 2014 18:43:08 +0100
changeset 258645 b14554c010ad
parent 258644 6b14de55b252
child 258646 67b273f17641
push id4700
push userryanvm@gmail.com
push date2015-04-21 23:53 +0000
Treeherderresults
reviewersjimm, lsblakk
bugs907373
milestone29.0
Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm, a=lsblakk
widget/windows/nsLookAndFeel.cpp
--- a/widget/windows/nsLookAndFeel.cpp
+++ b/widget/windows/nsLookAndFeel.cpp
@@ -420,16 +420,17 @@ nsLookAndFeel::GetIntImpl(IntID aID, int
                 break;
             case VISTA_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_WindowsVista;
                 break;
             case WIN7_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_Windows7;
                 break;
             case WIN8_VERSION:
+            case WIN8_1_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_Windows8;
                 break;
             default:
                 aResult = LookAndFeel::eOperatingSystemVersion_Unknown;
                 break;
         }
         break;
     }