Changeset 251058 in webkit for trunk/Source/WebCore/css/CSSLineBoxContainValue.cpp
- Timestamp:
- Oct 13, 2019, 9:02:54 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSLineBoxContainValue.cpp
r173217 r251058 31 31 namespace WebCore { 32 32 33 CSSLineBoxContainValue::CSSLineBoxContainValue( unsignedvalue)33 CSSLineBoxContainValue::CSSLineBoxContainValue(OptionSet<LineBoxContain> value) 34 34 : CSSValue(LineBoxContainClass) 35 35 , m_value(value) … … 41 41 StringBuilder text; 42 42 43 if (m_value & LineBoxContainBlock)43 if (m_value.contains(LineBoxContain::Block)) 44 44 text.appendLiteral("block"); 45 if (m_value & LineBoxContainInline) { 45 46 if (m_value.contains(LineBoxContain::Inline)) { 46 47 if (!text.isEmpty()) 47 48 text.append(' '); 48 49 text.appendLiteral("inline"); 49 50 } 50 if (m_value & LineBoxContainFont) {51 if (m_value.contains(LineBoxContain::Font)) { 51 52 if (!text.isEmpty()) 52 53 text.append(' '); 53 54 text.appendLiteral("font"); 54 55 } 55 if (m_value & LineBoxContainGlyphs) {56 if (m_value.contains(LineBoxContain::Glyphs)) { 56 57 if (!text.isEmpty()) 57 58 text.append(' '); 58 59 text.appendLiteral("glyphs"); 59 60 } 60 if (m_value & LineBoxContainReplaced) {61 if (m_value.contains(LineBoxContain::Replaced)) { 61 62 if (!text.isEmpty()) 62 63 text.append(' '); 63 64 text.appendLiteral("replaced"); 64 65 } 65 if (m_value & LineBoxContainInlineBox) {66 if (m_value.contains(LineBoxContain::InlineBox)) { 66 67 if (!text.isEmpty()) 67 68 text.append(' '); 68 69 text.appendLiteral("inline-box"); 69 70 } 70 if (m_value & LineBoxContainInitialLetter) {71 if (m_value.contains(LineBoxContain::InitialLetter)) { 71 72 if (!text.isEmpty()) 72 73 text.append(' ');
Note:
See TracChangeset
for help on using the changeset viewer.