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

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: Update some text expectations, and move the new properties into ComputedStyle, since they aren't ra… 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 BreakAvoidRegion,
330 // Values below are only allowed for break-after and break-before. Values ab ove are also
331 // allowed for break-inside (in addition to break-after and break-before).
332 BreakValueLastAllowedForBreakInside = BreakAvoidRegion,
333 BreakColumn,
334 BreakLeft,
335 BreakPage,
336 BreakRecto,
337 BreakRegion,
338 BreakRight,
339 BreakVerso,
340 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso,
341 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} sho rthands.
326 }; 342 };
327 343
328 enum EEmptyCell { 344 enum EEmptyCell {
329 SHOW, HIDE 345 SHOW, HIDE
330 }; 346 };
331 347
332 enum ECaptionSide { 348 enum ECaptionSide {
333 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT 349 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT
334 }; 350 };
335 351
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 570
555 enum ScrollSnapType { 571 enum ScrollSnapType {
556 ScrollSnapTypeNone, 572 ScrollSnapTypeNone,
557 ScrollSnapTypeMandatory, 573 ScrollSnapTypeMandatory,
558 ScrollSnapTypeProximity 574 ScrollSnapTypeProximity
559 }; 575 };
560 576
561 } // namespace blink 577 } // namespace blink
562 578
563 #endif // ComputedStyleConstants_h 579 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698