| 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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 ts << " scrollWidth " << l.renderBox()->pixelSnappedScrollWidth(); | 543 ts << " scrollWidth " << l.renderBox()->pixelSnappedScrollWidth(); |
| 544 if (l.renderBox() && l.renderBox()->pixelSnappedClientHeight() != l.rend
erBox()->pixelSnappedScrollHeight()) | 544 if (l.renderBox() && l.renderBox()->pixelSnappedClientHeight() != l.rend
erBox()->pixelSnappedScrollHeight()) |
| 545 ts << " scrollHeight " << l.renderBox()->pixelSnappedScrollHeight(); | 545 ts << " scrollHeight " << l.renderBox()->pixelSnappedScrollHeight(); |
| 546 } | 546 } |
| 547 | 547 |
| 548 if (paintPhase == LayerPaintPhaseBackground) | 548 if (paintPhase == LayerPaintPhaseBackground) |
| 549 ts << " layerType: background only"; | 549 ts << " layerType: background only"; |
| 550 else if (paintPhase == LayerPaintPhaseForeground) | 550 else if (paintPhase == LayerPaintPhaseForeground) |
| 551 ts << " layerType: foreground only"; | 551 ts << " layerType: foreground only"; |
| 552 | 552 |
| 553 if (l.blendInfo().childLayerHasBlendMode()) | |
| 554 ts << " isolatesBlending"; | |
| 555 if (l.blendInfo().hasBlendMode()) | 553 if (l.blendInfo().hasBlendMode()) |
| 556 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ble
ndInfo().blendMode()); | 554 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ble
ndInfo().blendMode()); |
| 557 | 555 |
| 558 if (behavior & RenderAsTextShowCompositedLayers) { | 556 if (behavior & RenderAsTextShowCompositedLayers) { |
| 559 if (l.hasCompositedLayerMapping()) { | 557 if (l.hasCompositedLayerMapping()) { |
| 560 ts << " (composited, bounds=" | 558 ts << " (composited, bounds=" |
| 561 << l.compositedLayerMapping()->compositedBounds() | 559 << l.compositedLayerMapping()->compositedBounds() |
| 562 << ", drawsContent=" | 560 << ", drawsContent=" |
| 563 << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent
() | 561 << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent
() |
| 564 << ", paints into ancestor=" | 562 << ", paints into ancestor=" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 element->document().updateLayout(); | 772 element->document().updateLayout(); |
| 775 | 773 |
| 776 RenderObject* renderer = element->renderer(); | 774 RenderObject* renderer = element->renderer(); |
| 777 if (!renderer || !renderer->isListItem()) | 775 if (!renderer || !renderer->isListItem()) |
| 778 return String(); | 776 return String(); |
| 779 | 777 |
| 780 return toRenderListItem(renderer)->markerText(); | 778 return toRenderListItem(renderer)->markerText(); |
| 781 } | 779 } |
| 782 | 780 |
| 783 } // namespace blink | 781 } // namespace blink |
| OLD | NEW |