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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp

Issue 1602773005: Respect break-inside:avoid on table rows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 9 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "core/frame/FrameView.h" 34 #include "core/frame/FrameView.h"
35 #include "core/frame/LocalFrame.h" 35 #include "core/frame/LocalFrame.h"
36 #include "core/frame/Settings.h" 36 #include "core/frame/Settings.h"
37 #include "core/html/HTMLDialogElement.h" 37 #include "core/html/HTMLDialogElement.h"
38 #include "core/layout/HitTestLocation.h" 38 #include "core/layout/HitTestLocation.h"
39 #include "core/layout/LayoutAnalyzer.h" 39 #include "core/layout/LayoutAnalyzer.h"
40 #include "core/layout/LayoutFlowThread.h" 40 #include "core/layout/LayoutFlowThread.h"
41 #include "core/layout/LayoutMultiColumnFlowThread.h" 41 #include "core/layout/LayoutMultiColumnFlowThread.h"
42 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" 42 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h"
43 #include "core/layout/LayoutPagedFlowThread.h" 43 #include "core/layout/LayoutPagedFlowThread.h"
44 #include "core/layout/LayoutTableCell.h"
mstensho (USE GERRIT) 2016/03/29 09:57:46 No need for this.
44 #include "core/layout/LayoutText.h" 45 #include "core/layout/LayoutText.h"
45 #include "core/layout/LayoutView.h" 46 #include "core/layout/LayoutView.h"
46 #include "core/layout/TextAutosizer.h" 47 #include "core/layout/TextAutosizer.h"
47 #include "core/layout/api/SelectionState.h" 48 #include "core/layout/api/SelectionState.h"
48 #include "core/layout/line/GlyphOverflow.h" 49 #include "core/layout/line/GlyphOverflow.h"
49 #include "core/layout/line/LineBreaker.h" 50 #include "core/layout/line/LineBreaker.h"
50 #include "core/layout/line/LineWidth.h" 51 #include "core/layout/line/LineWidth.h"
51 #include "core/layout/shapes/ShapeOutsideInfo.h" 52 #include "core/layout/shapes/ShapeOutsideInfo.h"
52 #include "core/paint/BlockFlowPainter.h" 53 #include "core/paint/BlockFlowPainter.h"
53 #include "core/paint/ClipScope.h" 54 #include "core/paint/ClipScope.h"
(...skipping 2871 matching lines...) Expand 10 before | Expand all | Expand 10 after
2925 // FIXME: Glyph overflow will get lost in this case, but not really a big de al. 2926 // FIXME: Glyph overflow will get lost in this case, but not really a big de al.
2926 GlyphOverflowAndFallbackFontsMap textBoxDataMap; 2927 GlyphOverflowAndFallbackFontsMap textBoxDataMap;
2927 for (ListHashSet<RootInlineBox*>::const_iterator it = lineBoxes.begin(); it != lineBoxes.end(); ++it) { 2928 for (ListHashSet<RootInlineBox*>::const_iterator it = lineBoxes.begin(); it != lineBoxes.end(); ++it) {
2928 RootInlineBox* box = *it; 2929 RootInlineBox* box = *it;
2929 box->computeOverflow(box->lineTop(), box->lineBottom(), textBoxDataMap); 2930 box->computeOverflow(box->lineTop(), box->lineBottom(), textBoxDataMap);
2930 } 2931 }
2931 return childrenOverflowChanged; 2932 return childrenOverflowChanged;
2932 } 2933 }
2933 2934
2934 } // namespace blink 2935 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698