Diff
Modified: trunk/LayoutTests/ChangeLog (294169 => 294170)
--- trunk/LayoutTests/ChangeLog 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/ChangeLog 2022-05-13 19:38:21 UTC (rev 294170)
@@ -1,3 +1,22 @@
+2022-05-13 Tim Nguyen <[email protected]>
+
+ [css-ui] Remove caret/progress-bar-value/listitem values from appearance property
+ https://bugs.webkit.org/show_bug.cgi?id=240390
+
+ Reviewed by Aditya Keerthi.
+
+ They're basically unimplemented.
+
+ Remove WPE expectations which were very out-of-date.
+
+ * fast/css/appearance-with-pseudo-elements-expected.html:
+ * fast/css/appearance-with-pseudo-elements-in-quirks-mode-expected.html:
+ * fast/css/appearance-with-pseudo-elements-in-quirks-mode.html:
+ * fast/css/appearance-with-pseudo-elements.html:
+ * platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt:
+ * platform/ios-wk2/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt: Removed.
+
2022-05-13 Anjali Kumar <[email protected]>
Web Inspector: [Meta] Implement Timelines Film Strip
Modified: trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-expected.html (294169 => 294170)
--- trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-expected.html 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-expected.html 2022-05-13 19:38:21 UTC (rev 294170)
@@ -12,7 +12,6 @@
}
#center::after {
content: "cappuccino";
- -webkit-appearance: list-item;
}
</style>
<body>
Modified: trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode-expected.html (294169 => 294170)
--- trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode-expected.html 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode-expected.html 2022-05-13 19:38:21 UTC (rev 294170)
@@ -11,7 +11,6 @@
}
#center:after {
content: "cappuccino";
- -webkit-appearance: list-item;
}
</style>
<body>
Modified: trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode.html (294169 => 294170)
--- trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode.html 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/fast/css/appearance-with-pseudo-elements-in-quirks-mode.html 2022-05-13 19:38:21 UTC (rev 294170)
@@ -11,7 +11,6 @@
}
#center:after {
content: "cappuccino";
- -webkit-appearance: list-item;
}
</style>
<body>
Modified: trunk/LayoutTests/fast/css/appearance-with-pseudo-elements.html (294169 => 294170)
--- trunk/LayoutTests/fast/css/appearance-with-pseudo-elements.html 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/fast/css/appearance-with-pseudo-elements.html 2022-05-13 19:38:21 UTC (rev 294170)
@@ -12,7 +12,6 @@
}
#center::after {
content: "cappuccino";
- -webkit-appearance: list-item;
}
</style>
<body>
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (294169 => 294170)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2022-05-13 19:38:21 UTC (rev 294170)
@@ -1,3 +1,14 @@
+2022-05-13 Tim Nguyen <[email protected]>
+
+ [css-ui] Remove caret/progress-bar-value/listitem values from appearance property
+ https://bugs.webkit.org/show_bug.cgi?id=240390
+
+ Reviewed by Aditya Keerthi.
+
+ They're basically unimplemented.
+
+ * web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt:
+
2022-05-13 Ziran Sun <[email protected]>
input.showPicker() should throw when input is readonly/disabled
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt (294169 => 294170)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:38:21 UTC (rev 294170)
@@ -26,7 +26,7 @@
PASS -webkit-appearance: button-arrow-up (invalid)
PASS -webkit-appearance: button-focus (invalid)
FAIL -webkit-appearance: caps-lock-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caps-lock-indicator"
-FAIL -webkit-appearance: caret (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caret"
+PASS -webkit-appearance: caret (invalid)
PASS -webkit-appearance: checkbox-container (invalid)
PASS -webkit-appearance: checkbox-label (invalid)
PASS -webkit-appearance: checkmenuitem (invalid)
@@ -39,7 +39,7 @@
PASS -webkit-appearance: image-controls-button (invalid)
FAIL -webkit-appearance: inner-spin-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "inner-spin-button"
FAIL -webkit-appearance: list-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "list-button"
-FAIL -webkit-appearance: listitem (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "listitem"
+PASS -webkit-appearance: listitem (invalid)
PASS -webkit-appearance: media-controls-background (invalid)
FAIL -webkit-appearance: media-controls-dark-bar-background (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "media-controls-dark-bar-background"
PASS -webkit-appearance: media-controls-fullscreen-background (invalid)
@@ -78,7 +78,7 @@
PASS -webkit-appearance: meterbar (invalid)
PASS -webkit-appearance: meterchunk (invalid)
PASS -webkit-appearance: number-input (invalid)
-FAIL -webkit-appearance: progress-bar-value (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "progress-bar-value"
+PASS -webkit-appearance: progress-bar-value (invalid)
PASS -webkit-appearance: progressbar (invalid)
PASS -webkit-appearance: progressbar-vertical (invalid)
PASS -webkit-appearance: progresschunk (invalid)
@@ -189,7 +189,7 @@
PASS appearance: button-arrow-up (invalid)
PASS appearance: button-focus (invalid)
FAIL appearance: caps-lock-indicator (invalid) assert_equals: style.appearance expected "" but got "caps-lock-indicator"
-FAIL appearance: caret (invalid) assert_equals: style.appearance expected "" but got "caret"
+PASS appearance: caret (invalid)
PASS appearance: checkbox-container (invalid)
PASS appearance: checkbox-label (invalid)
PASS appearance: checkmenuitem (invalid)
@@ -202,7 +202,7 @@
PASS appearance: image-controls-button (invalid)
FAIL appearance: inner-spin-button (invalid) assert_equals: style.appearance expected "" but got "inner-spin-button"
FAIL appearance: list-button (invalid) assert_equals: style.appearance expected "" but got "list-button"
-FAIL appearance: listitem (invalid) assert_equals: style.appearance expected "" but got "listitem"
+PASS appearance: listitem (invalid)
PASS appearance: media-controls-background (invalid)
FAIL appearance: media-controls-dark-bar-background (invalid) assert_equals: style.appearance expected "" but got "media-controls-dark-bar-background"
PASS appearance: media-controls-fullscreen-background (invalid)
@@ -241,7 +241,7 @@
PASS appearance: meterbar (invalid)
PASS appearance: meterchunk (invalid)
PASS appearance: number-input (invalid)
-FAIL appearance: progress-bar-value (invalid) assert_equals: style.appearance expected "" but got "progress-bar-value"
+PASS appearance: progress-bar-value (invalid)
PASS appearance: progressbar (invalid)
PASS appearance: progressbar-vertical (invalid)
PASS appearance: progresschunk (invalid)
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt (294169 => 294170)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:38:21 UTC (rev 294170)
@@ -26,7 +26,7 @@
PASS -webkit-appearance: button-arrow-up (invalid)
PASS -webkit-appearance: button-focus (invalid)
FAIL -webkit-appearance: caps-lock-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caps-lock-indicator"
-FAIL -webkit-appearance: caret (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caret"
+PASS -webkit-appearance: caret (invalid)
PASS -webkit-appearance: checkbox-container (invalid)
PASS -webkit-appearance: checkbox-label (invalid)
PASS -webkit-appearance: checkmenuitem (invalid)
@@ -39,7 +39,7 @@
PASS -webkit-appearance: image-controls-button (invalid)
FAIL -webkit-appearance: inner-spin-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "inner-spin-button"
FAIL -webkit-appearance: list-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "list-button"
-FAIL -webkit-appearance: listitem (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "listitem"
+PASS -webkit-appearance: listitem (invalid)
PASS -webkit-appearance: media-controls-background (invalid)
FAIL -webkit-appearance: media-controls-dark-bar-background (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "media-controls-dark-bar-background"
PASS -webkit-appearance: media-controls-fullscreen-background (invalid)
@@ -78,7 +78,7 @@
PASS -webkit-appearance: meterbar (invalid)
PASS -webkit-appearance: meterchunk (invalid)
PASS -webkit-appearance: number-input (invalid)
-FAIL -webkit-appearance: progress-bar-value (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "progress-bar-value"
+PASS -webkit-appearance: progress-bar-value (invalid)
PASS -webkit-appearance: progressbar (invalid)
PASS -webkit-appearance: progressbar-vertical (invalid)
PASS -webkit-appearance: progresschunk (invalid)
@@ -189,7 +189,7 @@
PASS appearance: button-arrow-up (invalid)
PASS appearance: button-focus (invalid)
FAIL appearance: caps-lock-indicator (invalid) assert_equals: style.appearance expected "" but got "caps-lock-indicator"
-FAIL appearance: caret (invalid) assert_equals: style.appearance expected "" but got "caret"
+PASS appearance: caret (invalid)
PASS appearance: checkbox-container (invalid)
PASS appearance: checkbox-label (invalid)
PASS appearance: checkmenuitem (invalid)
@@ -202,7 +202,7 @@
PASS appearance: image-controls-button (invalid)
FAIL appearance: inner-spin-button (invalid) assert_equals: style.appearance expected "" but got "inner-spin-button"
FAIL appearance: list-button (invalid) assert_equals: style.appearance expected "" but got "list-button"
-FAIL appearance: listitem (invalid) assert_equals: style.appearance expected "" but got "listitem"
+PASS appearance: listitem (invalid)
PASS appearance: media-controls-background (invalid)
FAIL appearance: media-controls-dark-bar-background (invalid) assert_equals: style.appearance expected "" but got "media-controls-dark-bar-background"
PASS appearance: media-controls-fullscreen-background (invalid)
@@ -241,7 +241,7 @@
PASS appearance: meterbar (invalid)
PASS appearance: meterchunk (invalid)
PASS appearance: number-input (invalid)
-FAIL appearance: progress-bar-value (invalid) assert_equals: style.appearance expected "" but got "progress-bar-value"
+PASS appearance: progress-bar-value (invalid)
PASS appearance: progressbar (invalid)
PASS appearance: progressbar-vertical (invalid)
PASS appearance: progresschunk (invalid)
Modified: trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt (294169 => 294170)
--- trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-13 19:38:21 UTC (rev 294170)
@@ -26,7 +26,7 @@
PASS -webkit-appearance: button-arrow-up (invalid)
PASS -webkit-appearance: button-focus (invalid)
FAIL -webkit-appearance: caps-lock-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caps-lock-indicator"
-FAIL -webkit-appearance: caret (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "caret"
+PASS -webkit-appearance: caret (invalid)
PASS -webkit-appearance: checkbox-container (invalid)
PASS -webkit-appearance: checkbox-label (invalid)
PASS -webkit-appearance: checkmenuitem (invalid)
@@ -39,7 +39,7 @@
PASS -webkit-appearance: image-controls-button (invalid)
FAIL -webkit-appearance: inner-spin-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "inner-spin-button"
FAIL -webkit-appearance: list-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "list-button"
-FAIL -webkit-appearance: listitem (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "listitem"
+PASS -webkit-appearance: listitem (invalid)
PASS -webkit-appearance: media-controls-background (invalid)
FAIL -webkit-appearance: media-controls-dark-bar-background (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "media-controls-dark-bar-background"
PASS -webkit-appearance: media-controls-fullscreen-background (invalid)
@@ -78,7 +78,7 @@
PASS -webkit-appearance: meterbar (invalid)
PASS -webkit-appearance: meterchunk (invalid)
PASS -webkit-appearance: number-input (invalid)
-FAIL -webkit-appearance: progress-bar-value (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "progress-bar-value"
+PASS -webkit-appearance: progress-bar-value (invalid)
PASS -webkit-appearance: progressbar (invalid)
PASS -webkit-appearance: progressbar-vertical (invalid)
PASS -webkit-appearance: progresschunk (invalid)
@@ -189,7 +189,7 @@
PASS appearance: button-arrow-up (invalid)
PASS appearance: button-focus (invalid)
FAIL appearance: caps-lock-indicator (invalid) assert_equals: style.appearance expected "" but got "caps-lock-indicator"
-FAIL appearance: caret (invalid) assert_equals: style.appearance expected "" but got "caret"
+PASS appearance: caret (invalid)
PASS appearance: checkbox-container (invalid)
PASS appearance: checkbox-label (invalid)
PASS appearance: checkmenuitem (invalid)
@@ -202,7 +202,7 @@
PASS appearance: image-controls-button (invalid)
FAIL appearance: inner-spin-button (invalid) assert_equals: style.appearance expected "" but got "inner-spin-button"
FAIL appearance: list-button (invalid) assert_equals: style.appearance expected "" but got "list-button"
-FAIL appearance: listitem (invalid) assert_equals: style.appearance expected "" but got "listitem"
+PASS appearance: listitem (invalid)
PASS appearance: media-controls-background (invalid)
FAIL appearance: media-controls-dark-bar-background (invalid) assert_equals: style.appearance expected "" but got "media-controls-dark-bar-background"
PASS appearance: media-controls-fullscreen-background (invalid)
@@ -241,7 +241,7 @@
PASS appearance: meterbar (invalid)
PASS appearance: meterchunk (invalid)
PASS appearance: number-input (invalid)
-FAIL appearance: progress-bar-value (invalid) assert_equals: style.appearance expected "" but got "progress-bar-value"
+PASS appearance: progress-bar-value (invalid)
PASS appearance: progressbar (invalid)
PASS appearance: progressbar-vertical (invalid)
PASS appearance: progresschunk (invalid)
Modified: trunk/Source/WebCore/ChangeLog (294169 => 294170)
--- trunk/Source/WebCore/ChangeLog 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/Source/WebCore/ChangeLog 2022-05-13 19:38:21 UTC (rev 294170)
@@ -1,3 +1,19 @@
+2022-05-13 Tim Nguyen <[email protected]>
+
+ [css-ui] Remove caret/progress-bar-value/listitem values from appearance property
+ https://bugs.webkit.org/show_bug.cgi?id=240390
+
+ Reviewed by Aditya Keerthi.
+
+ Test: imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001.html
+
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ * css/CSSValueKeywords.in:
+ * platform/ThemeTypes.cpp:
+ (WebCore::operator<<):
+ * platform/ThemeTypes.h:
+
2022-05-13 Andres Gonzalez <[email protected]>
Move handling of active descendant changed notifications out of AccessibilityRenderObject.
Modified: trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h (294169 => 294170)
--- trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h 2022-05-13 19:38:21 UTC (rev 294170)
@@ -475,9 +475,6 @@
case ListboxPart:
m_value.valueID = CSSValueListbox;
break;
- case ListItemPart:
- m_value.valueID = CSSValueListitem;
- break;
case MediaPlayButtonPart:
m_value.valueID = CSSValueMediaPlayButton;
break;
@@ -532,9 +529,6 @@
case ProgressBarPart:
m_value.valueID = CSSValueProgressBar;
break;
- case ProgressBarValuePart:
- m_value.valueID = CSSValueProgressBarValue;
- break;
case SliderHorizontalPart:
m_value.valueID = CSSValueSliderHorizontal;
break;
@@ -547,9 +541,6 @@
case SliderThumbVerticalPart:
m_value.valueID = CSSValueSliderthumbVertical;
break;
- case CaretPart:
- m_value.valueID = CSSValueCaret;
- break;
case SearchFieldPart:
m_value.valueID = CSSValueSearchfield;
break;
Modified: trunk/Source/WebCore/css/CSSValueKeywords.in (294169 => 294170)
--- trunk/Source/WebCore/css/CSSValueKeywords.in 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/Source/WebCore/css/CSSValueKeywords.in 2022-05-13 19:38:21 UTC (rev 294170)
@@ -842,7 +842,6 @@
default-button
inner-spin-button
listbox
-listitem
media-controls-dark-bar-background
media-controls-light-bar-background
media-fullscreen-volume-slider
@@ -857,12 +856,10 @@
menulist-button
meter
progress-bar
-progress-bar-value
slider-horizontal
slider-vertical
sliderthumb-horizontal
sliderthumb-vertical
-caret
searchfield
searchfield-decoration
searchfield-results-decoration
Modified: trunk/Source/WebCore/platform/ThemeTypes.cpp (294169 => 294170)
--- trunk/Source/WebCore/platform/ThemeTypes.cpp 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/Source/WebCore/platform/ThemeTypes.cpp 2022-05-13 19:38:21 UTC (rev 294170)
@@ -43,7 +43,6 @@
case DefaultButtonPart: ts << "default-button-part"; break;
case InnerSpinButtonPart: ts << "inner-spin-button-part"; break;
case ListboxPart: ts << "listbox-part"; break;
- case ListItemPart: ts << "list-item-part"; break;
case MediaControlsDarkBarBackgroundPart: ts << "media-controls-dark-bar-background-part"; break;
case MediaControlsLightBarBackgroundPart: ts << "media-controls-light-bar-background-part"; break;
case MediaFullScreenVolumeSliderPart: ts << "media-full-screen-volume-slider-part"; break;
@@ -58,12 +57,10 @@
case MenulistButtonPart: ts << "menulist-button-part"; break;
case MeterPart: ts << "meter-part"; break;
case ProgressBarPart: ts << "progress-bar-part"; break;
- case ProgressBarValuePart: ts << "progress-bar-value-part"; break;
case SliderHorizontalPart: ts << "slider-horizontal-part"; break;
case SliderVerticalPart: ts << "slider-vertical-part"; break;
case SliderThumbHorizontalPart: ts << "slider-thumb-horizontal-part"; break;
case SliderThumbVerticalPart: ts << "slider-thumb-vertical-part"; break;
- case CaretPart: ts << "caret-part"; break;
case SearchFieldPart: ts << "search-field-part"; break;
case SearchFieldDecorationPart: ts << "search-field-decoration-part"; break;
case SearchFieldResultsDecorationPart: ts << "search-field-results-decoration-part"; break;
Modified: trunk/Source/WebCore/platform/ThemeTypes.h (294169 => 294170)
--- trunk/Source/WebCore/platform/ThemeTypes.h 2022-05-13 19:16:19 UTC (rev 294169)
+++ trunk/Source/WebCore/platform/ThemeTypes.h 2022-05-13 19:38:21 UTC (rev 294170)
@@ -43,7 +43,6 @@
DefaultButtonPart,
InnerSpinButtonPart,
ListboxPart,
- ListItemPart,
MediaControlsDarkBarBackgroundPart,
MediaControlsLightBarBackgroundPart,
MediaFullScreenVolumeSliderPart,
@@ -58,12 +57,10 @@
MenulistButtonPart,
MeterPart,
ProgressBarPart,
- ProgressBarValuePart,
SliderHorizontalPart,
SliderVerticalPart,
SliderThumbHorizontalPart,
SliderThumbVerticalPart,
- CaretPart,
SearchFieldPart,
SearchFieldDecorationPart,
SearchFieldResultsDecorationPart,