|
Lines 1435-1455
public:
a/Source/WebCore/rendering/style/RenderStyle.h_sec1
|
| 1435 |
|
1435 |
|
| 1436 |
StyleDifference diff(const RenderStyle*, unsigned& changedContextSensitiveProperties) const; |
1436 |
StyleDifference diff(const RenderStyle*, unsigned& changedContextSensitiveProperties) const; |
| 1437 |
|
1437 |
|
| 1438 |
bool isDisplayReplacedType() const |
1438 |
bool isDisplayReplacedType(EDisplay display) const |
| 1439 |
{ |
1439 |
{ |
| 1440 |
return display() == INLINE_BLOCK || display() == INLINE_BOX || display() == INLINE_TABLE; |
1440 |
return display == INLINE_BLOCK || display == INLINE_BOX || display == INLINE_FLEXBOX || display == INLINE_TABLE; |
| 1441 |
} |
|
|
| 1442 |
|
| 1443 |
bool isDisplayInlineType() const |
| 1444 |
{ |
| 1445 |
return display() == INLINE || isDisplayReplacedType(); |
| 1446 |
} |
| 1447 |
|
| 1448 |
bool isOriginalDisplayInlineType() const |
| 1449 |
{ |
| 1450 |
return originalDisplay() == INLINE || originalDisplay() == INLINE_BLOCK |
| 1451 |
|| originalDisplay() == INLINE_BOX || originalDisplay() == INLINE_TABLE; |
| 1452 |
} |
1441 |
} |
|
|
1442 |
bool isDisplayReplacedType() const { return isDisplayReplacedType(display()); } |
| 1443 |
bool isDisplayInlineType(EDisplay display) const { return display == INLINE || isDisplayReplacedType(display); } |
| 1444 |
bool isDisplayInlineType() const { return isDisplayInlineType(display()); } |
| 1445 |
bool isOriginalDisplayInlineType() const { return isDisplayInlineType(originalDisplay()); } |
| 1453 |
|
1446 |
|
| 1454 |
void setWritingMode(WritingMode v) { inherited_flags.m_writingMode = v; } |
1447 |
void setWritingMode(WritingMode v) { inherited_flags.m_writingMode = v; } |
| 1455 |
|
1448 |
|