Changeset 289886 in webkit
- Timestamp:
- Feb 16, 2022 4:38:35 AM (5 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/container-parsing-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/StyleProperties.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r289876 r289886 1 2022-02-16 Antti Koivisto <antti@apple.com> 2 3 [CSS Container Queries] Serialize container shorthand in StyleProperties 4 https://bugs.webkit.org/show_bug.cgi?id=236691 5 6 Reviewed by Antoine Quint. 7 8 * web-platform-tests/css/css-contain/container-queries/container-parsing-expected.txt: 9 1 10 2022-02-15 Nikolaos Mouchtaris <nmouchtaris@apple.com> 2 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/container-parsing-expected.txt
r288465 r289886 1 1 2 FAIL e.style['container'] = "initial" should set the property value assert_not_equals: property should be set got disallowed value "" 3 FAIL e.style['container'] = "inherit" should set the property value assert_not_equals: property should be set got disallowed value "" 4 FAIL e.style['container'] = "unset" should set the property value assert_not_equals: property should be set got disallowed value "" 5 FAIL e.style['container'] = "revert" should set the property value assert_not_equals: property should be set got disallowed value "" 6 FAIL e.style['container'] = "none" should set the property value assert_not_equals: property should be set got disallowed value "" 7 FAIL e.style['container'] = "none / none" should set the property value assert_ not_equals: property should be set got disallowed value ""8 FAIL e.style['container'] = "inline-size" should set the property value assert_not_equals: property should be set got disallowed value "" 9 FAIL e.style['container'] = "inline-size / none" should set the property value assert_ not_equals: property should be set got disallowed value ""10 FAIL e.style['container'] = "size" should set the property value assert_not_equals: property should be set got disallowed value "" 11 FAIL e.style['container'] = "size / block-size" should set the property value assert_not_equals: property should be set got disallowed value "" 12 FAIL e.style['container'] = "inline-size / inline-size" should set the property value assert_not_equals: property should be set got disallowed value "" 13 FAIL e.style['container'] = "size / size" should set the property value assert_not_equals: property should be set got disallowed value "" 2 PASS e.style['container'] = "initial" should set the property value 3 PASS e.style['container'] = "inherit" should set the property value 4 PASS e.style['container'] = "unset" should set the property value 5 PASS e.style['container'] = "revert" should set the property value 6 PASS e.style['container'] = "none" should set the property value 7 FAIL e.style['container'] = "none / none" should set the property value assert_equals: serialization should be canonical expected "none" but got "none / none" 8 PASS e.style['container'] = "inline-size" should set the property value 9 FAIL e.style['container'] = "inline-size / none" should set the property value assert_equals: serialization should be canonical expected "inline-size" but got "inline-size / none" 10 PASS e.style['container'] = "size" should set the property value 11 PASS e.style['container'] = "size / block-size" should set the property value 12 PASS e.style['container'] = "inline-size / inline-size" should set the property value 13 PASS e.style['container'] = "size / size" should set the property value 14 14 FAIL e.style['container'] = "size state / none" should set the property value assert_not_equals: property should be set got disallowed value "" 15 15 PASS e.style['container'] = "none none" should not set the property value -
trunk/Source/WebCore/ChangeLog
r289885 r289886 1 2022-02-16 Antti Koivisto <antti@apple.com> 2 3 [CSS Container Queries] Serialize container shorthand in StyleProperties 4 https://bugs.webkit.org/show_bug.cgi?id=236691 5 6 Reviewed by Antoine Quint. 7 8 Serialize element.style.container. 9 10 * css/StyleProperties.cpp: 11 (WebCore::StyleProperties::getPropertyValue const): 12 1 13 2022-02-16 Alejandro G. Castro <alex@igalia.com> 2 14 -
trunk/Source/WebCore/css/StyleProperties.cpp
r289876 r289886 244 244 case CSSPropertyColumns: 245 245 return getShorthandValue(columnsShorthand()); 246 case CSSPropertyContainer: 247 return getShorthandValue(containerShorthand(), " / "); 246 248 case CSSPropertyFlex: 247 249 return getShorthandValue(flexShorthand());
Note: See TracChangeset
for help on using the changeset viewer.