Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: sky/engine/core/editing/EditingStyle.cpp

Issue 1078943002: remove 'widows' property because paged media support is gone so this does nothing now (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009 Apple Computer, Inc. 2 * Copyright (C) 2007, 2008, 2009 Apple Computer, Inc.
3 * Copyright (C) 2010, 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010, 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 CSSPropertyFontWeight, 75 CSSPropertyFontWeight,
76 CSSPropertyLetterSpacing, 76 CSSPropertyLetterSpacing,
77 CSSPropertyLineHeight, 77 CSSPropertyLineHeight,
78 CSSPropertyTextAlign, 78 CSSPropertyTextAlign,
79 // FIXME: CSSPropertyTextDecoration needs to be removed when CSS3 Text 79 // FIXME: CSSPropertyTextDecoration needs to be removed when CSS3 Text
80 // Decoration feature is no longer experimental. 80 // Decoration feature is no longer experimental.
81 CSSPropertyTextDecoration, 81 CSSPropertyTextDecoration,
82 CSSPropertyTextDecorationLine, 82 CSSPropertyTextDecorationLine,
83 CSSPropertyTextIndent, 83 CSSPropertyTextIndent,
84 CSSPropertyWhiteSpace, 84 CSSPropertyWhiteSpace,
85 CSSPropertyWidows,
86 CSSPropertyWordSpacing, 85 CSSPropertyWordSpacing,
87 CSSPropertyWebkitTextDecorationsInEffect, 86 CSSPropertyWebkitTextDecorationsInEffect,
88 CSSPropertyWebkitTextFillColor, 87 CSSPropertyWebkitTextFillColor,
89 CSSPropertyWebkitTextStrokeColor, 88 CSSPropertyWebkitTextStrokeColor,
90 CSSPropertyWebkitTextStrokeWidth, 89 CSSPropertyWebkitTextStrokeWidth,
91 }; 90 };
92 91
93 enum EditingPropertiesType { OnlyInheritableEditingProperties, AllEditingPropert ies }; 92 enum EditingPropertiesType { OnlyInheritableEditingProperties, AllEditingPropert ies };
94 93
95 static const Vector<CSSPropertyID>& allEditingProperties() 94 static const Vector<CSSPropertyID>& allEditingProperties()
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 { 576 {
578 for (Node* ancestor = node; ancestor; ancestor = ancestor->parentNode()) { 577 for (Node* ancestor = node; ancestor; ancestor = ancestor->parentNode()) {
579 RefPtr<CSSComputedStyleDeclaration> ancestorStyle = CSSComputedStyleDecl aration::create(ancestor); 578 RefPtr<CSSComputedStyleDeclaration> ancestorStyle = CSSComputedStyleDecl aration::create(ancestor);
580 if (!hasTransparentBackgroundColor(ancestorStyle.get())) 579 if (!hasTransparentBackgroundColor(ancestorStyle.get()))
581 return ancestorStyle->getPropertyCSSValue(CSSPropertyBackgroundColor ); 580 return ancestorStyle->getPropertyCSSValue(CSSPropertyBackgroundColor );
582 } 581 }
583 return nullptr; 582 return nullptr;
584 } 583 }
585 584
586 } 585 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/AnimatedStyleBuilder.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698