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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyleConstants.h

Issue 1060223002: Remove parsing for display:block/inline-block. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 CURSOR_WEBKIT_GRABBING, 334 CURSOR_WEBKIT_GRABBING,
335 335
336 // The following are handled as exceptions so don't need to match. 336 // The following are handled as exceptions so don't need to match.
337 CURSOR_COPY, 337 CURSOR_COPY,
338 CURSOR_NONE 338 CURSOR_NONE
339 }; 339 };
340 340
341 // The order of this enum must match the order of the display values in CSSValue Keywords.in. 341 // The order of this enum must match the order of the display values in CSSValue Keywords.in.
342 enum EDisplay { 342 enum EDisplay {
343 INLINE, PARAGRAPH, 343 INLINE, PARAGRAPH,
344 BLOCK, INLINE_BLOCK,
345 FLEX, INLINE_FLEX, 344 FLEX, INLINE_FLEX,
346 NONE, 345 NONE,
347 }; 346 };
348 347
349 enum EPointerEvents { 348 enum EPointerEvents {
350 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE, 349 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE,
351 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX, 350 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX,
352 PE_ALL 351 PE_ALL
353 }; 352 };
354 353
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 static const float maximumAllowedFontSize = 1000000.0f; 431 static const float maximumAllowedFontSize = 1000000.0f;
433 432
434 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 433 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
435 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 434 enum TextIndentType { TextIndentNormal, TextIndentHanging };
436 435
437 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 436 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
438 437
439 } // namespace blink 438 } // namespace blink
440 439
441 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 440 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698