+2012-02-27 Ojan Vafai <ojan@chromium.org>
+
+ implement display: -webkit-inline-flexbox
+ https://bugs.webkit.org/show_bug.cgi?id=77772
+
+ Reviewed by David Hyatt.
+
+ * css3/flexbox/inline-flexbox-expected.html: Added.
+ * css3/flexbox/inline-flexbox.html: Added.
+
2012-02-27 Ken Buchanan <kenrb@chromium.org>
Absolute positioned elements with Inline Relative Positioned Container are not layout correctly
+2012-02-27 Ojan Vafai <ojan@chromium.org>
+
+ implement display: -webkit-inline-flexbox
+ https://bugs.webkit.org/show_bug.cgi?id=77772
+
+ Reviewed by David Hyatt.
+
+ Tests: css3/flexbox/inline-flexbox-expected.html
+ css3/flexbox/inline-flexbox.html
+
+ * rendering/style/RenderStyle.h:
+ -Add INLINE_FLEXBOX to the list of replaced display types.
+ -Restructure the isDisplayInline methods to avoid code duplication.
+
2012-02-27 Ken Buchanan <kenrb@chromium.org>
Absolute positioned elements with Inline Relative Positioned Container are not layout correctly
StyleDifference diff(const RenderStyle*, unsigned& changedContextSensitiveProperties) const;
- bool isDisplayReplacedType() const
- {
- return display() == INLINE_BLOCK || display() == INLINE_BOX || display() == INLINE_TABLE;
- }
-
- bool isDisplayInlineType() const
- {
- return display() == INLINE || isDisplayReplacedType();
- }
-
- bool isOriginalDisplayInlineType() const
- {
- return originalDisplay() == INLINE || originalDisplay() == INLINE_BLOCK
- || originalDisplay() == INLINE_BOX || originalDisplay() == INLINE_TABLE;
- }
+ bool isDisplayReplacedType() const { return isDisplayReplacedType(display()); }
+ bool isDisplayInlineType() const { return isDisplayInlineType(display()); }
+ bool isOriginalDisplayInlineType() const { return isDisplayInlineType(originalDisplay()); }
void setWritingMode(WritingMode v) { inherited_flags.m_writingMode = v; }
return isHorizontalWritingMode() ? getImageVerticalOutsets(image, logicalTop, logicalBottom) : getImageHorizontalOutsets(image, logicalTop, logicalBottom);
}
+ bool isDisplayReplacedType(EDisplay display) const
+ {
+ return display == INLINE_BLOCK || display == INLINE_BOX || display == INLINE_FLEXBOX || display == INLINE_TABLE;
+ }
+ bool isDisplayInlineType(EDisplay display) const { return display == INLINE || isDisplayReplacedType(display); }
+
// Color accessors are all private to make sure callers use visitedDependentColor instead to access them.
const Color& invalidColor() const { static Color invalid; return invalid; }
const Color& borderLeftColor() const { return surround->border.left().color(); }