Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2361373002: [css-grid] Clearing override sizes before running grid's layout logic. (Closed)
Patch Set: A new approach, just facing orthogonal flow issues. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav e them store 537 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav e them store
538 // the border-box height/width like the regular height/width accessors on La youtBox. 538 // the border-box height/width like the regular height/width accessors on La youtBox.
539 // Right now, these are different than contentHeight/contentWidth because th ey still 539 // Right now, these are different than contentHeight/contentWidth because th ey still
540 // include the scrollbar height/width. 540 // include the scrollbar height/width.
541 LayoutUnit overrideLogicalContentWidth() const; 541 LayoutUnit overrideLogicalContentWidth() const;
542 LayoutUnit overrideLogicalContentHeight() const; 542 LayoutUnit overrideLogicalContentHeight() const;
543 bool hasOverrideLogicalContentHeight() const; 543 bool hasOverrideLogicalContentHeight() const;
544 bool hasOverrideLogicalContentWidth() const; 544 bool hasOverrideLogicalContentWidth() const;
545 void setOverrideLogicalContentHeight(LayoutUnit); 545 void setOverrideLogicalContentHeight(LayoutUnit);
546 void setOverrideLogicalContentWidth(LayoutUnit); 546 void setOverrideLogicalContentWidth(LayoutUnit);
547 bool hasOverrideSize();
547 void clearOverrideSize(); 548 void clearOverrideSize();
548 void clearOverrideLogicalContentHeight(); 549 void clearOverrideLogicalContentHeight();
549 void clearOverrideLogicalContentWidth(); 550 void clearOverrideLogicalContentWidth();
550 551
551 LayoutUnit overrideContainingBlockContentLogicalWidth() const; 552 LayoutUnit overrideContainingBlockContentLogicalWidth() const;
552 LayoutUnit overrideContainingBlockContentLogicalHeight() const; 553 LayoutUnit overrideContainingBlockContentLogicalHeight() const;
553 bool hasOverrideContainingBlockLogicalWidth() const; 554 bool hasOverrideContainingBlockLogicalWidth() const;
554 bool hasOverrideContainingBlockLogicalHeight() const; 555 bool hasOverrideContainingBlockLogicalHeight() const;
555 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); 556 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit);
556 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); 557 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit);
558 bool hasContainingBlockOverrideSize();
557 void clearContainingBlockOverrideSize(); 559 void clearContainingBlockOverrideSize();
558 void clearOverrideContainingBlockContentLogicalHeight(); 560 void clearOverrideContainingBlockContentLogicalHeight();
559 561
560 LayoutUnit extraInlineOffset() const; 562 LayoutUnit extraInlineOffset() const;
561 LayoutUnit extraBlockOffset() const; 563 LayoutUnit extraBlockOffset() const;
562 void setExtraInlineOffset(LayoutUnit inlineOffest); 564 void setExtraInlineOffset(LayoutUnit inlineOffest);
563 void setExtraBlockOffset(LayoutUnit blockOffest); 565 void setExtraBlockOffset(LayoutUnit blockOffest);
564 void clearExtraInlineAndBlockOffests(); 566 void clearExtraInlineAndBlockOffests();
565 567
566 LayoutSize offsetFromContainer(const LayoutObject*) const override; 568 LayoutSize offsetFromContainer(const LayoutObject*) const override;
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 || breakValue == BreakLeft 1221 || breakValue == BreakLeft
1220 || breakValue == BreakPage 1222 || breakValue == BreakPage
1221 || breakValue == BreakRecto 1223 || breakValue == BreakRecto
1222 || breakValue == BreakRight 1224 || breakValue == BreakRight
1223 || breakValue == BreakVerso; 1225 || breakValue == BreakVerso;
1224 } 1226 }
1225 1227
1226 } // namespace blink 1228 } // namespace blink
1227 1229
1228 #endif // LayoutBox_h 1230 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698