Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm
authorRichard Marti <richard.marti@gmail.com>
Mon, 17 Feb 2014 18:43:08 +0100
changeset 169646 6b29406a1ed92eeb9f7eb09b73d10a3f33352285
parent 169645 183380b99514e28a2b173423286829ac1ded0432
child 169647 3576a62195ecdef9a289aa0704a2e326b32bb204
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjimm
bugs907373
milestone30.0a1
Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm
widget/windows/nsLookAndFeel.cpp
--- a/widget/windows/nsLookAndFeel.cpp
+++ b/widget/windows/nsLookAndFeel.cpp
@@ -424,16 +424,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;
     }