| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 // cases where objects that should be blended as a single unit end up with a
non-transparent | 267 // cases where objects that should be blended as a single unit end up with a
non-transparent |
| 268 // object wedged in between them. Auto z-index also becomes 0 for objects th
at specify transforms/masks/reflections. | 268 // object wedged in between them. Auto z-index also becomes 0 for objects th
at specify transforms/masks/reflections. |
| 269 if (style->hasAutoZIndex() && ((e && e->document().documentElement() == e) | 269 if (style->hasAutoZIndex() && ((e && e->document().documentElement() == e) |
| 270 || style->opacity() < 1.0f | 270 || style->opacity() < 1.0f |
| 271 || style->hasTransformRelatedProperty() | 271 || style->hasTransformRelatedProperty() |
| 272 || style->hasMask() | 272 || style->hasMask() |
| 273 || style->clipPath() | 273 || style->clipPath() |
| 274 || style->boxReflect() | 274 || style->boxReflect() |
| 275 || style->hasFilter() | 275 || style->hasFilter() |
| 276 || style->hasBlendMode() | 276 || style->hasBlendMode() |
| 277 || style->hasIsolation() |
| 277 || style->position() == StickyPosition | 278 || style->position() == StickyPosition |
| 278 || (style->position() == FixedPosition && e && e->document().settings()
&& e->document().settings()->fixedPositionCreatesStackingContext()) | 279 || (style->position() == FixedPosition && e && e->document().settings()
&& e->document().settings()->fixedPositionCreatesStackingContext()) |
| 279 || isInTopLayer(e, style) | 280 || isInTopLayer(e, style) |
| 280 || style->hasFlowFrom() | 281 || style->hasFlowFrom() |
| 281 )) | 282 )) |
| 282 style->setZIndex(0); | 283 style->setZIndex(0); |
| 283 | 284 |
| 284 // Textarea considers overflow visible as auto. | 285 // Textarea considers overflow visible as auto. |
| 285 if (e && isHTMLTextAreaElement(e)) { | 286 if (e && isHTMLTextAreaElement(e)) { |
| 286 style->setOverflowX(style->overflowX() == OVISIBLE ? OAUTO : style->over
flowX()); | 287 style->setOverflowX(style->overflowX() == OVISIBLE ? OAUTO : style->over
flowX()); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 if (prop.isNamedGridArea() && !map.contains(prop.namedGridLine())) \ | 416 if (prop.isNamedGridArea() && !map.contains(prop.namedGridLine())) \ |
| 416 style->setGrid##Prop(GridPosition()); | 417 style->setGrid##Prop(GridPosition()); |
| 417 | 418 |
| 418 CLEAR_UNKNOWN_NAMED_AREA(columnStartPosition, ColumnStart); | 419 CLEAR_UNKNOWN_NAMED_AREA(columnStartPosition, ColumnStart); |
| 419 CLEAR_UNKNOWN_NAMED_AREA(columnEndPosition, ColumnEnd); | 420 CLEAR_UNKNOWN_NAMED_AREA(columnEndPosition, ColumnEnd); |
| 420 CLEAR_UNKNOWN_NAMED_AREA(rowStartPosition, RowStart); | 421 CLEAR_UNKNOWN_NAMED_AREA(rowStartPosition, RowStart); |
| 421 CLEAR_UNKNOWN_NAMED_AREA(rowEndPosition, RowEnd); | 422 CLEAR_UNKNOWN_NAMED_AREA(rowEndPosition, RowEnd); |
| 422 } | 423 } |
| 423 | 424 |
| 424 } | 425 } |
| OLD | NEW |