| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 545 |
| 546 if (paintPhase == LayerPaintPhaseBackground) | 546 if (paintPhase == LayerPaintPhaseBackground) |
| 547 ts << " layerType: background only"; | 547 ts << " layerType: background only"; |
| 548 else if (paintPhase == LayerPaintPhaseForeground) | 548 else if (paintPhase == LayerPaintPhaseForeground) |
| 549 ts << " layerType: foreground only"; | 549 ts << " layerType: foreground only"; |
| 550 | 550 |
| 551 if (l.renderer()->hasBlendMode()) | 551 if (l.renderer()->hasBlendMode()) |
| 552 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ren
derer()->style()->blendMode()); | 552 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ren
derer()->style()->blendMode()); |
| 553 | 553 |
| 554 if (behavior & RenderAsTextShowCompositedLayers) { | 554 if (behavior & RenderAsTextShowCompositedLayers) { |
| 555 if (l.hasCompositedLayerMapping()) { | 555 if (CompositedLayerMapping* compositedLayerMapping = l.compositedLayerMa
pping()) { |
| 556 ts << " (composited, bounds=" | 556 ts << " (composited, bounds=" |
| 557 << l.compositedLayerMapping()->compositedBounds() | 557 << compositedLayerMapping->compositedBounds() |
| 558 << ", drawsContent=" | 558 << ", drawsContent=" |
| 559 << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent
() | 559 << compositedLayerMapping->mainGraphicsLayer()->drawsContent() |
| 560 << (l.shouldIsolateCompositedDescendants() ? ", isolatesComposit
edBlending" : "") | 560 << (l.shouldIsolateCompositedDescendants() ? ", isolatesComposit
edBlending" : "") |
| 561 << ")"; | 561 << ")"; |
| 562 } | 562 } |
| 563 } | 563 } |
| 564 | 564 |
| 565 ts << "\n"; | 565 ts << "\n"; |
| 566 | 566 |
| 567 if (paintPhase != LayerPaintPhaseBackground) | 567 if (paintPhase != LayerPaintPhaseBackground) |
| 568 write(ts, *l.renderer(), indent + 1, behavior); | 568 write(ts, *l.renderer(), indent + 1, behavior); |
| 569 } | 569 } |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 element->document().updateLayout(); | 768 element->document().updateLayout(); |
| 769 | 769 |
| 770 RenderObject* renderer = element->renderer(); | 770 RenderObject* renderer = element->renderer(); |
| 771 if (!renderer || !renderer->isListItem()) | 771 if (!renderer || !renderer->isListItem()) |
| 772 return String(); | 772 return String(); |
| 773 | 773 |
| 774 return toRenderListItem(renderer)->markerText(); | 774 return toRenderListItem(renderer)->markerText(); |
| 775 } | 775 } |
| 776 | 776 |
| 777 } // namespace blink | 777 } // namespace blink |
| OLD | NEW |