-
- Downloads
Bug 1812868 - Expose scrollbar-inline-size as a CSS variable to chrome code. r=mstange
For that we need to: * Make GetDPIRatioForScrollbarPart thread-safe: This was using the widget for bug 1727289, but just looking at the print preview scale is enough to fix that. * Make nsPresContext::UseOverlayScrollbars() thread-safe: We store the RDM pane stuff in the pres context. The rest is pretty straight-forward. Differential Revision: https://phabricator.services.mozilla.com/D168148
Showing
- docshell/base/BrowsingContext.cpp 1 addition, 15 deletionsdocshell/base/BrowsingContext.cpp
- layout/base/nsPresContext.cpp 26 additions, 10 deletionslayout/base/nsPresContext.cpp
- layout/base/nsPresContext.h 12 additions, 12 deletionslayout/base/nsPresContext.h
- layout/generic/nsPageSequenceFrame.cpp 1 addition, 1 deletionlayout/generic/nsPageSequenceFrame.cpp
- layout/style/GeckoBindings.cpp 10 additions, 0 deletionslayout/style/GeckoBindings.cpp
- layout/style/GeckoBindings.h 2 additions, 0 deletionslayout/style/GeckoBindings.h
- layout/style/test/chrome/chrome.ini 1 addition, 0 deletionslayout/style/test/chrome/chrome.ini
- layout/style/test/chrome/test_scrollbar_inline_size.html 35 additions, 0 deletionslayout/style/test/chrome/test_scrollbar_inline_size.html
- layout/style/test/test_non_content_accessible_env_vars.html 1 addition, 0 deletionslayout/style/test/test_non_content_accessible_env_vars.html
- servo/components/style/custom_properties.rs 9 additions, 1 deletionservo/components/style/custom_properties.rs
- servo/components/style/gecko/media_queries.rs 16 additions, 1 deletionservo/components/style/gecko/media_queries.rs
- widget/ScrollbarDrawing.cpp 6 additions, 10 deletionswidget/ScrollbarDrawing.cpp
- xpcom/ds/StaticAtoms.py 1 addition, 0 deletionsxpcom/ds/StaticAtoms.py
Loading
Please register or sign in to comment