|
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() const { return isDisplayReplacedType(display()); } |
| 1439 |
{ |
1439 |
bool isDisplayInlineType() const { return isDisplayInlineType(display()); } |
| 1440 |
return display() == INLINE_BLOCK || display() == INLINE_BOX || display() == INLINE_TABLE; |
1440 |
bool isOriginalDisplayInlineType() const { return isDisplayInlineType(originalDisplay()); } |
| 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 |
} |
| 1453 |
|
1441 |
|
| 1454 |
void setWritingMode(WritingMode v) { inherited_flags.m_writingMode = v; } |
1442 |
void setWritingMode(WritingMode v) { inherited_flags.m_writingMode = v; } |
| 1455 |
|
1443 |
|
|
Lines 1692-1697
private:
a/Source/WebCore/rendering/style/RenderStyle.h_sec2
|
| 1692 |
return isHorizontalWritingMode() ? getImageVerticalOutsets(image, logicalTop, logicalBottom) : getImageHorizontalOutsets(image, logicalTop, logicalBottom); |
1680 |
return isHorizontalWritingMode() ? getImageVerticalOutsets(image, logicalTop, logicalBottom) : getImageHorizontalOutsets(image, logicalTop, logicalBottom); |
| 1693 |
} |
1681 |
} |
| 1694 |
|
1682 |
|
|
|
1683 |
bool isDisplayReplacedType(EDisplay display) const |
| 1684 |
{ |
| 1685 |
return display == INLINE_BLOCK || display == INLINE_BOX || display == INLINE_FLEXBOX || display == INLINE_TABLE; |
| 1686 |
} |
| 1687 |
bool isDisplayInlineType(EDisplay display) const { return display == INLINE || isDisplayReplacedType(display); } |
| 1688 |
|
| 1695 |
// Color accessors are all private to make sure callers use visitedDependentColor instead to access them. |
1689 |
// Color accessors are all private to make sure callers use visitedDependentColor instead to access them. |
| 1696 |
const Color& invalidColor() const { static Color invalid; return invalid; } |
1690 |
const Color& invalidColor() const { static Color invalid; return invalid; } |
| 1697 |
const Color& borderLeftColor() const { return surround->border.left().color(); } |
1691 |
const Color& borderLeftColor() const { return surround->border.left().color(); } |