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

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

Issue 2464053003: Always paint background and shadow separately (Closed)
Patch Set: Rebaseline-cl (invisible pixel changes along shadow edges) (The original Patch Set 2 was removed to get the try result in Patch Set 1) Created 4 years, 1 month 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 } 344 }
345 345
346 void willBeRemovedFromTree() override; 346 void willBeRemovedFromTree() override;
347 347
348 void updateLogicalWidth() override; 348 void updateLogicalWidth() override;
349 349
350 void paintBoxDecorationBackground(const PaintInfo&, 350 void paintBoxDecorationBackground(const PaintInfo&,
351 const LayoutPoint&) const override; 351 const LayoutPoint&) const override;
352 void paintMask(const PaintInfo&, const LayoutPoint&) const override; 352 void paintMask(const PaintInfo&, const LayoutPoint&) const override;
353 353
354 bool boxShadowShouldBeAppliedToBackground(
355 BackgroundBleedAvoidance,
356 const InlineFlowBox*) const override;
357
358 LayoutSize offsetFromContainer(const LayoutObject*) const override; 354 LayoutSize offsetFromContainer(const LayoutObject*) const override;
359 LayoutRect localVisualRect() const override; 355 LayoutRect localVisualRect() const override;
360 356
361 int borderHalfLeft(bool outer) const; 357 int borderHalfLeft(bool outer) const;
362 int borderHalfRight(bool outer) const; 358 int borderHalfRight(bool outer) const;
363 int borderHalfTop(bool outer) const; 359 int borderHalfTop(bool outer) const;
364 int borderHalfBottom(bool outer) const; 360 int borderHalfBottom(bool outer) const;
365 361
366 int borderHalfStart(bool outer) const; 362 int borderHalfStart(bool outer) const;
367 int borderHalfEnd(bool outer) const; 363 int borderHalfEnd(bool outer) const;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 return toLayoutTableCell(firstChild()); 444 return toLayoutTableCell(firstChild());
449 } 445 }
450 446
451 inline LayoutTableCell* LayoutTableRow::lastCell() const { 447 inline LayoutTableCell* LayoutTableRow::lastCell() const {
452 return toLayoutTableCell(lastChild()); 448 return toLayoutTableCell(lastChild());
453 } 449 }
454 450
455 } // namespace blink 451 } // namespace blink
456 452
457 #endif // LayoutTableCell_h 453 #endif // LayoutTableCell_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutImage.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698