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

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

Issue 2636253002: Handle nested position:sticky elements (Closed)
Patch Set: Ignore position:sticky offsets when computing localToAncestorQuad offsets Created 3 years, 10 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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc.
8 * All rights reserved. 8 * All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 367 }
368 368
369 void willBeRemovedFromTree() override; 369 void willBeRemovedFromTree() override;
370 370
371 void updateLogicalWidth() override; 371 void updateLogicalWidth() override;
372 372
373 void paintBoxDecorationBackground(const PaintInfo&, 373 void paintBoxDecorationBackground(const PaintInfo&,
374 const LayoutPoint&) const override; 374 const LayoutPoint&) const override;
375 void paintMask(const PaintInfo&, const LayoutPoint&) const override; 375 void paintMask(const PaintInfo&, const LayoutPoint&) const override;
376 376
377 LayoutSize offsetFromContainer(const LayoutObject*) const override; 377 LayoutSize offsetFromContainer(const LayoutObject*,
378 bool ignoreSticky = false) const override;
378 LayoutRect localVisualRect() const override; 379 LayoutRect localVisualRect() const override;
379 380
380 int borderHalfLeft(bool outer) const; 381 int borderHalfLeft(bool outer) const;
381 int borderHalfRight(bool outer) const; 382 int borderHalfRight(bool outer) const;
382 int borderHalfTop(bool outer) const; 383 int borderHalfTop(bool outer) const;
383 int borderHalfBottom(bool outer) const; 384 int borderHalfBottom(bool outer) const;
384 385
385 int borderHalfStart(bool outer) const; 386 int borderHalfStart(bool outer) const;
386 int borderHalfEnd(bool outer) const; 387 int borderHalfEnd(bool outer) const;
387 int borderHalfBefore(bool outer) const; 388 int borderHalfBefore(bool outer) const;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 return toLayoutTableCell(firstChild()); 470 return toLayoutTableCell(firstChild());
470 } 471 }
471 472
472 inline LayoutTableCell* LayoutTableRow::lastCell() const { 473 inline LayoutTableCell* LayoutTableRow::lastCell() const {
473 return toLayoutTableCell(lastChild()); 474 return toLayoutTableCell(lastChild());
474 } 475 }
475 476
476 } // namespace blink 477 } // namespace blink
477 478
478 #endif // LayoutTableCell_h 479 #endif // LayoutTableCell_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698