Diff
Modified: trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash-expected.txt (294646 => 294647)
--- trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash-expected.txt 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash-expected.txt 2022-05-23 16:32:54 UTC (rev 294647)
@@ -1,3 +1,2 @@
CONSOLE MESSAGE: The test PASS if it does not CRASH.
-CONSOLE MESSAGE: NotFoundError: The object can not be found here.
Modified: trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash.html (294646 => 294647)
--- trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash.html 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/LayoutTests/editing/deleting/insert-in-orphaned-selection-crash.html 2022-05-23 16:32:54 UTC (rev 294647)
@@ -1,5 +1,5 @@
<style>
- * { -webkit-appearance:default-button; }
+ * { -webkit-appearance: button; }
tr { height: 10px; }
td { width: 100px; height: 100px; }
</style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt (294646 => 294647)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-23 16:32:54 UTC (rev 294647)
@@ -32,7 +32,7 @@
PASS -webkit-appearance: checkmenuitem (invalid)
PASS -webkit-appearance: color-well (invalid)
FAIL -webkit-appearance: continuous-capacity-level-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "continuous-capacity-level-indicator"
-FAIL -webkit-appearance: default-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "default-button"
+PASS -webkit-appearance: default-button (invalid)
FAIL -webkit-appearance: discrete-capacity-level-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "discrete-capacity-level-indicator"
PASS -webkit-appearance: dualbutton (invalid)
PASS -webkit-appearance: groupbox (invalid)
@@ -195,7 +195,7 @@
PASS appearance: checkmenuitem (invalid)
PASS appearance: color-well (invalid)
FAIL appearance: continuous-capacity-level-indicator (invalid) assert_equals: style.appearance expected "" but got "continuous-capacity-level-indicator"
-FAIL appearance: default-button (invalid) assert_equals: style.appearance expected "" but got "default-button"
+PASS appearance: default-button (invalid)
FAIL appearance: discrete-capacity-level-indicator (invalid) assert_equals: style.appearance expected "" but got "discrete-capacity-level-indicator"
PASS appearance: dualbutton (invalid)
PASS appearance: groupbox (invalid)
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt (294646 => 294647)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-ui/appearance-cssom-001-expected.txt 2022-05-23 16:32:54 UTC (rev 294647)
@@ -32,7 +32,7 @@
PASS -webkit-appearance: checkmenuitem (invalid)
PASS -webkit-appearance: color-well (invalid)
FAIL -webkit-appearance: continuous-capacity-level-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "continuous-capacity-level-indicator"
-FAIL -webkit-appearance: default-button (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "default-button"
+PASS -webkit-appearance: default-button (invalid)
FAIL -webkit-appearance: discrete-capacity-level-indicator (invalid) assert_equals: style.WebkitAppearance (uppercase W) expected "" but got "discrete-capacity-level-indicator"
PASS -webkit-appearance: dualbutton (invalid)
PASS -webkit-appearance: groupbox (invalid)
@@ -195,7 +195,7 @@
PASS appearance: checkmenuitem (invalid)
PASS appearance: color-well (invalid)
FAIL appearance: continuous-capacity-level-indicator (invalid) assert_equals: style.appearance expected "" but got "continuous-capacity-level-indicator"
-FAIL appearance: default-button (invalid) assert_equals: style.appearance expected "" but got "default-button"
+PASS appearance: default-button (invalid)
FAIL appearance: discrete-capacity-level-indicator (invalid) assert_equals: style.appearance expected "" but got "discrete-capacity-level-indicator"
PASS appearance: dualbutton (invalid)
PASS appearance: groupbox (invalid)
Modified: trunk/Source/WebCore/css/CSSProperties.json (294646 => 294647)
--- trunk/Source/WebCore/css/CSSProperties.json 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/Source/WebCore/css/CSSProperties.json 2022-05-23 16:32:54 UTC (rev 294647)
@@ -5164,7 +5164,6 @@
"push-button",
"square-button",
"button",
- "default-button",
"listbox",
"media-fullscreen-volume-slider",
"media-fullscreen-volume-slider-thumb",
Modified: trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp (294646 => 294647)
--- trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp 2022-05-23 16:32:54 UTC (rev 294647)
@@ -751,6 +751,9 @@
case CSSPropertyVisibility: // visible | hidden | collapse
return valueID == CSSValueVisible || valueID == CSSValueHidden || valueID == CSSValueCollapse;
case CSSPropertyAppearance: {
+ if (valueID == CSSValueDefaultButton)
+ return context.useSystemAppearance;
+
#if ENABLE(ATTACHMENT_ELEMENT)
if (valueID == CSSValueAttachment || valueID == CSSValueBorderlessAttachment)
return context.attachmentEnabled;
Modified: trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation-overrides.json (294646 => 294647)
--- trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation-overrides.json 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation-overrides.json 2022-05-23 16:32:54 UTC (rev 294647)
@@ -4,6 +4,6 @@
},
"-webkit-appearance": {
"description": "Changes the appearance of buttons and other controls to resemble native controls.",
- "syntax": "none | button | checkbox | default-button | listbox | media-slider | media-sliderthumb | media-volume-slider | media-volume-sliderthumb | menulist | menulist-button | meter | progress-bar | push-button | radio | searchfield | slider-horizontal | slider-vertical | square-button | textarea | textfield | -apple-pay-button"
+ "syntax": "none | button | checkbox | listbox | media-slider | media-sliderthumb | media-volume-slider | media-volume-sliderthumb | menulist | menulist-button | meter | progress-bar | push-button | radio | searchfield | slider-horizontal | slider-vertical | square-button | textarea | textfield | -apple-pay-button"
}
}
Modified: trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation.js (294646 => 294647)
--- trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation.js 2022-05-23 16:09:19 UTC (rev 294646)
+++ trunk/Source/WebInspectorUI/UserInterface/External/CSSDocumentation/CSSDocumentation.js 2022-05-23 16:32:54 UTC (rev 294647)
@@ -29,7 +29,7 @@
},
"-webkit-appearance": {
"description": "Changes the appearance of buttons and other controls to resemble native controls.",
- "syntax": "none | button | checkbox | default-button | listbox | media-slider | media-sliderthumb | media-volume-slider | media-volume-sliderthumb | menulist | menulist-button | meter | progress-bar | push-button | radio | searchfield | slider-horizontal | slider-vertical | square-button | textarea | textfield | -apple-pay-button"
+ "syntax": "none | button | checkbox | listbox | media-slider | media-sliderthumb | media-volume-slider | media-volume-sliderthumb | menulist | menulist-button | meter | progress-bar | push-button | radio | searchfield | slider-horizontal | slider-vertical | square-button | textarea | textfield | -apple-pay-button"
},
"-webkit-backdrop-filter": {
"description": "Applies a filter effect where the first filter in the list takes the element's background image as the input image."