WebKit Bugzilla
Attachment 371825 Details for
Bug 198743
: Sort the computed styles list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-198743-20190610224610.patch (text/plain), 14.82 KB, created by
Devin Rousso
on 2019-06-10 22:46:11 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Devin Rousso
Created:
2019-06-10 22:46:11 PDT
Size:
14.82 KB
patch
obsolete
>diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 0c8b145e5dab85ae9ff30a1b332c9e27bc203d89..3d307244592c03430560d826d79ac01ec3e54c88 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,12 @@ >+2019-06-10 Devin Rousso <drousso@apple.com> >+ >+ Sort the computed styles list >+ https://bugs.webkit.org/show_bug.cgi?id=198743 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * css/CSSComputedStyleDeclaration.cpp: >+ > 2019-06-10 Basuke Suzuki <Basuke.Suzuki@sony.com> > > Web Inspector: DNS names in SymmaryInfo was wrong. >diff --git a/Source/WebCore/css/CSSComputedStyleDeclaration.cpp b/Source/WebCore/css/CSSComputedStyleDeclaration.cpp >index 17100755aeb6aebfbf44252416f254d7fc3a6549..d3f33c88b4a1b5afbd4e2b007ac56bf75521443d 100644 >--- a/Source/WebCore/css/CSSComputedStyleDeclaration.cpp >+++ b/Source/WebCore/css/CSSComputedStyleDeclaration.cpp >@@ -90,6 +90,10 @@ WTF_MAKE_ISO_ALLOCATED_IMPL(CSSComputedStyleDeclaration); > > // List of all properties we know how to compute, omitting shorthands. > static const CSSPropertyID computedProperties[] = { >+ CSSPropertyAlignContent, >+ CSSPropertyAlignItems, >+ CSSPropertyAlignmentBaseline, >+ CSSPropertyAlignSelf, > CSSPropertyAlt, > CSSPropertyAnimationDelay, > CSSPropertyAnimationDirection, >@@ -108,6 +112,7 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyBackgroundPosition, // more-specific background-position-x/y are non-standard > CSSPropertyBackgroundRepeat, > CSSPropertyBackgroundSize, >+ CSSPropertyBaselineShift, > CSSPropertyBorderBottomColor, > CSSPropertyBorderBottomLeftRadius, > CSSPropertyBorderBottomRightRadius, >@@ -133,30 +138,82 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyBottom, > CSSPropertyBoxShadow, > CSSPropertyBoxSizing, >+ CSSPropertyBufferedRendering, > CSSPropertyCaptionSide, > CSSPropertyCaretColor, > CSSPropertyClear, > CSSPropertyClip, >+ CSSPropertyClipPath, >+ CSSPropertyClipRule, > CSSPropertyColor, >- CSSPropertyAppleColorFilter, >+ CSSPropertyColorInterpolation, >+ CSSPropertyColorInterpolationFilters, >+ CSSPropertyColorRendering, >+#if ENABLE(DARK_MODE_CSS) >+ CSSPropertyColorScheme, >+#endif >+ CSSPropertyColumnCount, >+ CSSPropertyColumnFill, >+ CSSPropertyColumnGap, >+ CSSPropertyColumnRuleColor, >+ CSSPropertyColumnRuleStyle, >+ CSSPropertyColumnRuleWidth, >+ CSSPropertyColumnSpan, >+ CSSPropertyColumnWidth, >+ CSSPropertyContent, > CSSPropertyCounterIncrement, > CSSPropertyCounterReset, >- CSSPropertyContent, > CSSPropertyCursor, >+ CSSPropertyCx, >+ CSSPropertyCy, > CSSPropertyDirection, > CSSPropertyDisplay, >+ CSSPropertyDominantBaseline, > CSSPropertyEmptyCells, >+ CSSPropertyFill, >+ CSSPropertyFillOpacity, >+ CSSPropertyFillRule, >+ CSSPropertyFilter, >+ CSSPropertyFlexBasis, >+ CSSPropertyFlexDirection, >+ CSSPropertyFlexFlow, >+ CSSPropertyFlexGrow, >+ CSSPropertyFlexShrink, >+ CSSPropertyFlexWrap, > CSSPropertyFloat, >+ CSSPropertyFloodColor, >+ CSSPropertyFloodOpacity, > CSSPropertyFontFamily, >+#if ENABLE(VARIATION_FONTS) >+ CSSPropertyFontOpticalSizing, >+#endif > CSSPropertyFontSize, > CSSPropertyFontStretch, > CSSPropertyFontStyle, > CSSPropertyFontSynthesis, > CSSPropertyFontVariant, >- CSSPropertyFontWeight, >+ CSSPropertyFontVariantAlternates, >+ CSSPropertyFontVariantCaps, >+ CSSPropertyFontVariantEastAsian, >+ CSSPropertyFontVariantLigatures, >+ CSSPropertyFontVariantNumeric, >+ CSSPropertyFontVariantPosition, > #if ENABLE(VARIATION_FONTS) >- CSSPropertyFontOpticalSizing, >+ CSSPropertyFontVariationSettings, > #endif >+ CSSPropertyFontWeight, >+ CSSPropertyGlyphOrientationHorizontal, >+ CSSPropertyGlyphOrientationVertical, >+ CSSPropertyGridAutoColumns, >+ CSSPropertyGridAutoFlow, >+ CSSPropertyGridAutoRows, >+ CSSPropertyGridColumnEnd, >+ CSSPropertyGridColumnStart, >+ CSSPropertyGridRowEnd, >+ CSSPropertyGridRowStart, >+ CSSPropertyGridTemplateAreas, >+ CSSPropertyGridTemplateColumns, >+ CSSPropertyGridTemplateRows, > CSSPropertyHangingPunctuation, > CSSPropertyHeight, > #if ENABLE(CSS_IMAGE_ORIENTATION) >@@ -166,8 +223,17 @@ static const CSSPropertyID computedProperties[] = { > #if ENABLE(CSS_IMAGE_RESOLUTION) > CSSPropertyImageResolution, > #endif >+#if ENABLE(CSS_COMPOSITING) >+ CSSPropertyIsolation, >+#endif >+ CSSPropertyJustifyContent, >+ CSSPropertyJustifyItems, >+ CSSPropertyJustifySelf, >+ CSSPropertyKerning, > CSSPropertyLeft, > CSSPropertyLetterSpacing, >+ CSSPropertyLightingColor, >+ CSSPropertyLineBreak, > CSSPropertyLineHeight, > CSSPropertyListStyleImage, > CSSPropertyListStylePosition, >@@ -176,13 +242,22 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyMarginLeft, > CSSPropertyMarginRight, > CSSPropertyMarginTop, >+ CSSPropertyMarkerEnd, >+ CSSPropertyMarkerMid, >+ CSSPropertyMarkerStart, >+ CSSPropertyMask, >+ CSSPropertyMaskType, > CSSPropertyMaxHeight, > CSSPropertyMaxWidth, > CSSPropertyMinHeight, > CSSPropertyMinWidth, >+#if ENABLE(CSS_COMPOSITING) >+ CSSPropertyMixBlendMode, >+#endif > CSSPropertyObjectFit, > CSSPropertyObjectPosition, > CSSPropertyOpacity, >+ CSSPropertyOrder, > CSSPropertyOrphans, > CSSPropertyOutlineColor, > CSSPropertyOutlineOffset, >@@ -198,30 +273,69 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyPageBreakAfter, > CSSPropertyPageBreakBefore, > CSSPropertyPageBreakInside, >+ CSSPropertyPaintOrder, >+ CSSPropertyPerspective, >+ CSSPropertyPerspectiveOrigin, >+ CSSPropertyPlaceContent, >+ CSSPropertyPlaceItems, >+ CSSPropertyPlaceSelf, > CSSPropertyPointerEvents, > CSSPropertyPosition, >+ CSSPropertyR, > CSSPropertyResize, > CSSPropertyRight, >+ CSSPropertyRowGap, >+ CSSPropertyRx, >+ CSSPropertyRy, >+#if ENABLE(CSS_SCROLL_SNAP) >+ CSSPropertyScrollPadding, >+ CSSPropertyScrollPaddingBottom, >+ CSSPropertyScrollPaddingLeft, >+ CSSPropertyScrollPaddingRight, >+ CSSPropertyScrollPaddingTop, >+ CSSPropertyScrollSnapAlign, >+ CSSPropertyScrollSnapMargin, >+ CSSPropertyScrollSnapMarginBottom, >+ CSSPropertyScrollSnapMarginLeft, >+ CSSPropertyScrollSnapMarginRight, >+ CSSPropertyScrollSnapMarginTop, >+ CSSPropertyScrollSnapType, >+#endif >+ CSSPropertyShapeImageThreshold, >+ CSSPropertyShapeMargin, >+ CSSPropertyShapeOutside, >+ CSSPropertyShapeRendering, > CSSPropertySpeakAs, >+ CSSPropertyStopColor, >+ CSSPropertyStopOpacity, >+ CSSPropertyStroke, >+ CSSPropertyStrokeColor, >+ CSSPropertyStrokeDasharray, >+ CSSPropertyStrokeDashoffset, >+ CSSPropertyStrokeLinecap, >+ CSSPropertyStrokeLinejoin, >+ CSSPropertyStrokeMiterlimit, >+ CSSPropertyStrokeOpacity, >+ CSSPropertyStrokeWidth, > CSSPropertyTableLayout, > CSSPropertyTabSize, > CSSPropertyTextAlign, >+ CSSPropertyTextAnchor, > CSSPropertyTextDecoration, >-#if ENABLE(CSS3_TEXT) >- CSSPropertyWebkitTextAlignLast, >- CSSPropertyWebkitTextJustify, >-#endif // CSS3_TEXT >- CSSPropertyTextDecorationLine, >- CSSPropertyTextDecorationStyle, > CSSPropertyTextDecorationColor, >+ CSSPropertyTextDecorationLine, > CSSPropertyTextDecorationSkip, >- CSSPropertyTextUnderlinePosition, >+ CSSPropertyTextDecorationStyle, > CSSPropertyTextIndent, >+ CSSPropertyTextOverflow, > CSSPropertyTextRendering, > CSSPropertyTextShadow, >- CSSPropertyTextOverflow, > CSSPropertyTextTransform, >+ CSSPropertyTextUnderlinePosition, > CSSPropertyTop, >+#if ENABLE(POINTER_EVENTS) >+ CSSPropertyTouchAction, >+#endif > CSSPropertyTransform, > CSSPropertyTransformBox, > CSSPropertyTransformOrigin, >@@ -231,6 +345,7 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyTransitionProperty, > CSSPropertyTransitionTimingFunction, > CSSPropertyUnicodeBidi, >+ CSSPropertyVectorEffect, > CSSPropertyVerticalAlign, > CSSPropertyVisibility, > CSSPropertyWhiteSpace, >@@ -240,32 +355,21 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWordBreak, > CSSPropertyWordSpacing, > CSSPropertyWordWrap, >-#if ENABLE(CSS_SCROLL_SNAP) >- CSSPropertyScrollSnapMargin, >- CSSPropertyScrollSnapMarginLeft, >- CSSPropertyScrollSnapMarginTop, >- CSSPropertyScrollSnapMarginRight, >- CSSPropertyScrollSnapMarginBottom, >- CSSPropertyScrollPadding, >- CSSPropertyScrollPaddingLeft, >- CSSPropertyScrollPaddingTop, >- CSSPropertyScrollPaddingRight, >- CSSPropertyScrollPaddingBottom, >- CSSPropertyScrollSnapType, >- CSSPropertyScrollSnapAlign, >-#endif >+ CSSPropertyWritingMode, >+ CSSPropertyX, >+ CSSPropertyY, > CSSPropertyZIndex, > CSSPropertyZoom, >+ CSSPropertyAppleColorFilter, > CSSPropertyWebkitAppearance, >+#if ENABLE(FILTERS_LEVEL_2) >+ CSSPropertyWebkitBackdropFilter, >+#endif > CSSPropertyWebkitBackfaceVisibility, > CSSPropertyWebkitBackgroundClip, > CSSPropertyWebkitBackgroundComposite, > CSSPropertyWebkitBackgroundOrigin, > CSSPropertyWebkitBackgroundSize, >-#if ENABLE(CSS_COMPOSITING) >- CSSPropertyMixBlendMode, >- CSSPropertyIsolation, >-#endif > CSSPropertyWebkitBorderFit, > CSSPropertyWebkitBorderHorizontalSpacing, > CSSPropertyWebkitBorderImage, >@@ -284,63 +388,16 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWebkitBoxReflect, > CSSPropertyWebkitBoxShadow, > CSSPropertyWebkitClipPath, >+ CSSPropertyWebkitColumnAxis, > CSSPropertyWebkitColumnBreakAfter, > CSSPropertyWebkitColumnBreakBefore, > CSSPropertyWebkitColumnBreakInside, >- CSSPropertyWebkitColumnAxis, >- CSSPropertyColumnCount, >- CSSPropertyColumnFill, >- CSSPropertyColumnGap, >- CSSPropertyRowGap, > CSSPropertyWebkitColumnProgression, >- CSSPropertyColumnRuleColor, >- CSSPropertyColumnRuleStyle, >- CSSPropertyColumnRuleWidth, >- CSSPropertyColumnSpan, >- CSSPropertyColumnWidth, > #if ENABLE(CURSOR_VISIBILITY) > CSSPropertyWebkitCursorVisibility, >-#endif >- CSSPropertyAlignContent, >- CSSPropertyAlignItems, >- CSSPropertyAlignSelf, >- CSSPropertyFilter, >- CSSPropertyFlexBasis, >- CSSPropertyFlexDirection, >- CSSPropertyFlexFlow, >- CSSPropertyFlexGrow, >- CSSPropertyFlexShrink, >- CSSPropertyFlexWrap, >- CSSPropertyJustifyContent, >- CSSPropertyJustifySelf, >- CSSPropertyJustifyItems, >- CSSPropertyPlaceContent, >- CSSPropertyPlaceItems, >- CSSPropertyPlaceSelf, >-#if ENABLE(FILTERS_LEVEL_2) >- CSSPropertyWebkitBackdropFilter, > #endif > CSSPropertyWebkitFontKerning, > CSSPropertyWebkitFontSmoothing, >- CSSPropertyFontVariantLigatures, >- CSSPropertyFontVariantPosition, >- CSSPropertyFontVariantCaps, >- CSSPropertyFontVariantNumeric, >- CSSPropertyFontVariantAlternates, >- CSSPropertyFontVariantEastAsian, >-#if ENABLE(VARIATION_FONTS) >- CSSPropertyFontVariationSettings, >-#endif >- CSSPropertyGridAutoColumns, >- CSSPropertyGridAutoFlow, >- CSSPropertyGridAutoRows, >- CSSPropertyGridColumnEnd, >- CSSPropertyGridColumnStart, >- CSSPropertyGridTemplateAreas, >- CSSPropertyGridTemplateColumns, >- CSSPropertyGridTemplateRows, >- CSSPropertyGridRowEnd, >- CSSPropertyGridRowStart, > CSSPropertyWebkitHyphenateCharacter, > CSSPropertyWebkitHyphenateLimitAfter, > CSSPropertyWebkitHyphenateLimitBefore, >@@ -349,13 +406,12 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWebkitInitialLetter, > CSSPropertyWebkitLineAlign, > CSSPropertyWebkitLineBoxContain, >- CSSPropertyLineBreak, > CSSPropertyWebkitLineClamp, > CSSPropertyWebkitLineGrid, > CSSPropertyWebkitLineSnap, > CSSPropertyWebkitLocale, >- CSSPropertyWebkitMarginBeforeCollapse, > CSSPropertyWebkitMarginAfterCollapse, >+ CSSPropertyWebkitMarginBeforeCollapse, > CSSPropertyWebkitMarqueeDirection, > CSSPropertyWebkitMarqueeIncrement, > CSSPropertyWebkitMarqueeRepetition, >@@ -375,19 +431,16 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWebkitMaskSize, > CSSPropertyWebkitMaskSourceType, > CSSPropertyWebkitNbspMode, >- CSSPropertyOrder, > #if ENABLE(OVERFLOW_SCROLLING_TOUCH) > CSSPropertyWebkitOverflowScrolling, > #endif >- CSSPropertyPerspective, >- CSSPropertyPerspectiveOrigin, > CSSPropertyWebkitPrintColorAdjust, > CSSPropertyWebkitRtlOrdering, >-#if PLATFORM(IOS_FAMILY) >- CSSPropertyWebkitTouchCallout, >-#endif > #if ENABLE(TOUCH_EVENTS) > CSSPropertyWebkitTapHighlightColor, >+#endif >+#if ENABLE(CSS3_TEXT) >+ CSSPropertyWebkitTextAlignLast, > #endif > CSSPropertyWebkitTextCombine, > CSSPropertyWebkitTextDecorationsInEffect, >@@ -395,6 +448,9 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWebkitTextEmphasisPosition, > CSSPropertyWebkitTextEmphasisStyle, > CSSPropertyWebkitTextFillColor, >+#if ENABLE(CSS3_TEXT) >+ CSSPropertyWebkitTextJustify, >+#endif > CSSPropertyWebkitTextOrientation, > CSSPropertyWebkitTextSecurity, > #if ENABLE(TEXT_AUTOSIZING) >@@ -403,62 +459,13 @@ static const CSSPropertyID computedProperties[] = { > CSSPropertyWebkitTextStrokeColor, > CSSPropertyWebkitTextStrokeWidth, > CSSPropertyWebkitTextZoom, >+#if PLATFORM(IOS_FAMILY) >+ CSSPropertyWebkitTouchCallout, >+#endif > CSSPropertyWebkitTransformStyle, > CSSPropertyWebkitUserDrag, > CSSPropertyWebkitUserModify, > CSSPropertyWebkitUserSelect, >- CSSPropertyShapeImageThreshold, >- CSSPropertyShapeMargin, >- CSSPropertyShapeOutside, >- CSSPropertyShapeRendering, >- CSSPropertyBufferedRendering, >- CSSPropertyClipPath, >- CSSPropertyClipRule, >- CSSPropertyCx, >- CSSPropertyCy, >- CSSPropertyMask, >- CSSPropertyMaskType, >- CSSPropertyFloodColor, >- CSSPropertyFloodOpacity, >- CSSPropertyLightingColor, >- CSSPropertyStopColor, >- CSSPropertyStopOpacity, >- CSSPropertyColorInterpolation, >- CSSPropertyColorInterpolationFilters, >- CSSPropertyColorRendering, >- CSSPropertyFill, >- CSSPropertyFillOpacity, >- CSSPropertyFillRule, >- CSSPropertyMarkerEnd, >- CSSPropertyMarkerMid, >- CSSPropertyMarkerStart, >- CSSPropertyPaintOrder, >- CSSPropertyR, >- CSSPropertyRx, >- CSSPropertyRy, >- CSSPropertyStroke, >- CSSPropertyStrokeColor, >- CSSPropertyStrokeDasharray, >- CSSPropertyStrokeDashoffset, >- CSSPropertyStrokeLinecap, >- CSSPropertyStrokeLinejoin, >- CSSPropertyStrokeMiterlimit, >- CSSPropertyStrokeOpacity, >- CSSPropertyStrokeWidth, >-#if ENABLE(DARK_MODE_CSS) >- CSSPropertyColorScheme, >-#endif >- CSSPropertyAlignmentBaseline, >- CSSPropertyBaselineShift, >- CSSPropertyDominantBaseline, >- CSSPropertyKerning, >- CSSPropertyTextAnchor, >- CSSPropertyWritingMode, >- CSSPropertyGlyphOrientationHorizontal, >- CSSPropertyGlyphOrientationVertical, >- CSSPropertyVectorEffect, >- CSSPropertyX, >- CSSPropertyY > }; > > const unsigned numComputedProperties = WTF_ARRAY_LENGTH(computedProperties);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198743
:
371825
|
371827
|
371828
|
371829
|
371831
|
371850
|
371856
|
371858
|
371860
|
371861
|
371866
|
371867
|
371869
|
371870
|
371876
|
371880
|
371882