| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
| 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| (...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1474 } | 1474 } |
| 1475 | 1475 |
| 1476 static EDisplay equivalentBlockDisplay(EDisplay display, bool isFloating, bool s
trictParsing) | 1476 static EDisplay equivalentBlockDisplay(EDisplay display, bool isFloating, bool s
trictParsing) |
| 1477 { | 1477 { |
| 1478 switch (display) { | 1478 switch (display) { |
| 1479 case BLOCK: | 1479 case BLOCK: |
| 1480 case TABLE: | 1480 case TABLE: |
| 1481 case BOX: | 1481 case BOX: |
| 1482 case FLEX: | 1482 case FLEX: |
| 1483 case GRID: | 1483 case GRID: |
| 1484 case LAZY_BLOCK: |
| 1484 return display; | 1485 return display; |
| 1485 | 1486 |
| 1486 case LIST_ITEM: | 1487 case LIST_ITEM: |
| 1487 // It is a WinIE bug that floated list items lose their bullets, so we'l
l emulate the quirk, but only in quirks mode. | 1488 // It is a WinIE bug that floated list items lose their bullets, so we'l
l emulate the quirk, but only in quirks mode. |
| 1488 if (!strictParsing && isFloating) | 1489 if (!strictParsing && isFloating) |
| 1489 return BLOCK; | 1490 return BLOCK; |
| 1490 return display; | 1491 return display; |
| 1491 case INLINE_TABLE: | 1492 case INLINE_TABLE: |
| 1492 return TABLE; | 1493 return TABLE; |
| 1493 case INLINE_BOX: | 1494 case INLINE_BOX: |
| (...skipping 3149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4643 info.addMember(m_state, "state"); | 4644 info.addMember(m_state, "state"); |
| 4644 | 4645 |
| 4645 // FIXME: move this to a place where it would be called only once? | 4646 // FIXME: move this to a place where it would be called only once? |
| 4646 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); | 4647 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); |
| 4647 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl
e"); | 4648 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl
e"); |
| 4648 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle,"defaultPrintStyle")
; | 4649 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle,"defaultPrintStyle")
; |
| 4649 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo
urceStyle"); | 4650 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo
urceStyle"); |
| 4650 } | 4651 } |
| 4651 | 4652 |
| 4652 } // namespace WebCore | 4653 } // namespace WebCore |
| OLD | NEW |