Changeset 268849 in webkit
- Timestamp:
- Oct 21, 2020, 5:46:20 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
-
ChangeLog (modified) (1 diff)
-
DerivedSources.make (modified) (3 diffs)
-
css/fullscreen.css (modified) (2 diffs)
-
css/mathml.css (modified) (2 diffs)
-
css/mediaControls.css (modified) (2 diffs)
-
html/shadow/mac/imageControlsMac.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r268847 r268849 1 2020-10-21 Sam Weinig <weinig@apple.com> 2 3 Remove use of in-makefile grepping of FEATURE_AND_PLATFORM_DEFINES 4 https://bugs.webkit.org/show_bug.cgi?id=218001 5 6 Reviewed by Darin Adler. 7 8 Remove use of the $(findstring NEEDLE,$(FEATURE_AND_PLATFORM_DEFINES)) idiom in 9 DerivedSources.make to pave the way to passing FEATURE_AND_PLATFORM_DEFINES as a 10 file to scripts, rather than always on the command line, which is quite noisy. 11 12 * DerivedSources.make: 13 Remove conditionalized additions to ADDITIONAL_BINDING_IDLS and just always add 14 the concrete set, relying on the existing extended attributes in the IDLs instead. 15 It's also not necessary to ever add the touch related IDL files in WebCore here 16 as no users of DerivedSources.make use those. 17 18 Also removes conditional additions to USER_AGENT_STYLE_SHEETS and instead adds 19 the appropriate #ifdefs to the css files themselves which are already getting 20 preprocessed appropriately. 21 22 * css/fullscreen.css: 23 * css/mathml.css: 24 * css/mediaControls.css: 25 * html/shadow/mac/imageControlsMac.css: 26 Put required #ifdefs into the css files themselves, rather than embedding the 27 logic in the makefile. 28 1 29 2020-10-21 Megan Gardner <megan_gardner@apple.com> 2 30 -
trunk/Source/WebCore/DerivedSources.make
r268774 r268849 1282 1282 # -------- 1283 1283 1284 ADDITIONAL_BINDING_IDLS = 1285 1286 ifeq ($(findstring ENABLE_IOS_GESTURE_EVENTS,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_IOS_GESTURE_EVENTS) 1287 ADDITIONAL_BINDING_IDLS += GestureEvent.idl 1288 endif 1289 1290 ifeq ($(findstring ENABLE_IOS_TOUCH_EVENTS,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_IOS_TOUCH_EVENTS) 1291 ADDITIONAL_BINDING_IDLS += \ 1284 ADDITIONAL_BINDING_IDLS = \ 1292 1285 DocumentTouch.idl \ 1286 GestureEvent.idl \ 1293 1287 Touch.idl \ 1294 1288 TouchEvent.idl \ 1295 TouchList.idl 1296 endif 1297 1298 ifeq ($(findstring ENABLE_MAC_GESTURE_EVENTS,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_MAC_GESTURE_EVENTS) 1299 ADDITIONAL_BINDING_IDLS += GestureEvent.idl 1300 endif 1289 TouchList.idl \ 1290 # 1301 1291 1302 1292 vpath %.in $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) … … 1335 1325 $(ADDITIONAL_BINDING_IDLS_PATHS), \ 1336 1326 $(path)/usr/local/include/WebKitAdditions/$(idl))))) 1337 1338 ifneq ($(findstring ENABLE_IOS_TOUCH_EVENTS,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_IOS_TOUCH_EVENTS)1339 JS_BINDING_IDLS += \1340 $(WebCore)/dom/Document+Touch.idl \1341 $(WebCore)/dom/Touch.idl \1342 $(WebCore)/dom/TouchEvent.idl \1343 $(WebCore)/dom/TouchList.idl1344 endif1345 1327 1346 1328 .PHONY : all … … 1511 1493 # user agent style sheets 1512 1494 1513 USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/dialog.css $(WebCore)/css/quirks.css $(WebCore)/css/plugIns.css $(WebCore)/css/svg.css 1514 1515 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_MATHML) 1516 USER_AGENT_STYLE_SHEETS += $(WebCore)/css/mathml.css 1517 endif 1518 1519 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_VIDEO) 1520 USER_AGENT_STYLE_SHEETS += $(WebCore)/css/mediaControls.css 1521 endif 1522 1523 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_FULLSCREEN_API) 1524 USER_AGENT_STYLE_SHEETS += $(WebCore)/css/fullscreen.css 1525 endif 1526 1527 ifeq ($(findstring ENABLE_SERVICE_CONTROLS,$(FEATURE_AND_PLATFORM_DEFINES)), ENABLE_SERVICE_CONTROLS) 1528 USER_AGENT_STYLE_SHEETS += $(WebCore)/html/shadow/mac/imageControlsMac.css 1529 endif 1530 1531 USER_AGENT_STYLE_SHEETS += $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css 1532 1533 USER_AGENT_STYLE_SHEETS += $(WebCore)/html/shadow/meterElementShadow.css 1495 USER_AGENT_STYLE_SHEETS = \ 1496 $(WebCore)/css/dialog.css \ 1497 $(WebCore)/css/fullscreen.css \ 1498 $(WebCore)/css/html.css \ 1499 $(WebCore)/css/mathml.css \ 1500 $(WebCore)/css/mediaControls.css \ 1501 $(WebCore)/css/plugIns.css \ 1502 $(WebCore)/css/quirks.css \ 1503 $(WebCore)/css/svg.css \ 1504 $(WebCore)/html/shadow/mac/imageControlsMac.css \ 1505 $(WebCore)/html/shadow/meterElementShadow.css \ 1506 $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css \ 1507 # 1534 1508 1535 1509 UserAgentStyleSheets.h : $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS) $(FEATURE_AND_PLATFORM_DEFINE_DEPENDENCIES) -
trunk/Source/WebCore/css/fullscreen.css
r254574 r268849 1 /* 2 * Copyright (C) 2020 Apple Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API 26 1 27 :-webkit-full-screen { 2 28 background-color: white; … … 59 85 max-height: none !important; 60 86 } 87 88 #endif -
trunk/Source/WebCore/css/mathml.css
r267578 r268849 1 /* 2 * Copyright (C) 2020 Apple Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25 #if defined(ENABLE_MATHML) && ENABLE_MATHML 26 1 27 @namespace "http://www.w3.org/1998/Math/MathML"; 2 28 … … 241 267 border-left: dashed thin; 242 268 } 269 270 #endif -
trunk/Source/WebCore/css/mediaControls.css
r260261 r268849 23 23 */ 24 24 25 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO 26 25 27 /* media controls */ 26 28 … … 288 290 font-style: italic; 289 291 } 292 293 #endif -
trunk/Source/WebCore/html/shadow/mac/imageControlsMac.css
r168728 r268849 1 1 /* 2 * Copyright (C) 2014 Apple Inc. All rights reserved.2 * Copyright (C) 2014-2020 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 24 24 */ 25 25 26 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS 27 26 28 .x-webkit-image-controls { 27 29 position: relative; … … 40 42 opacity: 1.0; 41 43 } 44 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.