[webkit-changes] [WebKit/WebKit] 3e0ad4: Remove non-standard values for `zoom`
Ahmad Saleem
noreply at github.com
Sun Sep 29 04:29:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e0ad4d651425ffde1a2282cb561d9dead674a6d
https://github.com/WebKit/WebKit/commit/3e0ad4d651425ffde1a2282cb561d9dead674a6d
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-09-29 (Sun, 29 Sep 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/parsing/zoom-valid-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/parsing/zoom-valid.html
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/style/StyleBuilderCustom.h
Log Message:
-----------
Remove non-standard values for `zoom`
https://bugs.webkit.org/show_bug.cgi?id=280557
rdar://136866582
Reviewed by Tim Nguyen.
This patch is to align WebKit with web specification [1]:
[1] https://drafts.csswg.org/css-viewport/#zoom-property
The `zoom` property was non-standard previously but have been standardised now.
In newer standard, it does not have `document` and `reset` values.
So this patch is to remove them and Blink actually removed them in 2017.
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueZoom):
* LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/parsing/zoom-valid-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/parsing/zoom-valid.html:
Canonical link: https://commits.webkit.org/284427@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list