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 23 matching lines...) Expand all Loading... |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/Element.h" | 35 #include "core/dom/Element.h" |
36 #include "core/frame/FrameView.h" | 36 #include "core/frame/FrameView.h" |
37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
38 #include "core/frame/UseCounter.h" | 38 #include "core/frame/UseCounter.h" |
39 #include "core/html/HTMLIFrameElement.h" | 39 #include "core/html/HTMLIFrameElement.h" |
40 #include "core/html/HTMLInputElement.h" | 40 #include "core/html/HTMLInputElement.h" |
41 #include "core/html/HTMLPlugInElement.h" | 41 #include "core/html/HTMLPlugInElement.h" |
42 #include "core/html/HTMLTableCellElement.h" | 42 #include "core/html/HTMLTableCellElement.h" |
43 #include "core/html/HTMLTextAreaElement.h" | 43 #include "core/html/HTMLTextAreaElement.h" |
44 #include "core/layout/LayoutReplaced.h" | |
45 #include "core/layout/LayoutTheme.h" | 44 #include "core/layout/LayoutTheme.h" |
46 #include "core/style/ComputedStyle.h" | 45 #include "core/style/ComputedStyle.h" |
47 #include "core/style/ComputedStyleConstants.h" | 46 #include "core/style/ComputedStyleConstants.h" |
48 #include "core/svg/SVGSVGElement.h" | 47 #include "core/svg/SVGSVGElement.h" |
49 #include "platform/Length.h" | 48 #include "platform/Length.h" |
50 #include "platform/transforms/TransformOperations.h" | 49 #include "platform/transforms/TransformOperations.h" |
51 #include "wtf/Assertions.h" | 50 #include "wtf/Assertions.h" |
52 | 51 |
53 namespace blink { | 52 namespace blink { |
54 | 53 |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 // We want to count vertical percentage paddings/margins on flex items b
ecause our current | 457 // We want to count vertical percentage paddings/margins on flex items b
ecause our current |
459 // behavior is different from the spec and we want to gather compatibili
ty data. | 458 // behavior is different from the spec and we want to gather compatibili
ty data. |
460 if (style.paddingBefore().hasPercent() || style.paddingAfter().hasPercen
t()) | 459 if (style.paddingBefore().hasPercent() || style.paddingAfter().hasPercen
t()) |
461 UseCounter::count(document, UseCounter::FlexboxPercentagePaddingVert
ical); | 460 UseCounter::count(document, UseCounter::FlexboxPercentagePaddingVert
ical); |
462 if (style.marginBefore().hasPercent() || style.marginAfter().hasPercent(
)) | 461 if (style.marginBefore().hasPercent() || style.marginAfter().hasPercent(
)) |
463 UseCounter::count(document, UseCounter::FlexboxPercentageMarginVerti
cal); | 462 UseCounter::count(document, UseCounter::FlexboxPercentageMarginVerti
cal); |
464 } | 463 } |
465 } | 464 } |
466 | 465 |
467 } // namespace blink | 466 } // namespace blink |
OLD | NEW |