Changeset 213094 in webkit
- Timestamp:
- Feb 27, 2017 2:41:08 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r213092 r213094 1 2017-02-27 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Unprefix -webkit-line-break 4 https://bugs.webkit.org/show_bug.cgi?id=168213 5 6 Reviewed by Darin Adler. 7 8 Updating expected results. 9 10 * fast/css/getComputedStyle/computed-style-expected.txt: 11 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 12 * fast/text/line-break-unprefixed.html: Added. 13 * fast/text/line-break-unprefixed-expected.html: Added. 14 * svg/css/getComputedStyle-basic-expected.txt: 15 1 16 2017-02-27 Ryan Haddad <ryanhaddad@apple.com> 2 17 -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r212131 r213094 190 190 -webkit-line-align: none; 191 191 -webkit-line-box-contain: block inline replaced; 192 -webkit-line-break: auto;193 192 -webkit-line-clamp: none; 194 193 -webkit-line-grid: none; -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r212131 r213094 189 189 -webkit-line-align: none 190 190 -webkit-line-box-contain: block inline replaced 191 -webkit-line-break: auto192 191 -webkit-line-clamp: none 193 192 -webkit-line-grid: none -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r212131 r213094 377 377 rect: style.getPropertyValue(-webkit-line-box-contain) : block inline replaced 378 378 rect: style.getPropertyCSSValue(-webkit-line-box-contain) : [object CSSValue] 379 rect: style.getPropertyValue(-webkit-line-break) : auto380 rect: style.getPropertyCSSValue(-webkit-line-break) : [object CSSPrimitiveValue]381 379 rect: style.getPropertyValue(-webkit-line-clamp) : none 382 380 rect: style.getPropertyCSSValue(-webkit-line-clamp) : [object CSSPrimitiveValue] … … 931 929 g: style.getPropertyValue(-webkit-line-box-contain) : block inline replaced 932 930 g: style.getPropertyCSSValue(-webkit-line-box-contain) : [object CSSValue] 933 g: style.getPropertyValue(-webkit-line-break) : auto934 g: style.getPropertyCSSValue(-webkit-line-break) : [object CSSPrimitiveValue]935 931 g: style.getPropertyValue(-webkit-line-clamp) : none 936 932 g: style.getPropertyCSSValue(-webkit-line-clamp) : [object CSSPrimitiveValue] -
trunk/Source/WebCore/ChangeLog
r213093 r213094 1 2017-02-27 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Unprefix -webkit-line-break 4 https://bugs.webkit.org/show_bug.cgi?id=168213 5 6 Reviewed by Darin Adler. 7 8 We support the property as specced. 9 10 Test: fast/text/line-break-unprefixed.html 11 12 * css/CSSComputedStyleDeclaration.cpp: 13 (WebCore::ComputedStyleExtractor::propertyValue): 14 * css/CSSProperties.json: 15 * css/parser/CSSParserFastPaths.cpp: 16 (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): 17 (WebCore::CSSParserFastPaths::isKeywordPropertyID): 18 * editing/Editor.cpp: 19 (WebCore::Editor::applyEditingStyleToElement): 20 * html/HTMLElement.cpp: 21 (WebCore::HTMLElement::collectStyleForPresentationAttribute): 22 1 23 2017-02-27 Myles C. Maxfield <mmaxfield@apple.com> 2 24 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r212985 r213094 355 355 CSSPropertyWebkitLineAlign, 356 356 CSSPropertyWebkitLineBoxContain, 357 CSSProperty WebkitLineBreak,357 CSSPropertyLineBreak, 358 358 CSSPropertyWebkitLineClamp, 359 359 CSSPropertyWebkitLineGrid, … … 3315 3315 case CSSPropertyWordWrap: 3316 3316 return cssValuePool.createValue(style->overflowWrap()); 3317 case CSSProperty WebkitLineBreak:3317 case CSSPropertyLineBreak: 3318 3318 return cssValuePool.createValue(style->lineBreak()); 3319 3319 case CSSPropertyWebkitNbspMode: -
trunk/Source/WebCore/css/CSSProperties.json
r213082 r213094 4929 4929 } 4930 4930 }, 4931 " -webkit-line-break": {4931 "line-break": { 4932 4932 "inherited": true, 4933 4933 "values": [ … … 4938 4938 { 4939 4939 "value": "after-white-space", 4940 "status": "non-standard" 4940 "status": "non-standard", 4941 "comment": "Added in https://trac.webkit.org/changeset/7763" 4941 4942 } 4942 4943 ], 4943 "status": {4944 "status": "experimental"4945 },4946 4944 "specification": { 4947 4945 "category": "css-text", 4948 4946 "url": "https://www.w3.org/TR/css-text-3/#line-break" 4947 }, 4948 "codegen-properties": { 4949 "aliases": [ 4950 "-webkit-line-break" 4951 ] 4949 4952 } 4950 4953 }, -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r212629 r213094 722 722 case CSSPropertyWebkitLineAlign: 723 723 return valueID == CSSValueNone || valueID == CSSValueEdges; 724 case CSSProperty WebkitLineBreak: // auto | loose | normal | strict | after-white-space724 case CSSPropertyLineBreak: // auto | loose | normal | strict | after-white-space 725 725 return valueID == CSSValueAuto || valueID == CSSValueLoose || valueID == CSSValueNormal || valueID == CSSValueStrict || valueID == CSSValueAfterWhiteSpace; 726 726 case CSSPropertyWebkitLineSnap: … … 882 882 case CSSPropertyWebkitHyphens: 883 883 case CSSPropertyWebkitLineAlign: 884 case CSSProperty WebkitLineBreak:884 case CSSPropertyLineBreak: 885 885 case CSSPropertyWebkitLineSnap: 886 886 case CSSPropertyWebkitMarginAfterCollapse: -
trunk/Source/WebCore/editing/Editor.cpp
r212681 r213094 3107 3107 style->setPropertyInternal(CSSPropertyWordWrap, "break-word", false); 3108 3108 style->setPropertyInternal(CSSPropertyWebkitNbspMode, "space", false); 3109 style->setPropertyInternal(CSSProperty WebkitLineBreak, "after-white-space", false);3109 style->setPropertyInternal(CSSPropertyLineBreak, "after-white-space", false); 3110 3110 } 3111 3111 -
trunk/Source/WebCore/html/HTMLElement.cpp
r211965 r213094 184 184 addPropertyToPresentationAttributeStyle(style, CSSPropertyWordWrap, CSSValueBreakWord); 185 185 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitNbspMode, CSSValueSpace); 186 addPropertyToPresentationAttributeStyle(style, CSSProperty WebkitLineBreak, CSSValueAfterWhiteSpace);186 addPropertyToPresentationAttributeStyle(style, CSSPropertyLineBreak, CSSValueAfterWhiteSpace); 187 187 #if PLATFORM(IOS) 188 188 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitTextSizeAdjust, CSSValueNone);
Note: See TracChangeset
for help on using the changeset viewer.