Title: [292659] branches/safari-613-branch
- Revision
- 292659
- Author
- [email protected]
- Date
- 2022-04-08 17:14:11 -0700 (Fri, 08 Apr 2022)
Log Message
Cherry-pick r292029. rdar://problem/90977336
Use Canvas/CanvasText system colors for <dialog> default styling
https://bugs.webkit.org/show_bug.cgi?id=238425
Reviewed by Antti Koivisto.
Per HTML spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5
Main change is that the colors now adapt to dark mode by default.
LayoutTests/imported/w3c:
Updated test result to pass.
* web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt:
Source/WebCore:
Test: LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color.html
* css/dialog.css:
(dialog):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-613-branch/LayoutTests/imported/w3c/ChangeLog (292658 => 292659)
--- branches/safari-613-branch/LayoutTests/imported/w3c/ChangeLog 2022-04-09 00:14:07 UTC (rev 292658)
+++ branches/safari-613-branch/LayoutTests/imported/w3c/ChangeLog 2022-04-09 00:14:11 UTC (rev 292659)
@@ -1,5 +1,47 @@
2022-04-07 Alan Coon <[email protected]>
+ Cherry-pick r292029. rdar://problem/90977336
+
+ Use Canvas/CanvasText system colors for <dialog> default styling
+ https://bugs.webkit.org/show_bug.cgi?id=238425
+
+ Reviewed by Antti Koivisto.
+
+ Per HTML spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5
+ Main change is that the colors now adapt to dark mode by default.
+
+ LayoutTests/imported/w3c:
+
+ Updated test result to pass.
+
+ * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt:
+
+ Source/WebCore:
+
+ Test: LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color.html
+
+ * css/dialog.css:
+ (dialog):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-29 Tim Nguyen <[email protected]>
+
+ Use Canvas/CanvasText system colors for <dialog> default styling
+ https://bugs.webkit.org/show_bug.cgi?id=238425
+
+ Reviewed by Antti Koivisto.
+
+ Per HTML spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5
+ Main change is that the colors now adapt to dark mode by default.
+
+ Updated test result to pass.
+
+ * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt:
+
+2022-04-07 Alan Coon <[email protected]>
+
Cherry-pick r292028. rdar://problem/90977255
Re-import inert and <dialog> WPT
Modified: branches/safari-613-branch/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt (292658 => 292659)
--- branches/safari-613-branch/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt 2022-04-09 00:14:07 UTC (rev 292658)
+++ branches/safari-613-branch/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt 2022-04-09 00:14:11 UTC (rev 292659)
@@ -1,5 +1,5 @@
This is a dialog This is a dialog This is a dialog
PASS <dialog> color and background match default
-FAIL <dialog> colors react to dark mode assert_not_equals: Dialog color should react to color-scheme got disallowed value "rgb(0, 0, 0)"
+PASS <dialog> colors react to dark mode
Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (292658 => 292659)
--- branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-09 00:14:07 UTC (rev 292658)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-09 00:14:11 UTC (rev 292659)
@@ -1,5 +1,48 @@
2022-04-07 Alan Coon <[email protected]>
+ Cherry-pick r292029. rdar://problem/90977336
+
+ Use Canvas/CanvasText system colors for <dialog> default styling
+ https://bugs.webkit.org/show_bug.cgi?id=238425
+
+ Reviewed by Antti Koivisto.
+
+ Per HTML spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5
+ Main change is that the colors now adapt to dark mode by default.
+
+ LayoutTests/imported/w3c:
+
+ Updated test result to pass.
+
+ * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color-expected.txt:
+
+ Source/WebCore:
+
+ Test: LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color.html
+
+ * css/dialog.css:
+ (dialog):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-29 Tim Nguyen <[email protected]>
+
+ Use Canvas/CanvasText system colors for <dialog> default styling
+ https://bugs.webkit.org/show_bug.cgi?id=238425
+
+ Reviewed by Antti Koivisto.
+
+ Per HTML spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5
+ Main change is that the colors now adapt to dark mode by default.
+
+ Test: LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/default-color.html
+
+ * css/dialog.css:
+ (dialog):
+
+2022-04-07 Alan Coon <[email protected]>
+
Cherry-pick r291886. rdar://problem/72814440
`PointerEvent.movementX` always 0 (breaks https://noisecraft.app/)
Modified: branches/safari-613-branch/Source/WebCore/css/dialog.css (292658 => 292659)
--- branches/safari-613-branch/Source/WebCore/css/dialog.css 2022-04-09 00:14:07 UTC (rev 292658)
+++ branches/safari-613-branch/Source/WebCore/css/dialog.css 2022-04-09 00:14:11 UTC (rev 292659)
@@ -7,8 +7,8 @@
margin: auto;
border: solid;
padding: 1em;
- background: white;
- color: black;
+ background-color: Canvas;
+ color: CanvasText;
display: none;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes