Changeset 212558 in webkit
- Timestamp:
- Feb 17, 2017 11:11:44 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r212553 r212558 1 2017-02-17 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (209396): Apple Pay buttons do not render 4 https://bugs.webkit.org/show_bug.cgi?id=168523 5 rdar://problem/30451563 6 7 Reviewed by Geoffrey Garen. 8 9 Ref test that masks out the middle and corners of the buttons. 10 11 * fast/css/appearance-apple-pay-button-expected.html: Added. 12 * fast/css/appearance-apple-pay-button.html: Added. 13 1 14 2017-02-17 Ryan Haddad <ryanhaddad@apple.com> 2 15 -
trunk/LayoutTests/TestExpectations
r212509 r212558 765 765 fast/table/hittest-tablecell-with-borders-right-edge.html [ Pass Failure ] 766 766 fast/table/hittest-tablecell-right-edge.html [ Pass Failure ] 767 fast/css/appearance-apple-pay-button.html [ Failure ] 767 768 768 769 webkit.org/b/150598 fast/repaint/table-hover-on-link.html [ Pass Failure ] -
trunk/LayoutTests/platform/mac/TestExpectations
r212515 r212558 1340 1340 webkit.org/b/158889 media/video-controls-show-on-kb-or-ax-event.html [ Pass Failure ] 1341 1341 1342 [ Sierra+ ] fast/css/appearance-apple-pay-button.html [ Pass ] 1343 1342 1344 # <rdar://problem/23500327> storage/websql/alter-to-info-table.html 1343 1345 [ Sierra+ ] storage/websql/alter-to-info-table.html [ Pass Failure ] -
trunk/Source/WebCore/ChangeLog
r212556 r212558 1 2017-02-17 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (209396): Apple Pay buttons do not render 4 https://bugs.webkit.org/show_bug.cgi?id=168523 5 rdar://problem/30451563 6 7 Reviewed by Geoffrey Garen. 8 9 The new CSS parser mistakenly converted -apple-pay-button values to 10 -webkit-pay-button, breaking -webkit-appearance: -apple-pay-button. 11 12 Fix by excluding "-apple-pay" prefixed values from the conversion. 13 14 Test: fast/css/appearance-apple-pay-button.html 15 16 * css/parser/CSSPropertyParser.cpp: 17 (WebCore::isAppleLegacyCssValueKeyword): 18 1 19 2017-02-17 Commit Queue <commit-queue@webkit.org> 2 20 -
trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp
r212131 r212558 156 156 static const char applePrefix[] = "-apple-"; 157 157 static const char appleSystemPrefix[] = "-apple-system"; 158 static const char applePayPrefix[] = "-apple-pay"; 158 159 static const char* appleWirelessPlaybackTargetActive = getValueName(CSSValueAppleWirelessPlaybackTargetActive); 159 160 160 161 return hasPrefix(valueKeyword, length, applePrefix) 161 162 && !hasPrefix(valueKeyword, length, appleSystemPrefix) 163 && !hasPrefix(valueKeyword, length, applePayPrefix) 162 164 && !WTF::equal(reinterpret_cast<const LChar*>(valueKeyword), reinterpret_cast<const LChar*>(appleWirelessPlaybackTargetActive), length); 163 165 }
Note: See TracChangeset
for help on using the changeset viewer.