Changeset 235866 in webkit
- Timestamp:
- Sep 10, 2018 3:16:35 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r235865 r235866 1 2018-09-10 James Savage <james.savage@apple.com> 2 3 Expose -apple-system-container-border color to internal web views. 4 https://bugs.webkit.org/show_bug.cgi?id=189178. 5 6 Reviewed by Timothy Hatcher. 7 8 * fast/css/apple-system-control-colors-expected.txt: 9 * fast/css/apple-system-control-colors.html: 10 * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt: 11 * platform/mac-sierra/fast/css/apple-system-control-colors-expected.txt: 12 * platform/mac/fast/css/apple-system-control-colors-expected.txt: 13 1 14 2018-09-07 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/LayoutTests/fast/css/apple-system-control-colors-expected.txt
r234466 r235866 20 20 -apple-system-grid : rgb(204, 204, 204) 21 21 -apple-system-separator : rgb(204, 204, 204) 22 -apple-system-container-border : rgb(197, 197, 197) 22 23 current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.85098) -
trunk/LayoutTests/fast/css/apple-system-control-colors.html
r232847 r235866 43 43 <div><span class="swatch" style="background-color: -apple-system-grid"></span>-apple-system-grid</div> 44 44 <div><span class="swatch" style="background-color: -apple-system-separator"></span>-apple-system-separator</div> 45 <div><span class="swatch" style="background-color: -apple-system-container-border"></span>-apple-system-container-border</div> 45 46 <div style="color: -apple-system-label"><span class="swatch" style="background-color: currentcolor;"></span>current-color with inherited -apple-system-label</div> -
trunk/LayoutTests/platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt
r234466 r235866 20 20 -apple-system-grid : rgb(204, 204, 204) 21 21 -apple-system-separator : rgb(204, 204, 204) 22 -apple-system-container-border : rgb(197, 197, 197) 22 23 current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.85098) -
trunk/LayoutTests/platform/mac-sierra/fast/css/apple-system-control-colors-expected.txt
r234466 r235866 20 20 -apple-system-grid : rgb(204, 204, 204) 21 21 -apple-system-separator : rgb(204, 204, 204) 22 -apple-system-container-border : rgb(197, 197, 197) 22 23 current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.85098) -
trunk/LayoutTests/platform/mac/fast/css/apple-system-control-colors-expected.txt
r234466 r235866 20 20 -apple-system-grid : rgb(204, 204, 204) 21 21 -apple-system-separator : rgba(0, 0, 0, 0.0980392) 22 -apple-system-container-border : rgba(0, 0, 0, 0.247059) 22 23 current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.847059) -
trunk/Source/WebCore/ChangeLog
r235865 r235866 1 2018-09-10 James Savage <james.savage@apple.com> 2 3 Expose -apple-system-container-border color to internal web views. 4 https://bugs.webkit.org/show_bug.cgi?id=189178. 5 6 Reviewed by Timothy Hatcher. 7 8 Tests: LayoutTests/fast/css/apple-system-colors.html 9 10 * css/CSSValueKeywords.in: Add new semantic color name. 11 * rendering/RenderThemeMac.mm: 12 (WebCore::RenderThemeMac::systemColor const): Use system color on supported 13 systems, and fall back to approximation for older systems. 14 1 15 2018-09-07 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Source/WebCore/PAL/ChangeLog
r235772 r235866 1 2018-09-10 James Savage <james.savage@apple.com> 2 3 Expose -apple-system-container-border color to internal web views. 4 https://bugs.webkit.org/show_bug.cgi?id=189178. 5 6 Reviewed by Timothy Hatcher. 7 8 * pal/spi/cocoa/NSColorSPI.h: Declare SPI. 9 1 10 2018-09-06 Megan Gardner <megan_gardner@apple.com> 2 11 -
trunk/Source/WebCore/PAL/pal/spi/cocoa/NSColorSPI.h
r234898 r235866 49 49 + (NSColor *)findHighlightColor; 50 50 + (NSColor *)placeholderTextColor; 51 + (NSColor *)containerBorderColor; 51 52 @end 52 53 -
trunk/Source/WebCore/css/CSSValueKeywords.in
r235754 r235866 245 245 -apple-system-grid 246 246 -apple-system-separator 247 -apple-system-container-border 247 248 #endif 248 249 -apple-wireless-playback-target-active -
trunk/Source/WebCore/rendering/RenderThemeMac.mm
r235380 r235866 769 769 return nullptr; 770 770 #endif 771 case CSSValueAppleSystemContainerBorder: 772 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 773 return @selector(containerBorderColor); 774 #else 775 // Handled below. 776 return nullptr; 777 #endif 771 778 case CSSValueAppleSystemLabel: 772 779 return @selector(labelColor); … … 861 868 case CSSValueAppleSystemFindHighlightBackground: 862 869 return platformActiveTextSearchHighlightColor(options); 870 871 case CSSValueAppleSystemContainerBorder: 872 return 0xFFC5C5C5; 863 873 #endif 864 874
Note: See TracChangeset
for help on using the changeset viewer.