Changeset 214624 in webkit for trunk/Source/WebCore/css/CSSContentDistributionValue.cpp
- Timestamp:
- Mar 30, 2017, 2:27:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSContentDistributionValue.cpp
r200626 r214624 46 46 String CSSContentDistributionValue::customCSSText() const 47 47 { 48 auto& cssValuePool = CSSValuePool::singleton(); 48 49 auto list = CSSValueList::createSpaceSeparated(); 49 50 if (m_distribution != CSSValueInvalid) 50 51 list->append(distribution()); 51 if (m_position != CSSValueInvalid) 52 list->append(position()); 52 if (m_position != CSSValueInvalid) { 53 if (m_position == CSSValueFirstBaseline || m_position == CSSValueLastBaseline) { 54 CSSValueID preference = m_position == CSSValueFirstBaseline ? CSSValueFirst : CSSValueLast; 55 list->append(cssValuePool.createIdentifierValue(preference)); 56 list->append(cssValuePool.createIdentifierValue(CSSValueBaseline)); 57 } else 58 list->append(position()); 59 } 53 60 if (m_overflow != CSSValueInvalid) 54 61 list->append(overflow());
Note:
See TracChangeset
for help on using the changeset viewer.