Changeset 207630 in webkit
- Timestamp:
- Oct 20, 2016 12:09:30 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 91 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r207621 r207630 1 2016-10-19 Dean Jackson <dino@apple.com> 2 3 Support CSS Shapes Level 1 without a prefix 4 https://bugs.webkit.org/show_bug.cgi?id=163709 5 <rdar://problem/28859369> 6 7 Reviewed by Myles Maxfield. 8 9 Unskip all but a couple of tests. 10 11 * TestExpectations: 12 1 13 2016-10-20 Jer Noble <jer.noble@apple.com> 2 14 -
trunk/LayoutTests/TestExpectations
r207573 r207630 27 27 media/controls/ipad [ Skip ] 28 28 fast/text-autosizing [ Skip ] 29 30 imported/w3c/csswg-test/css-shapes-1 [ Skip ]31 29 32 30 fast/forms/attributed-strings.html [ Skip ] … … 989 987 fast/text/letterpress-different.html [ ImageOnlyFailure ] 990 988 989 # CSS Shapes tests 990 webkit.org/b/163706 imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010.html [ Skip ] 991 webkit.org/b/163706 imported/w3c/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-024.html [ Skip ] 992 imported/blink/http/tests/security/shape-image-cors-disallow-origin.html [ ImageOnlyFailure ] 993 imported/blink/http/tests/security/shape-image-cors-port.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r207629 r207630 1 2016-10-19 Dean Jackson <dino@apple.com> 2 3 Support CSS Shapes Level 1 without a prefix 4 https://bugs.webkit.org/show_bug.cgi?id=163709 5 <rdar://problem/28859369> 6 7 Reviewed by Myles Maxfield. 8 9 Support the unprefixed form of CSS Shapes, now that 10 it is in CR. 11 12 We have a few failing tests: 13 14 - Some image-based shaping failures, now skipped. 15 https://bugs.webkit.org/show_bug.cgi?id=163706 16 17 - Some false negatives, where my understanding 18 of the CSS OM seems to suggest that the W3C tests 19 are incorrect. 20 https://bugs.webkit.org/show_bug.cgi?id=163708 21 22 Tests: imported/w3c/csswg-test/css-shapes-1 23 24 * css/CSSComputedStyleDeclaration.cpp: 25 (WebCore::ComputedStyleExtractor::propertyValue): 26 * css/CSSPropertyNames.in: 27 * css/CSSValueKeywords.in: 28 * css/parser/CSSParser.cpp: 29 (WebCore::isSimpleLengthPropertyID): 30 (WebCore::CSSParser::parseValue): 31 * css/parser/CSSPropertyParser.cpp: 32 (WebCore::CSSPropertyParser::parseSingleValue): 33 * page/animation/CSSPropertyAnimation.cpp: 34 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 35 1 36 2016-10-20 Dave Hyatt <hyatt@apple.com> 2 37 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r207535 r207630 383 383 CSSPropertyWebkitTouchCallout, 384 384 #endif 385 CSSProperty WebkitShapeOutside,385 CSSPropertyShapeOutside, 386 386 #if ENABLE(TOUCH_EVENTS) 387 387 CSSPropertyWebkitTapHighlightColor, … … 414 414 CSSPropertyWebkitRegionFragment, 415 415 #endif 416 CSSProperty WebkitShapeMargin,417 CSSProperty WebkitShapeImageThreshold,416 CSSPropertyShapeMargin, 417 CSSPropertyShapeImageThreshold, 418 418 CSSPropertyBufferedRendering, 419 419 CSSPropertyClipPath, … … 3688 3688 return cssValuePool.createValue(style->regionFragment()); 3689 3689 #endif 3690 case CSSProperty WebkitShapeMargin:3690 case CSSPropertyShapeMargin: 3691 3691 return cssValuePool.createValue(style->shapeMargin(), *style); 3692 case CSSProperty WebkitShapeImageThreshold:3692 case CSSPropertyShapeImageThreshold: 3693 3693 return cssValuePool.createValue(style->shapeImageThreshold(), CSSPrimitiveValue::CSS_NUMBER); 3694 case CSSProperty WebkitShapeOutside:3694 case CSSPropertyShapeOutside: 3695 3695 return shapePropertyValue(*style, style->shapeOutside()); 3696 3696 case CSSPropertyFilter: -
trunk/Source/WebCore/css/CSSPropertyNames.in
r207499 r207630 655 655 -webkit-region-break-inside [Initial=initialBreakInside, NameForMethods=BreakInside, Converter=RegionBreakInside] 656 656 #endif 657 -webkit-shape-outside [Converter=ShapeValue] 658 -webkit-shape-margin [Converter=Length] 659 -webkit-shape-image-threshold [Converter=NumberOrAuto<float>] 657 shape-outside [Converter=ShapeValue] 658 -webkit-shape-outside = shape-outside 659 shape-margin [Converter=Length] 660 -webkit-shape-margin = shape-margin 661 shape-image-threshold [Converter=NumberOrAuto<float>] 662 -webkit-shape-image-threshold = shape-image-threshold 660 663 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION 661 664 max-zoom [SkipBuilder] -
trunk/Source/WebCore/css/CSSValueKeywords.in
r207499 r207630 1078 1078 -webkit-optimize-contrast 1079 1079 1080 // -webkit-shape-outside1080 // shape-outside 1081 1081 nonzero 1082 1082 evenodd -
trunk/Source/WebCore/css/parser/CSSParser.cpp
r207622 r207630 501 501 case CSSPropertyGridRowGap: 502 502 #endif 503 case CSSProperty WebkitShapeMargin:503 case CSSPropertyShapeMargin: 504 504 acceptsNegativeNumbers = false; 505 505 return true; … … 2996 2996 parsedValue = parseClipPath(); 2997 2997 break; 2998 case CSSProperty WebkitShapeOutside:2998 case CSSPropertyShapeOutside: 2999 2999 parsedValue = parseShapeProperty(propId); 3000 3000 break; 3001 case CSSProperty WebkitShapeMargin:3001 case CSSPropertyShapeMargin: 3002 3002 validPrimitive = !id && validateUnit(valueWithCalculation, FLength | FPercent | FNonNeg); 3003 3003 break; 3004 case CSSProperty WebkitShapeImageThreshold:3004 case CSSPropertyShapeImageThreshold: 3005 3005 validPrimitive = !id && validateUnit(valueWithCalculation, FNumber); 3006 3006 break; -
trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp
r207629 r207630 3177 3177 case CSSPropertyGridRowGap: 3178 3178 return consumeLength(m_range, m_context.mode, ValueRangeNonNegative); 3179 case CSSProperty WebkitShapeMargin:3179 case CSSPropertyShapeMargin: 3180 3180 return consumeLengthOrPercent(m_range, m_context.mode, ValueRangeNonNegative); 3181 case CSSProperty WebkitShapeImageThreshold:3181 case CSSPropertyShapeImageThreshold: 3182 3182 return consumeNumber(m_range, ValueRangeAll); 3183 3183 case CSSPropertyWebkitBoxOrdinalGroup: … … 3336 3336 case CSSPropertyVerticalAlign: 3337 3337 return consumeVerticalAlign(m_range, m_context.mode); 3338 case CSSProperty WebkitShapeOutside:3338 case CSSPropertyShapeOutside: 3339 3339 return consumeShapeOutside(m_range, m_context); 3340 3340 case CSSPropertyWebkitClipPath: -
trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp
r207499 r207630 1433 1433 new PropertyWrapperClipPath(CSSPropertyWebkitClipPath, &RenderStyle::clipPath, &RenderStyle::setClipPath), 1434 1434 1435 new PropertyWrapperShape(CSSProperty WebkitShapeOutside, &RenderStyle::shapeOutside, &RenderStyle::setShapeOutside),1436 new LengthPropertyWrapper<Length>(CSSProperty WebkitShapeMargin, &RenderStyle::shapeMargin, &RenderStyle::setShapeMargin),1437 new PropertyWrapper<float>(CSSProperty WebkitShapeImageThreshold, &RenderStyle::shapeImageThreshold, &RenderStyle::setShapeImageThreshold),1435 new PropertyWrapperShape(CSSPropertyShapeOutside, &RenderStyle::shapeOutside, &RenderStyle::setShapeOutside), 1436 new LengthPropertyWrapper<Length>(CSSPropertyShapeMargin, &RenderStyle::shapeMargin, &RenderStyle::setShapeMargin), 1437 new PropertyWrapper<float>(CSSPropertyShapeImageThreshold, &RenderStyle::shapeImageThreshold, &RenderStyle::setShapeImageThreshold), 1438 1438 1439 1439 new PropertyWrapperVisitedAffectedColor(CSSPropertyColumnRuleColor, MaybeInvalidColor, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor, &RenderStyle::visitedLinkColumnRuleColor, &RenderStyle::setVisitedLinkColumnRuleColor), -
trunk/Source/WebInspectorUI/ChangeLog
r207553 r207630 1 2016-10-19 Dean Jackson <dino@apple.com> 2 3 Support CSS Shapes Level 1 without a prefix 4 https://bugs.webkit.org/show_bug.cgi?id=163709 5 <rdar://problem/28859369> 6 7 Reviewed by Myles Maxfield. 8 9 Replace -webkit-shape-outside with shape-outside. 10 11 * UserInterface/Models/CSSKeywordCompletions.js: 12 1 13 2016-10-19 Aaron Chu <aaron_chu@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
r205426 r207630 609 609 "none", "url()", "circle()", "ellipse()", "inset()", "polygon()", "margin-box", "border-box", "padding-box", "content-box" 610 610 ], 611 " -webkit-shape-outside": [611 "shape-outside": [ 612 612 "none", "url()", "circle()", "ellipse()", "inset()", "polygon()", "margin-box", "border-box", "padding-box", "content-box" 613 613 ],
Note: See TracChangeset
for help on using the changeset viewer.