• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/rendering/style/

Lines Matching +defs:shadow +defs:color

174         // Even if surrounding content is user-editable, shadow DOM should act as a single unit, and not necessarily be editable
740 if (inherited->color != other->inherited->color
1060 Color RenderStyle::color() const { return inherited->color; }
1062 void RenderStyle::setColor(const Color& v) { SET_VAR(inherited, color, v); }
1421 void RenderStyle::getShadowExtent(const ShadowData* shadow, LayoutUnit &top, LayoutUnit &right, LayoutUnit &bottom, LayoutUnit &left) const
1428 for ( ; shadow; shadow = shadow->next()) {
1429 if (shadow->style() == Inset)
1432 int extentAndSpread = shadow->paintingExtent() + shadow->spread();
1433 top = std::min<LayoutUnit>(top, shadow->y() - extentAndSpread);
1434 right = std::max<LayoutUnit>(right, shadow->x() + extentAndSpread);
1435 bottom = std::max<LayoutUnit>(bottom, shadow->y() + extentAndSpread);
1436 left = std::min<LayoutUnit>(left, shadow->x() - extentAndSpread);
1440 LayoutBoxExtent RenderStyle::getShadowInsetExtent(const ShadowData* shadow) const
1447 for ( ; shadow; shadow = shadow->next()) {
1448 if (shadow->style() == Normal)
1451 int extentAndSpread = shadow->paintingExtent() + shadow->spread();
1452 top = std::max<LayoutUnit>(top, shadow->y() + extentAndSpread);
1453 right = std::min<LayoutUnit>(right, shadow->x() - extentAndSpread);
1454 bottom = std::min<LayoutUnit>(bottom, shadow->y() - extentAndSpread);
1455 left = std::max<LayoutUnit>(left, shadow->x() + extentAndSpread);
1461 void RenderStyle::getShadowHorizontalExtent(const ShadowData* shadow, LayoutUnit &left, LayoutUnit &right) const
1466 for ( ; shadow; shadow = shadow->next()) {
1467 if (shadow->style() == Inset)
1470 int extentAndSpread = shadow->paintingExtent() + shadow->spread();
1471 left = std::min<LayoutUnit>(left, shadow->x() - extentAndSpread);
1472 right = std::max<LayoutUnit>(right, shadow->x() + extentAndSpread);
1476 void RenderStyle::getShadowVerticalExtent(const ShadowData* shadow, LayoutUnit &top, LayoutUnit &bottom) const
1481 for ( ; shadow; shadow = shadow->next()) {
1482 if (shadow->style() == Inset)
1485 int extentAndSpread = shadow->paintingExtent() + shadow->spread();
1486 top = std::min<LayoutUnit>(top, shadow->y() - extentAndSpread);
1487 bottom = std::max<LayoutUnit>(bottom, shadow->y() + extentAndSpread);
1497 return visitedLink ? visitedLinkBackgroundColor() : backgroundColor(); // Background color doesn't fall back.
1515 result = visitedLink ? visitedLinkColor() : color();
1524 // Text decoration color fallback is handled in RenderObject::decorationColor.
1544 result = visitedLink ? visitedLinkColor() : color();
1557 // Text decoration color validity is preserved (checked in RenderObject::decorationColor).
1561 // FIXME: Technically someone could explicitly specify the color transparent, but for now we'll just
1562 // assume that if the background color is transparent that it wasn't set. Note that it's weird that
1564 // have to match, it makes more sense to return the unvisited background color if specified than it
1569 // Take the alpha from the unvisited color, but get the RGB values from the visited color.