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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 1681273003: Add CSS parser support for break-after, break-before and break-inside. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 enum TextAlignLast { 314 enum TextAlignLast {
315 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify 315 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify
316 }; 316 };
317 317
318 enum TextUnderlinePosition { 318 enum TextUnderlinePosition {
319 // FIXME: Implement support for 'under left' and 'under right' values. 319 // FIXME: Implement support for 'under left' and 'under right' values.
320 TextUnderlinePositionAuto, 320 TextUnderlinePositionAuto,
321 TextUnderlinePositionUnder 321 TextUnderlinePositionUnder
322 }; 322 };
323 323
324 enum EPageBreak { 324 enum EBreak {
325 PBAUTO, PBALWAYS, PBAVOID 325 BreakAuto,
326 BreakAvoid,
327 BreakAvoidColumn,
328 BreakAvoidPage,
329 // Values below are only allowed for break-after and break-before. Values ab ove are also
330 // allowed for break-inside (in addition to break-after and break-before).
331 BreakValueLastAllowedForBreakInside = BreakAvoidPage,
332 BreakColumn,
333 BreakLeft,
334 BreakPage,
335 BreakRecto,
336 BreakRight,
337 BreakVerso,
338 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso,
339 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} sho rthands.
326 }; 340 };
327 341
328 enum EEmptyCell { 342 enum EEmptyCell {
329 SHOW, HIDE 343 SHOW, HIDE
330 }; 344 };
331 345
332 enum ECaptionSide { 346 enum ECaptionSide {
333 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT 347 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT
334 }; 348 };
335 349
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 568
555 enum ScrollSnapType { 569 enum ScrollSnapType {
556 ScrollSnapTypeNone, 570 ScrollSnapTypeNone,
557 ScrollSnapTypeMandatory, 571 ScrollSnapTypeMandatory,
558 ScrollSnapTypeProximity 572 ScrollSnapTypeProximity
559 }; 573 };
560 574
561 } // namespace blink 575 } // namespace blink
562 576
563 #endif // ComputedStyleConstants_h 577 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/StyleMultiColData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698