| OLD | NEW |
| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 enum StyleDifferenceContextSensitiveProperty { | 63 enum StyleDifferenceContextSensitiveProperty { |
| 64 ContextSensitivePropertyNone = 0, | 64 ContextSensitivePropertyNone = 0, |
| 65 ContextSensitivePropertyTransform = (1 << 0), | 65 ContextSensitivePropertyTransform = (1 << 0), |
| 66 ContextSensitivePropertyOpacity = (1 << 1), | 66 ContextSensitivePropertyOpacity = (1 << 1), |
| 67 ContextSensitivePropertyFilter = (1 << 2) | 67 ContextSensitivePropertyFilter = (1 << 2) |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 // Static pseudo styles. Dynamic ones are produced on the fly. | 70 // Static pseudo styles. Dynamic ones are produced on the fly. |
| 71 enum PseudoId { | 71 enum PseudoId { |
| 72 // The order must be NOP ID, public IDs, and then internal IDs. | 72 // The order must be NOP ID, public IDs, and then internal IDs. |
| 73 NOPSEUDO, FIRST_LINE, FIRST_LETTER, BEFORE, AFTER, SELECTION, FIRST_LINE_INH
ERITED, SCROLLBAR, | 73 // If you add or remove a public ID, you must update _pseudoBits in RenderSt
yle. |
| 74 NOPSEUDO, FIRST_LINE, FIRST_LETTER, BEFORE, AFTER, BACKDROP, SELECTION, FIRS
T_LINE_INHERITED, SCROLLBAR, |
| 74 // Internal IDs follow: | 75 // Internal IDs follow: |
| 75 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S
CROLLBAR_CORNER, RESIZER, | 76 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S
CROLLBAR_CORNER, RESIZER, |
| 76 INPUT_LIST_BUTTON, | 77 INPUT_LIST_BUTTON, |
| 77 AFTER_LAST_INTERNAL_PSEUDOID, | 78 AFTER_LAST_INTERNAL_PSEUDOID, |
| 78 FULL_SCREEN, FULL_SCREEN_DOCUMENT, FULL_SCREEN_ANCESTOR, | 79 FULL_SCREEN, FULL_SCREEN_DOCUMENT, FULL_SCREEN_ANCESTOR, |
| 79 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, | 80 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, |
| 80 FIRST_INTERNAL_PSEUDOID = SCROLLBAR_THUMB, | 81 FIRST_INTERNAL_PSEUDOID = SCROLLBAR_THUMB, |
| 81 PUBLIC_PSEUDOID_MASK = ((1 << FIRST_INTERNAL_PSEUDOID) - 1) & ~((1 << FIRST_
PUBLIC_PSEUDOID) - 1) | 82 PUBLIC_PSEUDOID_MASK = ((1 << FIRST_INTERNAL_PSEUDOID) - 1) & ~((1 << FIRST_
PUBLIC_PSEUDOID) - 1) |
| 82 }; | 83 }; |
| 83 | 84 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). | 501 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). |
| 501 static const float maximumAllowedFontSize = 1000000.0f; | 502 static const float maximumAllowedFontSize = 1000000.0f; |
| 502 | 503 |
| 503 #if ENABLE(CSS3_TEXT) | 504 #if ENABLE(CSS3_TEXT) |
| 504 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 505 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 505 #endif | 506 #endif |
| 506 | 507 |
| 507 } // namespace WebCore | 508 } // namespace WebCore |
| 508 | 509 |
| 509 #endif // RenderStyleConstants_h | 510 #endif // RenderStyleConstants_h |
| OLD | NEW |