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

Side by Side Diff: Source/core/css/CSSPageRule.cpp

Issue 1318933002: Revert of Deprecate 'intrinsic' and 'min-intrinsic' CSS keywords (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSKeyframesRule.cpp ('k') | Source/core/css/CSSStyleRule.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 if (!pageSpecification.isEmpty() && pageSpecification != starAtom) { 63 if (!pageSpecification.isEmpty() && pageSpecification != starAtom) {
64 text.append(' '); 64 text.append(' ');
65 text.append(pageSpecification); 65 text.append(pageSpecification);
66 } 66 }
67 } 67 }
68 return text.toString(); 68 return text.toString();
69 } 69 }
70 70
71 void CSSPageRule::setSelectorText(const String& selectorText) 71 void CSSPageRule::setSelectorText(const String& selectorText)
72 { 72 {
73 CSSParserContext context(parserContext(), 0, 0); 73 CSSParserContext context(parserContext(), 0);
74 CSSSelectorList selectorList; 74 CSSSelectorList selectorList;
75 CSSParser::parseSelector(context, selectorText, selectorList); 75 CSSParser::parseSelector(context, selectorText, selectorList);
76 if (!selectorList.isValid()) 76 if (!selectorList.isValid())
77 return; 77 return;
78 78
79 CSSStyleSheet::RuleMutationScope mutationScope(this); 79 CSSStyleSheet::RuleMutationScope mutationScope(this);
80 80
81 m_pageRule->wrapperAdoptSelectorList(selectorList); 81 m_pageRule->wrapperAdoptSelectorList(selectorList);
82 } 82 }
83 83
(...skipping 19 matching lines...) Expand all
103 } 103 }
104 104
105 DEFINE_TRACE(CSSPageRule) 105 DEFINE_TRACE(CSSPageRule)
106 { 106 {
107 visitor->trace(m_pageRule); 107 visitor->trace(m_pageRule);
108 visitor->trace(m_propertiesCSSOMWrapper); 108 visitor->trace(m_propertiesCSSOMWrapper);
109 CSSRule::trace(visitor); 109 CSSRule::trace(visitor);
110 } 110 }
111 111
112 } // namespace blink 112 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/CSSKeyframesRule.cpp ('k') | Source/core/css/CSSStyleRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698