@page { margin: 5.0mm; }
Created attachment 366889 [details] Patch
Created attachment 366893 [details] Patch
<rdar://problem/45217707>
Created attachment 367238 [details] Patch
Comment on attachment 367238 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=367238&action=review > Source/WebKit/Shared/PrintInfo.h:60 > + // These values are in 'point' unit (and not css pixel). CSS > Source/WebKit/Shared/WebPreferences.yaml:1639 > + webcoreBinding: RuntimeEnabledFeatures Why is this not just a Setting! > Source/WebKit/UIProcess/API/C/WKPreferences.cpp:2131 > + > +void WKPreferencesSetPageAtRuleSupportEnabled(WKPreferencesRef preferencesRef, bool flag) > +{ > + toImpl(preferencesRef)->setPageAtRuleSupportEnabled(flag); > +} > + > +bool WKPreferencesGetPageAtRuleSupportEnabled(WKPreferencesRef preferencesRef) > +{ > + return toImpl(preferencesRef)->pageAtRuleSupportEnabled(); > +} No need for new C API > Source/WebKit/UIProcess/mac/WKPrintingView.mm:329 > + [printInfo setBottomMargin: computedPageMargin.bottom()]; No spaces after colons! > Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:271 > +#define WebKitPageAtRuleSupportEnabledPreferenceKey @"WebKitPageAtRuleSupportEnabled" No need for WebKitLegacy API
Created attachment 367242 [details] Patch
Created attachment 367245 [details] Patch
Comment on attachment 367245 [details] Patch Clearing flags on attachment: 367245 Committed r244202: <https://trac.webkit.org/changeset/244202>
All reviewed patches have been landed. Closing bug.
This change broke Windows builds: c:\cygwin\home\buildbot\worker\win10-release\build\source\webcore\platform\rectedges.h(39): error C2665: 'std::forward': none of the 2 overloads could convert all the argument types https://build.webkit.org/builders/Apple%20Win%2010%20Release%20%28Build%29/builds/3604
(In reply to Ryan Haddad from comment #10) > This change broke Windows builds: > > c:\cygwin\home\buildbot\worker\win10- > release\build\source\webcore\platform\rectedges.h(39): error C2665: > 'std::forward': none of the 2 overloads could convert all the argument types > > https://build.webkit.org/builders/Apple%20Win%2010%20Release%20%28Build%29/ > builds/3604 Fixing it.
Let's see if https://trac.webkit.org/changeset/244208 fixes it.