Changeset 286803 in webkit
- Timestamp:
- Dec 9, 2021 2:47:24 PM (7 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-align-computed-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-align-valid-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSProperties.json (modified) (2 diffs)
-
Source/WebCore/css/CSSValueKeywords.in (modified) (1 diff)
-
Source/WebCore/css/html.css (modified) (1 diff)
-
Source/WebCore/style/StyleBuilderConverter.h (modified) (1 diff)
-
Source/WebInspectorUI/ChangeLog (modified) (1 diff)
-
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r286795 r286803 1 2021-12-09 Brent Fulgham <bfulgham@apple.com> 2 3 Unprefix CSS value text-align: -webkit-match-parent 4 https://bugs.webkit.org/show_bug.cgi?id=229496 5 <rdar://problem/82628618> 6 7 Reviewed by Darin Adler. 8 9 Rebaseline to show new passing tests. 10 11 * web-platform-tests/css/css-text/parsing/text-align-computed-expected.txt: 12 * web-platform-tests/css/css-text/parsing/text-align-valid-expected.txt: 13 1 14 2021-12-09 Matt Woodrow <matt.woodrow@gmail.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-align-computed-expected.txt
r267650 r286803 6 6 PASS Property text-align value 'center' 7 7 PASS Property text-align value 'justify' 8 FAIL Property text-align value 'match-parent' assert_true: 'match-parent' is a supported value for text-align. expected true got false 8 PASS Property text-align value 'match-parent' 9 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-align-valid-expected.txt
r267650 r286803 6 6 PASS e.style['text-align'] = "center" should set the property value 7 7 PASS e.style['text-align'] = "justify" should set the property value 8 FAIL e.style['text-align'] = "match-parent" should set the property value assert_not_equals: property should be set got disallowed value "" 8 PASS e.style['text-align'] = "match-parent" should set the property value 9 9 FAIL e.style['text-align'] = "justify-all" should set the property value assert_not_equals: property should be set got disallowed value "" 10 10 -
trunk/Source/WebCore/ChangeLog
r286801 r286803 1 2021-12-09 Brent Fulgham <bfulgham@apple.com> 2 3 Unprefix CSS value text-align: -webkit-match-parent 4 https://bugs.webkit.org/show_bug.cgi?id=229496 5 <rdar://problem/82628618> 6 7 Reviewed by Darin Adler. 8 9 Tested by web-platform-tests: css/css-text/parsing/text-align-computed.html, 10 css/css-text/parsing/text-align-valid.html 11 12 SSIA. 13 14 * css/CSSProperties.json: Add the unprefixed version. 15 * css/CSSValueKeywords.in: Ditto. 16 * css/html.css: 17 (li): Use the unprefixed version. 18 * style/StyleBuilderConverter.h: 19 (WebCore::Style::BuilderConverter::convertTextAlign): Handle the new unprefixed version. 20 1 21 2021-12-09 Alan Bujtas <zalan@apple.com> 2 22 -
trunk/Source/WebCore/css/CSSProperties.json
r286795 r286803 4502 4502 "center", 4503 4503 "justify", 4504 { 4505 "value": "match-parent", 4506 "url": "https://www.w3.org/TR/css-text-3/#text-align" 4507 }, 4504 4508 "-webkit-left", 4505 4509 "-webkit-right", … … 4507 4511 { 4508 4512 "value": "-webkit-match-parent", 4509 "url": " https://www.w3.org/TR/css-text-3/#text-align"4513 "url": "non-standard" 4510 4514 }, 4511 4515 { -
trunk/Source/WebCore/css/CSSValueKeywords.in
r286795 r286803 343 343 -webkit-right 344 344 -webkit-center 345 match-parent 345 346 -webkit-match-parent 347 //start 348 //end 346 349 // 347 350 // CSS_PROP_TEXT_JUSTIFY: -
trunk/Source/WebCore/css/html.css
r286775 r286803 300 300 li { 301 301 display: list-item; 302 text-align: -webkit-match-parent;302 text-align: match-parent; 303 303 } 304 304 -
trunk/Source/WebCore/style/StyleBuilderConverter.h
r286086 r286803 613 613 ASSERT(primitiveValue.isValueID()); 614 614 615 if (primitiveValue.valueID() != CSSValueWebkitMatchParent )615 if (primitiveValue.valueID() != CSSValueWebkitMatchParent && primitiveValue.valueID() != CSSValueMatchParent) 616 616 return primitiveValue; 617 617 -
trunk/Source/WebInspectorUI/ChangeLog
r286799 r286803 1 2021-12-09 Brent Fulgham <bfulgham@apple.com> 2 3 Unprefix CSS value text-align: -webkit-match-parent 4 https://bugs.webkit.org/show_bug.cgi?id=229496 5 <rdar://problem/82628618> 6 7 Reviewed by Darin Adler. 8 9 * UserInterface/Models/CSSKeywordCompletions.js: Add 'match-parent' 10 1 11 2021-12-08 BJ Burg <bburg@apple.com> 2 12 -
trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
r286611 r286803 1347 1347 ], 1348 1348 "text-align": [ 1349 "-webkit-auto", "left", "right", "center", "justify", " -webkit-left", "-webkit-right", "-webkit-center", "-webkit-match-parent", "start", "end",1349 "-webkit-auto", "left", "right", "center", "justify", "match-parent", "-webkit-left", "-webkit-right", "-webkit-center", "-webkit-match-parent", "start", "end", 1350 1350 ], 1351 1351 "text-anchor": [
Note: See TracChangeset
for help on using the changeset viewer.